Re:Parallel Roguelike Lev-Gen Benchmarks: Rust, Go, D, Scala...
by logicchains on Friday August 23, 2013 @11:35AM
(#6264228)
Although it wouldn't really be relevant for the level generation we're doing unless the memory usage was outrageous, I'm open to including memory usage in the table for comprehensiveness's sake. What would you say is the best way to measure ram usage on Linux; is there something as simple as 'time ./ThisExecutable' is for measuring time?
[ Parent
| on HN ]
Re:Parallel Roguelike Lev-Gen Benchmarks: Rust, Go, D, Scala...
by mastensg on Friday August 23, 2013 @11:52AM
(#6264334)
Try the time command (not the shell builtin):
$ command time -f 'max resident:\t%M KiB' ls /
bin etc initrd.img.old lib32 media proc sbin tmp vmlinuz
boot home iso lib64 mnt root srv usr vmlinuz.old
dev initrd.img lib lost+found opt run sys var
max resident: 968 KiB
Re:Parallel Roguelike Lev-Gen Benchmarks: Rust, Go, D, Scala...
by logicchains on Friday August 23, 2013 @01:24PM
(#6264953)
Thanks, I've included max resident memory statistics on the benchmark.
Re:Parallel Roguelike Lev-Gen Benchmarks: Rust, Go, D, Scala...
by gtani on Friday August 23, 2013 @01:04PM
(#6264816)
this is a really good writeup (summing up Private_Dirty, Shared_Dirty for some pid's:
http://tech.brightbox.com/posts/2012-11-28-measuring-shared-...