mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 01:15:12 +03:00
Prebake results for São Miguel Paulista, so we can use all the differential dataviz #861
This commit is contained in:
parent
cf27e48202
commit
6590320571
@ -71,6 +71,16 @@ pub fn prebake_all() {
|
||||
summaries.push(prebake(&tehran_map, scenario, &mut timer));
|
||||
}
|
||||
|
||||
{
|
||||
let map = map_model::Map::load_synchronously(
|
||||
MapName::new("br", "sao_paulo", "sao_miguel_paulista").path(),
|
||||
&mut timer,
|
||||
);
|
||||
let scenario: Scenario =
|
||||
abstio::read_binary(abstio::path_scenario(map.get_name(), "Full"), &mut timer);
|
||||
summaries.push(prebake(&map, scenario, &mut timer));
|
||||
}
|
||||
|
||||
// Assume this is being run from the root directory (via import.sh). This other tests directory
|
||||
// is the most appropriate place to keep this.
|
||||
abstio::write_json(
|
||||
|
@ -1,7 +1,6 @@
|
||||
use maplit::btreeset;
|
||||
|
||||
use map_model::RoadID;
|
||||
use widgetry::tools::PopupMsg;
|
||||
use widgetry::{
|
||||
EventCtx, GfxCtx, HorizontalAlignment, Line, Outcome, Panel, State, VerticalAlignment, Widget,
|
||||
};
|
||||
|
@ -3010,6 +3010,11 @@
|
||||
"uncompressed_size_bytes": 958698,
|
||||
"compressed_size_bytes": 326141
|
||||
},
|
||||
"data/system/br/sao_paulo/prebaked_results/sao_miguel_paulista/Full.bin": {
|
||||
"checksum": "fe0a1c6e0cf086b359b75728f74c65da",
|
||||
"uncompressed_size_bytes": 27622094,
|
||||
"compressed_size_bytes": 9361365
|
||||
},
|
||||
"data/system/br/sao_paulo/scenarios/sao_miguel_paulista/Full.bin": {
|
||||
"checksum": "541fdf1f2ba80b4b6cb88f36b186a707",
|
||||
"uncompressed_size_bytes": 6083724,
|
||||
|
@ -19,5 +19,12 @@
|
||||
"finished_trips": 29350,
|
||||
"cancelled_trips": 16734,
|
||||
"total_trip_duration_seconds": 41822176.78990006
|
||||
},
|
||||
{
|
||||
"map": "sao_miguel_paulista (in sao_paulo (br))",
|
||||
"scenario": "Full",
|
||||
"finished_trips": 122264,
|
||||
"cancelled_trips": 33727,
|
||||
"total_trip_duration_seconds": 102586742.44089983
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user