[Tile-serving] [openstreetmap/osm2pgsql] Using LuaJIT to speed up lua code (#801)
Paul Norman
notifications at github.com
Mon Feb 11 07:13:17 UTC 2019
With a standard OpenStreetMap Carto import
```
Libosmium 2.15.0
Lua 5.2.4
Processing: Node(5006981k 1866.2k/s) Way(559475k 38.71k/s) Relation(6549380 1141.60/s) parse time: 22872s
Node stats: total(5006981640), max(6240800798) in 2683s
Way stats: total(559475293), max(666563604) in 14452s
Relation stats: total(6549807), max(9266826) in 5737s
```
```
Libosmium 2.15.0
Lua 5.1.4 (LuaJIT 2.0.4)
Processing: Node(5006981k 5401.3k/s) Way(559475k 77.52k/s) Relation(6548690 1182.29/s) parse time: 13683s
Node stats: total(5006981640), max(6240800798) in 927s
Way stats: total(559475293), max(666563604) in 7217s
Relation stats: total(6549807), max(9266826) in 5539s
```
The other parts of osm2pgsql take approximately 22000 seconds, meaning luajit shaves about a quarter of the import time.
--
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/issues/801#issuecomment-462235378
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190210/0049821b/attachment.html>
More information about the Tile-serving
mailing list