rust/src/test
Alex Crichton f7b54703d0 bench: Improve the spectralnorm shootout benchmark
This improves the spectralnorm shootout benchmark through a few vectors after
looking at the leading C implementation:

* The simd-based f64x2 is now used to parallelize a few computations
* RWLock usage has been removed. A custom `parallel` function was added as a
  form of stack-based fork-join parallelism. I found that the contention on the
  locks was high as well as hindering other optimizations.

This does, however, introduce one `unsafe` block into the benchmarks, which
previously had none.

In terms of timings, the before and after numbers are:

```
$ time ./shootout-spectralnorm-before
./shootout-spectralnorm-before  2.07s user 0.71s system 324% cpu 0.857 total
$ time ./shootout-spectralnorm-before 5500
./shootout-spectralnorm-before 5500  11.88s user 1.13s system 459% cpu 2.830 total
$ time ./shootout-spectralnorm-after
./shootout-spectralnorm-after  0.58s user 0.01s system 280% cpu 0.210 tota
$ time ./shootout-spectralnorm-after 5500
./shootout-spectralnorm-after 5500  3.55s user 0.01s system 455% cpu 0.783 total
```
2014-10-13 08:52:15 -07:00
..
auxiliary auto merge of #17669 : nikomatsakis/rust/multidispatch, r=pcwalton 2014-10-10 03:02:02 +00:00
bench bench: Improve the spectralnorm shootout benchmark 2014-10-13 08:52:15 -07:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail Remove virtual struct tests 2014-10-11 19:42:26 +02:00
compile-fail-fulldeps Set the non_uppercase_statics lint to warn by default 2014-10-03 20:39:56 +13:00
debuginfo Remove virtual struct tests 2014-10-11 19:42:26 +02:00
pretty test: Convert statics to constants 2014-10-09 09:44:52 -07:00
run-fail tests: remove uses of Gc. 2014-10-02 17:02:15 +03:00
run-make auto merge of #17037 : kmcallister/rust/no-stack-check, r=thestinger 2014-10-10 07:52:00 +00:00
run-pass auto merge of #17944 : jakub-/rust/issue-17877, r=alexcrichton 2014-10-12 21:47:34 +00:00
run-pass-fulldeps syntax: Parse outer attributes in quote_method! 2014-10-06 10:53:05 -04:00