From 31d4da6f399acdd6f3f7217594d1f6ae2a7893c2 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Tue, 15 Jun 2010 12:45:51 -0400 Subject: [PATCH] Added an empty benchmark to measure Typed Scheme's startup time. --- collects/tests/racket/benchmarks/shootout/auto.rkt | 1 + collects/tests/racket/benchmarks/shootout/nothing.rkt | 2 ++ collects/tests/racket/benchmarks/shootout/run.rkt | 1 + .../racket/benchmarks/shootout/typed/nothing-non-optimizing.rkt | 2 ++ .../racket/benchmarks/shootout/typed/nothing-optimizing.rkt | 2 ++ collects/tests/racket/benchmarks/shootout/typed/nothing.rktl | 1 + 6 files changed, 9 insertions(+) create mode 100644 collects/tests/racket/benchmarks/shootout/nothing.rkt create mode 100644 collects/tests/racket/benchmarks/shootout/typed/nothing-non-optimizing.rkt create mode 100644 collects/tests/racket/benchmarks/shootout/typed/nothing-optimizing.rkt create mode 100644 collects/tests/racket/benchmarks/shootout/typed/nothing.rktl diff --git a/collects/tests/racket/benchmarks/shootout/auto.rkt b/collects/tests/racket/benchmarks/shootout/auto.rkt index 6fb2940d01..3466ba0749 100755 --- a/collects/tests/racket/benchmarks/shootout/auto.rkt +++ b/collects/tests/racket/benchmarks/shootout/auto.rkt @@ -129,6 +129,7 @@ exec racket -qu "$0" ${1+"$@"} moments nbody nestedloop + nothing nsieve nsievebits partialsums diff --git a/collects/tests/racket/benchmarks/shootout/nothing.rkt b/collects/tests/racket/benchmarks/shootout/nothing.rkt new file mode 100644 index 0000000000..e5a3b58314 --- /dev/null +++ b/collects/tests/racket/benchmarks/shootout/nothing.rkt @@ -0,0 +1,2 @@ +#lang racket/base +1 diff --git a/collects/tests/racket/benchmarks/shootout/run.rkt b/collects/tests/racket/benchmarks/shootout/run.rkt index 83e698cba9..6d659491d2 100644 --- a/collects/tests/racket/benchmarks/shootout/run.rkt +++ b/collects/tests/racket/benchmarks/shootout/run.rkt @@ -22,6 +22,7 @@ ("moments" #f ,(lambda () (mk-sumcol-input))) ("nbody" "20000000") ("nestedloop" "18") + ("nothing" "") ("nsieve" "9") ("nsievebits" "11") ("partialsums" "2500000") diff --git a/collects/tests/racket/benchmarks/shootout/typed/nothing-non-optimizing.rkt b/collects/tests/racket/benchmarks/shootout/typed/nothing-non-optimizing.rkt new file mode 100644 index 0000000000..0b3ff32449 --- /dev/null +++ b/collects/tests/racket/benchmarks/shootout/typed/nothing-non-optimizing.rkt @@ -0,0 +1,2 @@ + +(module nothing-non-optimizing "wrap-typed-non-optimizing.ss") diff --git a/collects/tests/racket/benchmarks/shootout/typed/nothing-optimizing.rkt b/collects/tests/racket/benchmarks/shootout/typed/nothing-optimizing.rkt new file mode 100644 index 0000000000..f8ec47a340 --- /dev/null +++ b/collects/tests/racket/benchmarks/shootout/typed/nothing-optimizing.rkt @@ -0,0 +1,2 @@ + +(module nothing-optimizing "wrap-typed-optimizing.ss") diff --git a/collects/tests/racket/benchmarks/shootout/typed/nothing.rktl b/collects/tests/racket/benchmarks/shootout/typed/nothing.rktl new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/collects/tests/racket/benchmarks/shootout/typed/nothing.rktl @@ -0,0 +1 @@ +1