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

Benchmark? #1

Closed
jaredly opened this issue Mar 28, 2014 · 5 comments
Closed

Benchmark? #1

jaredly opened this issue Mar 28, 2014 · 5 comments

Comments

@jaredly
Copy link

jaredly commented Mar 28, 2014

I see some code there for benchmarking against go -- what are the results?

@BurntSushi
Copy link
Owner

As written, the Go version is slightly faster. But the benchmark includes file I/O. Been meaning to factor that out.

I'll do that now and push something.

@BurntSushi
Copy link
Owner

I lied. Turns out Rust is slightly faster. But it's basically a tie. https://github.com/BurntSushi/rust-csv/blob/master/bench/results

Neat.

@jaredly
Copy link
Author

jaredly commented Mar 28, 2014

Cool! Is that rust compiled with --opt-level=3?

@BurntSushi
Copy link
Owner

Hmm, no. I used -O and the man page says that's equivalent to --opt-level 2. I'll try re-running them with --opt-level 3.

@BurntSushi
Copy link
Owner

All set. Modest improvement. :-)

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

No branches or pull requests

2 participants