/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
60,000Bad Output  1387   

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

Read chameneos-redux benchmark to see what this program should do.


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

 chameneos-redux 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 21:17:12 GMT

/usr/local/src/rust-0.10/bin/rustc --opt-level=3 chameneosredux.rs -o chameneosredux.rust_run
chameneosredux.rs:20:1: 20:33 warning: type `color` should have a camel case identifier, #[warn(non_camel_case_types)] on by default
chameneosredux.rs:20 enum color { Red, Yellow, Blue }
chameneosredux.rs:160:13: 160:29 warning: variable does not need to be mutable, #[warn(unused_mut)] on by default
chameneosredux.rs:160         let mut fst_creature: CreatureInfo = from_creatures.recv();
chameneosredux.rs:161:13: 161:29 warning: variable does not need to be mutable, #[warn(unused_mut)] on by default
chameneosredux.rs:161         let mut snd_creature: CreatureInfo = from_creatures.recv();
rm chameneosredux.rs
7.73s to complete and log all make actions

./chameneosredux.rust_run 60000


first file is short

blue + blue -> blue
blue + red -> yellow
blue + yellow -> red
red + blue -> yellow
red + red -> red
red + yellow -> blue
yellow + blue -> red
yellow + red -> blue
yellow + yellow -> yellow

 blue red yellow
43310  zero
39051  zero
37639  zero
 one two zero zero zero zero 

 blue red yellow red yellow blue red yellow red blue
12921  zero
10907  zero
10901  zero
13156  zero
10961  zero
12626  zero
13041  zero
10900  zero
13113  zero
11474  zero
 one two zero zero zero zero 

Revised BSD license

  Home   Conclusions   License   Play