/mobile Handheld Friendly website

 performance measurements

Each table row shows performance measurements for this Rust program with a particular command-line input value N.

 N  CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
120.040.02?779  67% 100% 50% 50%
160.700.22216779  90% 67% 86% 86%
2015.654.3790,028779  92% 84% 90% 94%

Read the ↓ make, command line, and program output logs to see how this program was run.

Read binary-trees benchmark to see what this program should do.

 notes

rustc 0.10 (46867cc 2014-04-02 16:59:39 -0700)
host: i686-unknown-linux-gnu

 binary-trees Rust program source code

// The Computer Language Benchmarks Game
// http://benchmarksgame.alioth.debian.org/
//
// contributed by The Rust Project Developers.

// See rust/src/test/bench

 make, command-line, and program output logs

Thu, 03 Apr 2014 23:57:35 GMT

MAKE:
/usr/local/src/rust-0.10/bin/rustc --opt-level=3 binarytrees.rs -o binarytrees.rust_run
rm binarytrees.rs
8.19s to complete and log all make actions

COMMAND LINE:
./binarytrees.rust_run 20

PROGRAM OUTPUT:
stretch tree of depth 21	 check: -1
2097152	 trees of depth 4	 check: -2097152
524288	 trees of depth 6	 check: -524288
131072	 trees of depth 8	 check: -131072
32768	 trees of depth 10	 check: -32768
8192	 trees of depth 12	 check: -8192
2048	 trees of depth 14	 check: -2048
512	 trees of depth 16	 check: -512
128	 trees of depth 18	 check: -128
32	 trees of depth 20	 check: -32
long lived tree of depth 20	 check: -1

Revised BSD license

  Home   Conclusions   License   Play