Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created August 8, 2009 23:59
Show Gist options
  • Select an option

  • Save methodmissing/164554 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/164554 to your computer and use it in GitHub Desktop.
methodmissing:extlib lourens$ jruby -v
jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_13) [x86_64-java]
methodmissing:extlib lourens$ sudo dtrace -s memory.d -c 'jruby -S rake'
(in /Users/lourens/projects/extlib)
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*............................................................................................................................................................................................................................................................................................................
Pending:
String.translations returns @translations if set (is it @translations on metaclass or @@translations? leaving it out for now)
spec/string_spec.rb:217
Finished in 7.434 seconds
1839 examples, 0 failures, 1 pending
^C
ELAPSED TIME DISTRIBUTION, dtrace
realloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 29
16384 | 0
free
value ------------- Distribution ------------- count
2048 | 0
4096 |@@@@@@@@ 793
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3110
16384 | 8
32768 | 0
malloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4336
16384 | 13
32768 | 3
65536 | 0
FUNC COUNT AVG(us) SUM(us)
realloc 29 13 402
free 3911 8 33093
malloc 4352 10 43825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment