Commit Graph

71 Commits (6716271477db4cb01ff60586471a5ec9a99fc37c)

Author SHA1 Message Date
Ivan Zahariev 6716271477 Due to a bug in node.js 4.3, we need to declare and init on separate lines, or else node.js performs about four times slower.
See: https://blog.famzah.net/2016/09/10/cpp-vs-python-vs-php-vs-java-vs-others-performance-benchmark-2016-q3/#comment-21872
2016-10-18 11:42:01 +03:00
Ivan Zahariev 5e9048ef4c Merge pull request #7 from ndenev/master
Make it work on OS X. Allow analyze script to continue if it sees a skipped test due to a missing language/compiler.
2016-10-17 22:52:48 +03:00
Ivan Zahariev bccd20db38 Quoting variables in Bash never hurts :) 2016-10-17 22:51:29 +03:00
Ivan Zahariev 988aa4898e Print errors to stderr 2016-10-17 22:50:39 +03:00
Ivan Zahariev a739c5441b Minor Bash syntax improvements 2016-10-17 22:48:43 +03:00
Nikolay Denev 8097843c80 Make it work on OS X. Allow analyze script to continue if it sees a skipped test due to missing language/compiler. 2016-10-17 20:55:55 +02:00
Ivan Zahariev 67effc9c86 Merge branch 'master' of github.com:famzah/langs-performance 2016-10-15 21:03:54 +03:00
Ivan Zahariev 10b9bfc3c5 New results which include the Rust implementation 2016-10-15 21:03:34 +03:00
Ivan Zahariev fc715c359a Add link to the "Benchmarks game" @ alioth.debian.org 2016-10-12 20:42:59 +03:00
Ivan Zahariev de1f3ccc6a Re-indent using tabs 2016-10-12 20:17:46 +03:00
Ivan Zahariev fea51cf287 Merge pull request #6 from boromil/master
Clean up the Python code. Make Go a bit nicer using the built-in time.Since() and time.ParseDuration().
2016-10-12 20:16:08 +03:00
Ivan Zahariev 619fae261d Merge pull request #5 from ndenev/master
Add an implementation in Rust
2016-10-12 20:12:22 +03:00
Krzysztof Malinowski 3039b31506 using time.Since 2016-10-12 01:24:32 +02:00
Krzysztof Malinowski cf7861e39f pep8-ish 2016-10-12 01:21:42 +02:00
Krzysztof e4e121e008 Merge pull request #1 from famzah/master
rebase
2016-10-12 00:13:01 +02:00
Nikolay Denev e989f1fda3 Do not preallocate the vec to the known size so we are fair and do what other tests are doing 2016-10-09 23:54:53 +02:00
Nikolay Denev 440680629c Add a quickly put together Rust version 2016-10-09 15:45:59 +02:00
Ivan Zahariev 2049c34606 Initial commit 2016-09-22 22:26:10 +03:00
Ivan Zahariev 5851ea6456 LinkedList info 2016-09-22 22:15:51 +03:00
Ivan Zahariev bdcef85363 Add Java optimization notes 2016-09-19 18:19:09 +03:00
Ivan Zahariev 9b46c35c4e Initial commit 2016-09-19 18:14:19 +03:00
Ivan Zahariev e87d529e23 Initial commit 2016-09-19 18:11:38 +03:00
Ivan Zahariev 319797900a Initial commit 2016-09-19 18:11:02 +03:00
Ivan Zahariev 586334fe50 New benchmark method + new blog article 2016-09-10 09:51:53 +03:00
Ivan Zahariev b9afdca36f Read $output_mode as a command-line argument 2016-09-09 23:33:30 +03:00
Ivan Zahariev 5f82b686b0 Implement print_results_as_html() 2016-09-09 23:27:28 +03:00
Ivan Zahariev 0ad4729217 Rename some language titles to match the previous benchmark results 2016-09-09 23:17:35 +03:00
Ivan Zahariev ddc537ebfc refactor print_results_as_text() 2016-09-09 23:06:19 +03:00
Ivan Zahariev 8bfb9ee7e8 Implement print_results_as_text() 2016-09-09 22:49:55 +03:00
Ivan Zahariev 1821232558 Initial import 2016-09-09 22:48:52 +03:00
Ivan Zahariev 06c00825ce Rewrite from scratch to analyze the new output 2016-09-08 23:36:29 +03:00
Ivan Zahariev 5977fbf396 Improve docs 2016-09-08 18:04:51 +03:00
Ivan Zahariev c2f533f376 Limit running time to given wall-clock seconds; remove the forcibly termination by the CPU time limit 2016-09-08 18:02:31 +03:00
Ivan Zahariev f65af29797 Limit running time by an ENV variable 2016-09-08 17:57:49 +03:00
Ivan Zahariev 05b1fadd6e Limit running time by an ENV variable 2016-09-08 17:50:42 +03:00
Ivan Zahariev d6c9b22f7f Limit running time by an ENV variable 2016-09-08 17:46:47 +03:00
Ivan Zahariev 1320064fc3 Limit running time by an ENV variable 2016-09-08 17:44:06 +03:00
Ivan Zahariev 17af67535b Limit running time by an ENV variable 2016-09-07 22:04:46 +03:00
Ivan Zahariev 4074d2cb97 Limit running time by an ENV variable 2016-09-07 21:58:43 +03:00
Ivan Zahariev 3edf611a3e Limit running time by an ENV variable 2016-09-07 21:47:03 +03:00
Ivan Zahariev c67a2305ca Limit running time by an ENV variable 2016-09-07 21:34:42 +03:00
Ivan Zahariev 52504c95ec Introduce more ENV settings 2016-09-07 21:19:55 +03:00
Ivan Zahariev d8af0d96af Option to execute only given tests 2016-09-07 17:30:13 +03:00
Ivan Zahariev ad2fd8baf7 RUN_TIME can be specified as an ENV variable too 2016-09-07 17:27:38 +03:00
Ivan Zahariev 632a85e382 Repeat tests 3 times for more stable results 2016-09-07 17:23:10 +03:00
Ivan Zahariev 97519e06e5 New benchmark strategy: Loop indefinitely for a fixed amount of CPU time 2016-09-06 23:47:58 +03:00
Ivan Zahariev fa27bca082 bugfix: mandatory "set -u" 2016-09-06 23:38:15 +03:00
Ivan Zahariev 887fec1407 Improve readability by shortening long lines 2016-09-06 23:37:49 +03:00
Ivan Zahariev f3edfca18c Include the source filename in the benchmark output; in a preparation for easy automated re-runs and summary of the tests 2016-09-06 23:29:08 +03:00
Ivan Zahariev 902a520eb5 renamed: primes-non-std-lib.java -> primes-alt.java 2016-09-06 23:23:55 +03:00