maps: mark the materialise phase, the last unaccounted quarter-minute
- Commit
f7e8cbf50c2553a056818e1d3aa5003d17b2dd42- Author
- vayun-mathur <[email protected]>
- When
- 2026-08-28 16:13 UTC (3 months ago)
- Parents
4d2b604
Diff
scripts/maps/mamaps_build/src/extract.rs
diff --git a/scripts/maps/mamaps_build/src/extract.rs b/scripts/maps/mamaps_build/src/extract.rsindex cdf7f72f20..f4ef4f0578 100644--- a/scripts/maps/mamaps_build/src/extract.rs+++ b/scripts/maps/mamaps_build/src/extract.rs@@ -335,7 +335,12 @@ pub fn extract( None => return err("the extract produced no features to place land against".to_string()), } }- Ok((sink.finish(spill_path)?, stats))+ let store = sink.finish(spill_path)?;+ // The one phase that had no mark after it, and it turned out to be the largest single item in the+ // build outside tiling: ~25 s of a 136 s California run. It is 170 M coordinate lookups through+ // the mapped node table plus 3.3 GB of spill written, all on one thread.+ mark("materialised and spilled");+ Ok((store, stats)) } /// A node's location in lon/lat, which is the order [`rings::assemble`] and GeoJSON both want.