/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.030.04?779  0% 0% 0% 100%
160.780.7811,608779  0% 0% 5% 99%
2017.9117.95180,456779  0% 0% 1% 100%

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: x86_64-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:16:46 GMT

MAKE:
/usr/local/src/rust-0.10/bin/rustc --opt-level=3 binarytrees.rs -o binarytrees.rust_run
rm binarytrees.rs
8.25s 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