<< Back to previous view

[TBENCH-12] Alioth k-nucleotide Created: 21/Jan/12  Updated: 23/Feb/12

Status: Open
Project: test.benchmark
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: David Nolen Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None

Comment by Mike Anderson [ 21/Feb/12 5:00 AM ]

Have added my latest version of the k-nucleotide benchmark in the following repository:


Comment by David Nolen [ 21/Feb/12 8:00 AM ]

Please create a patch of your changes and add it to the ticket, thanks!

Comment by Paul Bauer [ 23/Feb/12 3:43 PM ]

If you add a patch, I can take a look at this tonight.

Comment by Paul Bauer [ 23/Feb/12 10:45 PM ]

I did pull down your repo and ran some tests.
This version of k-nucleotide does run faster than the currently submitted version in alioth.
However, we've got a ways to go to catch the faster Java implementations.

I've added a few comments in your repo.
Of note, the (set! unchecked-math true) directive at the top of files allows us to use inc, dec, etc directly without explicitly specifying unchecked-inc, etc.

http://shootout.alioth.debian.org/u64q/program.php?test=knucleotide&lang=java&id=9 is the fastest java version, but is a bit gnarly.
http://shootout.alioth.debian.org/u64q/program.php?test=knucleotide&lang=java&id=2 is a little slower, but in the same order of magnitude for performance, and significantly more straightforward.

You might check those out for some inspiration to boost the performance of clojure's knucleotide.
Good luck and thanks for the help!

Generated at Tue Jan 23 01:31:14 CST 2018 using JIRA 4.4#649-r158309.