Your SlideShare is downloading. ×

Dash Profiler 200910

1,344

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,344
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
23
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Still need to write code to flush
  • Still need to write code to flush
  • Still need to write code to flush
  • Still need to write code to flush
  • First sample populates all
    Later samples always update 0, 1, and 6
    and may update 3 or 4
  • Create named profiles

    Lots of features
  • DashProfiler::Import imports a pre-curried profiler code ref
    Profilers return bless object containing timestamp
    Object destruction triggers accumulation of sample
  • Time to create sample object, destroy it, accumulate the counts
    In hot code can be 0.000015s
    (Timings made on a 2GHz MacBook Pro Intel Core Duo)
    (Could be made much faster by porting sampler class to C)
  • Time to create sample object, destroy it, accumulate the counts
    In hot code can be 0.000015s
    (Timings made on a 2GHz MacBook Pro Intel Core Duo)
    (Could be made much faster by porting sampler class to C)
  • ×