Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparing Dynamo vs Rust n_body - Round 1 #52

Closed
bvssvni opened this issue Feb 16, 2016 · 1 comment
Closed

Comparing Dynamo vs Rust n_body - Round 1 #52

bvssvni opened this issue Feb 16, 2016 · 1 comment

Comments

@bvssvni
Copy link
Member

bvssvni commented Feb 16, 2016

$ rustc -O source/bench_rust/n_body.rs && time ./n_body

real    0m0.005s
user    0m0.001s
sys 0m0.002s

Edit source/test.rs:

fn main() {
    m := load("source/bench/n_body.rs")
    call(m, "main", [])
}
$ cargo build --release --example test && time ./target/release/examples/test

real    0m0.252s
user    0m0.247s
sys 0m0.005s

Currently, Rust is 50x faster than Dynamo.

@bvssvni
Copy link
Member Author

bvssvni commented Feb 16, 2016

The Rust program might be below the noise level for "time".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant