Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Provide performance stats to applications using Mapnik #780

Closed
artemp opened this Issue Oct 11, 2011 · 4 comments

Comments

Projects
None yet
2 participants
Owner

artemp commented Oct 11, 2011

Need a way of providing feedback to applications:

  • Layers: is the layer being reprojected? time spent?
  • Features: # fetched, # filtered, # rendered, time spent fetching, rendering
  • Total render time, total time
Owner

artemp commented Oct 11, 2011

[manelclos] From Dane:
I think the best route would be to parallel version of feature_style_processor.hpp and experiment with what types of map statistics can be collected there. Then it would just be a question of how to trigger its usage.

Owner

artemp commented Oct 11, 2011

[springmeyer] initial progress on this: https://gist.github.com/1169303

Owner

artemp commented Oct 11, 2011

[springmeyer] k, patch fixed up an applied in r3252. now to think about testing this - making sure its outputting the right and meaningful things, then thinking about making the approach cleaner to avoid #ifdef hell and make it a runtime option like:

{{{
render(map,im,stats=True)
}}}

@artemp artemp pushed a commit that referenced this issue Oct 11, 2011

Dane Springmeyer new timer.hpp that includes both cpu and wall clock output - patch fr…
…om rcoup - refs #780
5f548cb

@artemp artemp pushed a commit that referenced this issue Oct 11, 2011

Dane Springmeyer expose first pass at rendering statistics via build option 'RENDERING…
…_STATS' - refs #780
8e94bf9
Owner

springmeyer commented Jul 19, 2013

Closing: planning on removing the hacky code added in 8e94bf9 that enabled the RENDERING_STATS build option, and will track a better solution at #1956.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment