Commit Graph

82 Commits

Author SHA1 Message Date
Matthew Flatt
ea79cc4417 benchmark noise
Remove an unnecessary manual unrolling
2012-12-07 06:36:31 -06:00
Matthew Flatt
719ada1baa fix benchmark on empty input 2012-11-15 06:18:05 -07:00
Matthew Flatt
447db085dc benchmark improvement
Hash to a box, because finding and updating a box is faster than
updating a hash-table entry.
2012-11-14 19:17:42 -07:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Matthew Flatt
736e6efc2d recognize `struct' bindings as constant
The JIT takes advantage of known-constant bindings to avoid the
check that a variable is still bound to a structure predicate,
selector, or mutator; that makes the code short enough to really
inline. The inlined version takes about half the time of the
indirect version.

The compiler does not yet track bindings precisely enough to
recognize constants for sub-type declarations.
2012-10-27 06:53:21 -06:00
Matthias Felleisen
1ccedf5eb2 added checksum calculation 2012-10-14 14:32:54 -04:00
Vincent St-Amour
800a328fe6 Fix documentation for packages and mutable lists.
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Vincent St-Amour
52439d528b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Eric Dobson
9dac995e36 Fix things broken by bad rebasing. 2012-07-15 19:21:26 -04:00
Eli Barzilay
4c2940a6d9 Simplify away uses of "-t" in `drdr:command-line'.
In some cases use `module+' to make the code run nicely without a "-m".

(And some other minor tweaks.)
2012-06-19 12:52:22 -04:00
Vincent St-Amour
4a8f447dae Remove unstable/port.
`port->list' does all it can do.
2012-02-27 22:03:39 -05:00
Sam Tobin-Hochstadt
1d9ac41772 Use unsafe-vector* instead of unsafe-vector in a few benchmarks. 2011-10-06 18:17:45 -04:00
Sam Tobin-Hochstadt
88c7bf649c Parallel version of k-nucleotide.
2x faster on very big inputs, slower on small inputs.
2011-09-30 11:42:58 -04:00
Sam Tobin-Hochstadt
d279593c15 Parallel spectral-norm shootout benchmark. 2011-09-29 17:51:00 -04:00
Sam Tobin-Hochstadt
2d3a713f0d More shootout optimization. 2011-09-29 17:51:00 -04:00
Sam Tobin-Hochstadt
a55e86d93b Initial parallel versions of Shootout benchmarks. 2011-09-22 15:48:22 -04:00
Sam Tobin-Hochstadt
d2e1cc02dc Move typed-scheme to typed-racket collection.
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00
Vincent St-Amour
4947090191 Fix benchmark to reflect changes to flvector ops types. 2011-07-06 18:32:47 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Ryan Culpepper
ccc70fca73 removed unused modules and code from unstable 2011-04-12 09:35:26 -06:00
Vincent St-Amour
2bd0145603 Generalize hash table literals and subtypes of symbol.
Closes PR 11670.
2011-01-26 14:23:19 -05:00
Matthew Flatt
5d8e000d6d swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Vincent St-Amour
a59a99c42d Changed the TR numeric tower to use the new flonums. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
3ec9503da9 Changed the typed benchmark harness to reflect optimization on by default. 2010-10-06 17:32:31 -04:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Vincent St-Amour
b18f2353ca Generalize naturals to integers to minimize annotations on mutated variables. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
ca106a4134 Replaced the safe specialized nbody benchmark by the unsafe version. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
01c170c52f Fixed a segfault in the nbody benchmark. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
3dab2fbbfc Fixed benchmarks to typecheck even when not-really-dead code is typechecked. 2010-07-16 19:08:19 -04:00
Vincent St-Amour
cb0e058cff Removed spectralnorm-unsafe from the shootout harness. 2010-07-02 20:58:29 -04:00
Vincent St-Amour
f469e0d8bf Changed some benchmarks to use known-length vectors. 2010-07-02 15:48:02 -04:00
Vincent St-Amour
ae242e2f88 Propagated Sam's changes to spectralnorm to the generic and unsafe versions. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
cdfbbc5476 Fixed the type of real->decimal-string. 2010-07-02 15:47:56 -04:00
Vincent St-Amour
636fca1a83 Generalization is now done on vector types. 2010-07-02 15:16:11 -04:00
Vincent St-Amour
06279de2ca Nonnegative-Floats are now generalized to Floats. 2010-07-02 15:16:10 -04:00
Sam Tobin-Hochstadt
c0a9704ebc Rewrote spectral-norm benchmark based on Lua version. 2010-07-01 11:35:21 -04:00
Vincent St-Amour
e4cd5329fb Fixed benchmarks to work with Nonnegative-Floats. 2010-06-30 19:27:18 -04:00
Jay McCarthy
df30cda523 Port registry and changing benchmarks to not conflict on ports 2010-06-29 13:38:36 -06:00
Sam Tobin-Hochstadt
e7c33c2244 Rewrite shootout benchmark wrapper.
- Now only needs one wrapper, conditions on module name
 - use with #lang s-exp
 - uses typed reader
2010-06-28 11:09:59 -04:00
Vincent St-Amour
17f0d146f1 Adjusted benchmark sizes. 2010-06-25 11:00:25 -04:00
Vincent St-Amour
bc0d0a6e18 Unified the nbody-vec benchmarks so that they only differ by their use
of flonum or unsafe operations.
2010-06-25 11:00:25 -04:00
Vincent St-Amour
369ce44416 Made the default nbody benchmark unsafe. 2010-06-25 11:00:24 -04:00
Vincent St-Amour
8c8dbf0895 Fixes to some benchmarks due to the new fixnum types. 2010-06-25 11:00:23 -04:00
Vincent St-Amour
cea65c195b Fixed typed wrappers for the typed versions of mandelbrot. 2010-06-25 11:00:22 -04:00
Vincent St-Amour
a4236b0b3b Propagated Eli's bugfix to the typed version of binarytrees. 2010-06-25 11:00:22 -04:00
Eli Barzilay
acace4bc18 Fixes two bugs that I somehow missed completely.
(Also removed leftover `time'.)
2010-06-23 07:34:17 -04:00
Vincent St-Amour
d3c5ca7537 Propagated Eli's changes to the binarytrees benchmark to the typed
version.
2010-06-22 18:42:27 -04:00
Vincent St-Amour
c9383cffc2 Propagated Eli's changes to reversecomplement and fasta to the typed
versions.
2010-06-22 18:42:08 -04:00
Vincent St-Amour
4f501726fb Fixed a bug in the shootout harness. 2010-06-22 18:29:58 -04:00
Vincent St-Amour
bc794b443c Propagated Eli's changes to the mandelbrot benchmark to the generic
and typed versions.
2010-06-22 18:29:57 -04:00