Skip to content

node-mapnik faster on linux #78

@springmeyer

Description

@springmeyer

@millzpaugh is seeing slower results in staging benchmarking, so I'm concerned that some of the vtcomposite code may not be faster than node-mapnik.

So I just ran the latest benchmarks on linux (a stageyprod machine) using vtcomposite @ 695dd3d (with the fixes to the bench in #77).

I'm able to consistently replicate slower results with vtcomposite than node-mapnik for 3 bench rules using this command:

node bench/bench.js --iterations 200 --concurrency 6 --package node-mapnik --compress --mem

node-mapnik

5: tiles completely made of points, overzooming, no properties ... 6667 runs/s (30ms)
6: tiles completely made of points, same zoom, no properties ... 4878 runs/s (41ms)
17: buffer_size 4096 - tiles completely made of polygons, overzooming (2x) and lots of properties ... 1980 runs/s (101ms)
Benchmark peak mem (max_rss, max_heap, max_heap_total):  993.38MB 9.48MB 18.03MB
Benchmark iterations: 200 concurrency: 6

vtcomposite

5: tiles completely made of points, overzooming, no properties ... 4878 runs/s (41ms)
6: tiles completely made of points, same zoom, no properties ... 2439 runs/s (82ms)
17: buffer_size 4096 - tiles completely made of polygons, overzooming (2x) and lots of properties ... 1460 runs/s (137ms)
Benchmark peak mem (max_rss, max_heap, max_heap_total):  563.96MB 8.2MB 13.03MB
Benchmark iterations: 200 concurrency: 6

/cc @artemp @alliecrevier @millzpaugh @joto @ericfischer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions