Skip to content

Instantly share code, notes, and snippets.

@ice799
Created November 17, 2009 05:55
Show Gist options
  • Save ice799/236686 to your computer and use it in GitHub Desktop.
Save ice799/236686 to your computer and use it in GitHub Desktop.
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% LD_PRELOAD=/home/joe/code/small_malloc/bsdmalloc/libbsdmalloc.so.1.0.1 /usr/bin/time ./a.out
22.42user 0.01system 0:22.48elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+138minor)pagefaults 0swaps
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% LD_PRELOAD=/custom/lib/libtcmalloc_minimal.so.0.0.0 /usr/bin/time ./a.out
36.89user 0.02system 0:37.00elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1530minor)pagefaults 0swaps
[joe@sloth:/home/joe/code/small_malloc/bsdmalloc]% /usr/bin/time ./a.out
78.02user 0.11system 1:18.23elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+135minor)pagefaults 0swaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment