[Tile-serving] [openstreetmap/osm2pgsql] Output durations in more human readable form (#1320)
Jochen Topf
notifications at github.com
Thu Nov 12 11:13:07 UTC 2020
osm2pgsql prints the duration of several bits of processing. This used
to be just something like "3723s". For large numbers this is
inconvenient. The new output keeps the seconds, but if the duration is
longer than 59 seconds, adds a better readable duration: "3723s (1h
2m 3s)".
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1320
-- Commit Summary --
* Output durations in more human readable form
-- File Changes --
M src/CMakeLists.txt (1)
M src/flex-table.cpp (4)
M src/middle-pgsql.cpp (3)
M src/osm2pgsql.cpp (7)
M src/osmdata.cpp (4)
M src/output-flex.cpp (4)
M src/table.cpp (4)
A src/util.cpp (19)
M src/util.hpp (3)
M tests/test-util.cpp (15)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1320.patch
https://github.com/openstreetmap/osm2pgsql/pull/1320.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201112/8d6a20ca/attachment.htm>
More information about the Tile-serving
mailing list