Devel::NYTProf::Apache

  • 2,398 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,398
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
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

Transcript

  • 1. Devel::NYTProf  + Apache  tokuhirom 2008-08-19(Tue)
  • 2.  Devel::NYTProf 
    • Profiler
      • Fast!
      • Cool!
      • Beautiful!
  • 3. 推測するな 計測せよ
  • 4. Devel::NYTProf::Aapche
    • Profiling mod_perl 
  • 5. How it works?
    • PerlChildInitHandler
      • sub { DB::enable_profile }
    • PerlChildExitHandler
      • sub { DB::_finish }
  • 6. configuration
    • PerlPassEnv NYTPROF
    • PerlModule Devel::NYTProf::Apache
  • 7. Run Apache
    • RUN!
      • Defaulting NYTPROF env var to 'file= /tmp/nytprof.9533.out '
    • Note:
      • MaxClients =1
      • 二 回目のデータを使う
  • 8. Processing Results 
    • /tmp/nytprof.9533.out. 9522
      • 9522 = child pid
    • nytprofhtml –f /tmp/nytprof.9533.out.9522
    • open nytprof/index.html 
  • 9. Result 
  • 10. That's all
    • any questions?