github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

melo / perl-examples

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Small examples, or proof of concepts — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated comparison between fast_stats.pl and stats_basic_optimized.pl 
melo (author)
Mon Oct 19 05:39:21 -0700 2009
commit  6faf812492610d6526580e21adf8b67a7651fd57
tree    4ed1137a9e608cdd6a523f7997cb7056b0efcb64
parent  d639f5b200618413eafee715058b0d4a5df83c24
perl-examples / nfsd_report_bench / bench_splitters_report.txt nfsd_report_bench/bench_splitters_report.txt
100644 22 lines (14 sloc) 1.032 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
  502 20263 19925 0 31 0 76956 2268 - S+ s004 0:00.03 /usr/bin/perl ./bench_splitters.pl
 
Comparing split with regexp to extract data from lines:
 
           Rate split regexp
split 86520/s -- -51%
regexp 176400/s 104% --
 
 
Measuring impact of the bookkeeping:
 
Benchmark: running e_and_6, e_and_other, t_and_7, t_and_other for at least 3 CPU seconds...
   e_and_6: 3 wallclock secs ( 3.06 usr + 0.03 sys = 3.09 CPU) @ 597859.55/s (n=1847386)
e_and_other: 3 wallclock secs ( 3.15 usr + 0.01 sys = 3.16 CPU) @ 1385758.23/s (n=4378996)
   t_and_7: 4 wallclock secs ( 3.02 usr + 0.01 sys = 3.03 CPU) @ 630600.66/s (n=1910720)
t_and_other: 4 wallclock secs ( 3.14 usr + 0.01 sys = 3.15 CPU) @ 1566893.33/s (n=4935714)
 
 
  UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
  502 20263 19925 0 31 0 76972 2312 - S+ s004 0:39.64 /usr/bin/perl ./bench_splitters.pl
 
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server