summaryrefslogtreecommitdiff
path: root/test/benchmarking/ParHashMap.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarking/ParHashMap.scala')
-rw-r--r--test/benchmarking/ParHashMap.scala33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/benchmarking/ParHashMap.scala b/test/benchmarking/ParHashMap.scala
deleted file mode 100644
index 33a378fb04..0000000000
--- a/test/benchmarking/ParHashMap.scala
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-import collection.parallel.mutable.ParHashMap
-
-
-
-object Map extends testing.Benchmark {
- val length = sys.props("length").toInt
- val par = sys.props("par").toInt
- val phm = ParHashMap((0 until length) zip (0 until length): _*)
-
- phm.tasksupport = new collection.parallel.ForkJoinTaskSupport(new scala.concurrent.forkjoin.ForkJoinPool(par))
-
- def run = {
- phm map {
- kv => kv
- }
- }
-}
-
-
-object MapSeq extends testing.Benchmark {
- val length = sys.props("length").toInt
- val hm = collection.mutable.HashMap((0 until length) zip (0 until length): _*)
-
- def run = {
- hm map {
- kv => kv
- }
- }
-}
-