-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try JSON3 #32
Comments
Using a 1km map centred on Melbourne, JSON looks quickest and has fewer allocations. It is twice as quick as Graph download in two formats: julia> data = download_osm_network(:place_name,
place_name="melbourne, australia",
network_type=:drive,download_format=:json,
save_to_file_location="melbourne_drive_network.json");
julia> data = download_osm_network(:place_name,
place_name="melbourne, australia",
network_type=:drive,download_format=:osm,
save_to_file_location="melbourne_drive_network.osm"); JSON benchmark
JSON3 benchmark (
OSM/XML benchmark:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think
JSON3
could bring some speed improvements, and we could possibly make use ofStructTypes
to help read OSM graph straight into anOSMGraph
, maybeThe text was updated successfully, but these errors were encountered: