/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 23:18:41 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.72s 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
39320  zero
40271  zero
40409  zero
 one two zero zero zero zero 

 blue red yellow red yellow blue red yellow red blue
11610  zero
11728  zero
11844  zero
11913  zero
11996  zero
12114  zero
12206  zero
12201  zero
12197  zero
12191  zero
 one two zero zero zero zero 

Revised BSD license

  Home   Conclusions   License   Play