summaryrefslogtreecommitdiff
path: root/test/benchmarks/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4589 from janekdb/2.11.x-method-names-m-oJason Zaugg2015-06-291-3/+3
|\ | | | | Improve method names (m-o)
| * Improve method names (m-o)Janek Bogucki2015-06-281-3/+3
| |
* | Fix 23 typos (m-o)Janek Bogucki2015-06-281-2/+2
|/
* Fix many typos in docs and commentsmpociecha2014-12-141-1/+1
| | | | | | | | | | | | | This commit corrects many typos found in scaladocs, comments and documentation. It should reduce a bit number of PRs which fix one typo. There are no changes in the 'real' code except one corrected name of a JUnit test method and some error messages in exceptions. In the case of typos in other method or field names etc., I just skipped them. Obviously this commit doesn't fix all existing typos. I just generated in IntelliJ the list of potential typos and looked through it quickly.
* migrates stdlib and compiler to tagsEugene Burmako2012-04-232-17/+17
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* Range.foreach optimization.Paul Phillips2011-12-121-0/+61
| | | | | | | | | | | This makes code like 0 to 100 foreach (x += _) as fast as (often faster than, in fact) a while loop. See the comment in Range for the gory details. More investigation should be done regarding total impact on inlining behavior. Review by @odersky.
* Begone t1737...Hubert Plociniczak2011-11-0273-477/+477
|
* Refinement of murmurhash implementation.Paul Phillips2011-09-081-68/+80
| | | | | | Integrates recent speed improvements to algorithm. Contributed by Ruediger Keller, no review.
* Sped up traversal over mutable maps by a factor...Paul Phillips2011-08-011-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sped up traversal over mutable maps by a factor of two. There was this comment in HashTable explaining why foreach was implemented in terms of iterator. /* * We should implement this as a primitive operation over the * underlying array, but it can cause a behaviour change in edge cases * where: * - Someone modifies a map during iteration * - The insertion point is close to the iteration point. */ Item 1: foreach and iterator didn't behave the same if the map was mutated in the midst of the traversal anyway. Item 2: protecting some particular undefinition of inherently undefined behavior is a pretty unconvincing reason to impose a 2x penalty on foreach. Here are the before/after times for traversing the keys with foreach vs. with iterator. Same impact on values and on the map itself. The benchmark code is included in this commit. before: foreach 143700900 iterator 143848900 after: foreach 67024400 iterator 144890300 Respecting the fact that this might be causing some behavior somewhere to change, even though it would be pretty sick to be relying upon it, ** ATTENTION! POSSIBLE BEHAVIOR CHANGE! ** Review by dragos.
* Merge branch 'work'Aleksandar Pokopec2011-01-266-0/+61
| | | | | | Conflicts: src/library/scala/concurrent/SyncVar.scala
* A new murmur3 hashcode implementation contribut...Paul Phillips2011-01-251-0/+241
| | | | | | | | | | | | | A new murmur3 hashcode implementation contributed by rex kerr. I'm really happy with it. There is benchmarking code included but you can use the pudding for proof: the compiler compiling itself is clearly faster. I deleted the existing murmur2 implementation which has never left trunk in a release. There remain some possible points of improvement with inlining and/or synthetic method generation, but this is a major improvement over the status quo. Closes #2537, review by prokopec.
* Merge branch 'work'Aleksandar Pokopec2011-01-121-4/+6
|
* Enabled parallel group by.Aleksandar Pokopec2011-01-101-0/+1
| | | | | No review.
* Test case change.Aleksandar Pokopec2011-01-071-1/+1
| | | | | No review
* Implemented a (slower) workaround for parallel ...Aleksandar Pokopec2011-01-075-31/+161
| | | | | | | | Implemented a (slower) workaround for parallel vectors. Implemented group by. No review.
* Changed foreach to pforeach.Aleksandar Pokopec2011-01-075-12/+12
| | | | | No review.
* Bencharking a larger program with parallel coll...Aleksandar Pokopec2010-12-214-0/+58269
| | | | | | | | | Bencharking a larger program with parallel collections. Fixed a couple of bugs in parallel collections. No review.
* A minor update in a benchmark.Aleksandar Pokopec2010-12-211-1/+2
| | | | | No review.
* Made parallel collections serializable.Aleksandar Pokopec2010-12-097-7/+7
| | | | | No review.
* Array combiners implementation changed from arr...Aleksandar Pokopec2010-12-093-0/+59
| | | | | | | | | Array combiners implementation changed from array buffers to doubling unrolled buffers to avoid excessive copying. Still evaluating the benefits of this. No review.
* Fixed parallel ranges to use the same range log...Aleksandar Pokopec2010-12-092-3/+6
| | | | | | | | | | Fixed parallel ranges to use the same range logic under the hood, and not introduce code duplication. Slight fix in Tasks. No review.
* Fixing jvm 1.5 support for parallel collections.Aleksandar Pokopec2010-12-098-9/+9
| | | | | | | | | | | | | | | | | | Special cased with thread pool executor scheduling. Fixed an ugly concurrency bug where futures returned by a thread pool executor didn't remove the task from the queue when cancel was called. Note to self and others: don't cancel futures returned by thread pool executors, it might lead to unexpected behaviour. Modified the executor to add new threads if all the active threads are syncing, in order to avoid deadlocks. Fixed a hidden bug in AdaptiveWorkStealingTasks, where correct behaviour depended on the execution order of the tasks. This didn't fail before with ForkJoinTasks, since there the execution order is well-defined. Scalachecked 1.5 & 1.6 support. No review.
* Benchmarking parallel sets.Aleksandar Pokopec2010-11-103-3/+12
| | | | | No review.
* Added a benchmark for mutable hash sets.Aleksandar Pokopec2010-11-101-0/+144
| | | | | No review.
* To fix the failing nightly.Aleksandar Pokopec2010-11-101-0/+4
| | | | | No review.
* Performance bug in hash table splitter fixed, ...Aleksandar Pokopec2010-10-286-9/+88
| | | | | | | | | | Performance bug in hash table splitter fixed, where size map was not used and all the elements were counted instead. Performance tests now pass. No review
* Added hash table benchmarks.Aleksandar Pokopec2010-10-283-6/+160
| | | | | No review.
* Two hashcode-related failing tests fixed.Aleksandar Pokopec2010-10-281-1/+1
| | | | | No review.
* Fixed ParSeqView, added Patched and Reversed.Aleksandar Pokopec2010-09-242-0/+22
|
* Adds a zip for ParIterables + a new Zipped view...Aleksandar Pokopec2010-09-234-0/+25
| | | | | | Adds a zip for ParIterables + a new Zipped view for ParSeqView and ParIterableView + a bench test. No review
* Reimplementing parallel views to solve several ...Aleksandar Pokopec2010-09-227-69/+157
| | | | | | Reimplementing parallel views to solve several performance glitches. No review.
* Refactorings to make iterators required by task...Aleksandar Pokopec2010-09-171-1/+1
| | | | | | Refactorings to make iterators required by task objects less restricted. No review
* Improved parallel scan performance further.Aleksandar Pokopec2010-09-141-1/+1
|
* Improving parallel scan. No reviewAleksandar Pokopec2010-09-131-4/+10
|
* Added scalacheck folder, scalacheck source upda...Aleksandar Pokopec2010-08-313-1/+56
| | | | | | | | | | | | | Added scalacheck folder, scalacheck source update script, and scalacheck ant tasks. Build process will now generate a scalacheck jar in the build/pack/lib directory. It generates it from the scalacheck source in the src/scalacheck dir. If the source there gets out of date, it is to be updated manually using the tools/updatescalacheck script. Review by phaller.
* Fix for last commit.Aleksandar Pokopec2010-07-281-1/+1
|
* Minor tweaks. No review.Aleksandar Pokopec2010-07-271-1/+1
|
* Refactored benchmarks.Aleksandar Pokopec2010-07-2619-58/+114
|
* Parallel array `map` optimisation. No review.Aleksandar Pokopec2010-06-301-1/+1
|
* Implemented lazy combiners for parallel hash trie.Aleksandar Pokopec2010-06-291-1/+4
|
* Moved parallel collections to library dir, chan...Aleksandar Pokopec2010-06-182-4/+4
| | | | | | Moved parallel collections to library dir, changed sabbus script. Added `par` to some of the classes. No review.
* Refactorings and hash trie combiners. No review.Aleksandar Pokopec2010-06-182-0/+205
|
* Minor changes in parallel hash trie. No review.Aleksandar Pokopec2010-06-164-0/+18
|
* Fixed hash trie splitting. No review.Aleksandar Pokopec2010-06-162-1/+5
|
* Adding primary version of parallel hash tries.Aleksandar Pokopec2010-06-152-1/+11
| | | | | No review.
* Further improved combine for hash tries, cuttin...Aleksandar Pokopec2010-06-111-1/+3
| | | | | | Further improved combine for hash tries, cutting of another 30ms (160 downto 130). Review by rompf.
* Added `combine` and `split` to immutable.HashMap.Aleksandar Pokopec2010-06-094-2/+59
| | | | | | Under test/benchmarks there is a `bench` script to run benchmarks - it can be invoked after running building the library. Review by rompf.
* Adding parallel collections to trunk.Aleksandar Pokopec2010-06-0768-0/+4162
sabbus also edited to add parallel collections to the library jar - review by phaller