Skip to content
Newer
Older
100644 61 lines (49 sloc) 1.96 KB
f108162 @pmbauer Finishing touches on README
pmbauer authored
1 Benchmark (and regression) suite for Clojure Copyright (c) Rich Hickey.
2
3 License and CA same as Clojure. See epl-v10.html at the root of the project for details.
d2966c6 @pmbauer Added instructions to README
pmbauer authored
4 ## Getting Started
5 ### Requirements
6 * JDK with java/javac on path - http://www.oracle.com/technetwork/java/javase/downloads/index.html
7 * maven - http://maven.apache.org/guides/getting-started/index.html
25fbf04 @pmbauer More readme tweaks
pmbauer authored
8
f108162 @pmbauer Finishing touches on README
pmbauer authored
9 ### Add the following to your ~/.m2/settings.xml file
10 <settings>
11 <activeProfiles>
12 <activeProfile>clojure-dev</activeProfile>
13 </activeProfiles>
14
15 <profiles>
16 <profile>
17 <id>clojure-dev</id>
18 <activation> <activeByDefault>false</activeByDefault> </activation>
19 <repositories>
20 <repository>
21 <id>clojars</id>
22 <url>http://clojars.org/repo/</url>
23 </repository>
24 </repositories>
25 </profile>
26 ...
27 </profiles>
d2966c6 @pmbauer Added instructions to README
pmbauer authored
28 ...
f108162 @pmbauer Finishing touches on README
pmbauer authored
29 </settings>
25fbf04 @pmbauer More readme tweaks
pmbauer authored
30
d2966c6 @pmbauer Added instructions to README
pmbauer authored
31 ### Building
32 ```bash
33 git clone git@github.com:clojure/test.benchmark.git
34 cd test.benchmark
35 mvn test
36 ```
25fbf04 @pmbauer More readme tweaks
pmbauer authored
37
d2966c6 @pmbauer Added instructions to README
pmbauer authored
38 ### Misc
39 ```bash
40 # starts a swank server
41 mvn clojure:swank
42 ```
25fbf04 @pmbauer More readme tweaks
pmbauer authored
43
d2966c6 @pmbauer Added instructions to README
pmbauer authored
44 ### Running a benchmark (e.g. alioth.thread-ring)
45 ```bash
46 script/run alioth.thread-ring 1000
47 ```
25fbf04 @pmbauer More readme tweaks
pmbauer authored
48
ba0ec7c @pmbauer fix README formatting
pmbauer authored
49 ## Contributing
d2966c6 @pmbauer Added instructions to README
pmbauer authored
50 There are a number of completed benchmarks, but there is a lot more left to do.
51 Andy Fingerhut has a suit of benchmarks tailored for Clojure 1.2 and need updated or redone for Clojure 1.3 (https://github.com/jafingerhut/clojure-benchmarks).
1d6d020 @stuarthalloway initial commit
stuarthalloway authored
52
d2966c6 @pmbauer Added instructions to README
pmbauer authored
53 A good general approach is to examine the fastest alioth implementations, usually Java or C, and write a Clojure port.
74aafa4 @swannodette * README.markdown: tweak language
swannodette authored
54 Fast small programs in any language are also worthy of examination. These benchmarks should demonstrate how to write idiomatic high-performance Clojure.
1d6d020 @stuarthalloway initial commit
stuarthalloway authored
55
d2966c6 @pmbauer Added instructions to README
pmbauer authored
56 Long term goal is a performance regression test suit ...
57
58 Alioth Benchmark site is here: http://shootout.alioth.debian.org/
59
60 Work on the benchmarks is tracked here: http://dev.clojure.org/jira/browse/TBENCH
Something went wrong with that request. Please try again.