Skip to content

Instantly share code, notes, and snippets.

@hussachai
Last active November 22, 2015 01:36
Show Gist options
  • Save hussachai/fd4362cd2939f9243b75 to your computer and use it in GitHub Desktop.
Save hussachai/fd4362cd2939f9243b75 to your computer and use it in GitHub Desktop.
Map then reduce
+----------+-------------+------------+-------------+
| Language | Benchmark | Score | Error |
+----------+-------------+------------+-------------+
| Java | Collections | 10,989,113 | 319,941 | <-- (1)
| Java | Streams | 944,391 | 16,689 | <-- (2)
| Scala | Collections | 314,736 | 6,594 |
| Scala | Streams | 115,335 | 1,467 |
| Scala | Views | 476,832 | 9,358 | <-- (3)
+----------+-------------+------------+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment