Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save methodmissing/164553 to your computer and use it in GitHub Desktop.
methodmissing:extlib lourens$ ruby -v
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]
methodmissing:extlib lourens$ sudo dtrace -s memory.d -c 'rake'
(in /Users/lourens/projects/extlib)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../Users/lourens/projects/extlib/spec/object_spec.rb:58: warning: toplevel constant Baz referenced by Foo::Bar::Baz
.............................................................*......................
Pending:
String.translations returns @translations if set (is it @translations on metaclass or @@translations? leaving it out for now)
/Users/lourens/projects/extlib/spec/string_spec.rb:217:in `block in <top (required)>'
Finished in 3.288905 seconds
1839 examples, 0 failures, 1 pending
^C
ELAPSED TIME DISTRIBUTION, dtrace
calloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@@@@@ 6
16384 |@@@@@@@@@@@@@@@@ 4
32768 | 0
realloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9193
16384 | 63
32768 | 4
65536 | 0
free
value ------------- Distribution ------------- count
2048 | 0
4096 |@@ 3980
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 70179
16384 | 539
32768 | 16
65536 | 0
131072 | 0
262144 | 0
524288 | 1
1048576 | 0
malloc
value ------------- Distribution ------------- count
4096 | 0
8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 98545
16384 | 88
32768 | 6
65536 | 2
131072 | 1
262144 | 0
FUNC COUNT AVG(us) SUM(us)
calloc 10 16 166
realloc 9260 13 124227
free 74715 8 665143
malloc 98642 10 995291
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment