Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (25 sloc) 0.998 kb
4b30dc72 » pmbauer
2012-02-28 First revision of baseline test structure, includes mandelbrot and th…
1 ; Copyright (c) Rich Hickey and contributors.
2 ; All rights reserved.
3 ; The use and distribution terms for this software are covered by the
4 ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
5 ; which can be found in the file epl-v10.html at the root of this distribution.
6 ; By using this software in any fashion, you are agreeing to be bound by
7 ; the terms of this license.
8 ; You must not remove this notice, or any other, from this software.
9
10 (ns baseline.spec
11 (:require alioth.mandelbrot
12 alioth.thread-ring))
13
14 (def baseline-specs
15 [{:id "mandelbrot"
16 :target alioth.mandelbrot/run
17 :baseline #(alioth.java.mandelbrot/run %)
18 :args [16000]
19 :tollerances {:runtime 0.25}}
20
21 {:id "thread-ring"
22 :target #(alioth.thread-ring/run alioth.thread-ring/AGENT_COUNT %)
23 :baseline #(alioth.java.threadring/run %)
24 :args [500000]
25 ;:args [50000000]
26 :tollerances {:runtime -9.0}}
27 ])
28
29 (def ^:const DEFAULT-SAMPLE-SIZE 3)
Something went wrong with that request. Please try again.