test.benchmark

Alioth k-nucleotide

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Activity

Hide
Mike Anderson added a comment -

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

https://github.com/mikera/test.benchmark/

Show
Mike Anderson added a comment - Have added my latest version of the k-nucleotide benchmark in the following repository: https://github.com/mikera/test.benchmark/
Hide
David Nolen added a comment -

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

Show
David Nolen added a comment - Please create a patch of your changes and add it to the ticket, thanks!
Hide
Paul Michael Bauer added a comment -

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

Show
Paul Michael Bauer added a comment - If you add a patch, I can take a look at this tonight.
Hide
Paul Michael Bauer added a comment - - edited

Mike,
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!

Show
Paul Michael Bauer added a comment - - edited Mike, 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!

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: