Commit Graph

96 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov b07c3cec4c Same result format for primes-alt.java 2021-02-02 19:23:25 +03:00
Vitaliy Filippov 73cd9b123f Add alternative Lua implementation without #arr 2021-02-02 19:19:15 +03:00
Vitaliy Filippov 91515c0015 Add 2 more Erlang implementations. But shit anyway 2020-01-23 17:48:06 +03:00
Vitaliy Filippov b113d7e2b1 Same format with perl 2020-01-23 02:07:47 +03:00
Vitaliy Filippov c2a378abce Add Erlang version 2020-01-23 02:00:26 +03:00
Vitaliy Filippov 6e6ffd8e4a Print comparable results 2020-01-17 21:02:31 +03:00
Vitaliy Filippov bdf922b5c8 Add lua + change cpp, js, rust and php, python, go to 30 iterations 2019-12-30 01:35:15 +03:00
Ivan Zahariev 5a17b22d53 A quick benchmark redo for ".NET Core Linux" version 3.1.1
Equated results comparable to https://blog.famzah.net/2016/09/10/cpp-vs-python-vs-php-vs-java-vs-others-performance-benchmark-2016-q3/
  C# .NET Core Linux            : user_t= 2.194 sys_t= 0.067 cpu_t= 2.261 to_CPP=    - to_prev=    - version=3.1.100
  Go                            : user_t= 2.622 sys_t= 0.083 cpu_t= 2.705 to_CPP=    - to_prev=    - version=go version go1.7.1 linux/amd64

Original results on my new, faster hardware:
  C# .NET Core Linux            : user_t= 2.006 sys_t= 0.061 cpu_t= 2.067 to_CPP=    - to_prev=    - version=3.1.100
  Go                            : user_t= 2.272 sys_t= 0.201 cpu_t= 2.473 to_CPP=    - to_prev=    - version=go version go1.7.1 linux/amd64
2019-12-27 18:23:32 +02:00
Ivan Zahariev 418841fd9a Merge branch 'master' of github.com:famzah/langs-performance 2019-12-27 18:19:14 +02:00
Ivan Zahariev b2d6f7e710 Make the ".NET Core Linux" project files compatible with version 3.1.x 2019-12-27 18:18:23 +02:00
Ivan Zahariev 74ff557cad
Merge pull request #10 from dzaragoza/master
Implementation in the D language
2018-02-12 17:45:52 +02:00
David Zaragoza Rodriguez 282c95ebb3 Port of the Python version to D 2018-01-27 15:55:24 +01:00
Ivan Zahariev 612a67527b Minor refactoring, so that the code workflow is the same as the other languages 2018-01-12 12:23:12 +02:00
Ivan Zahariev 29cc736cd6
Merge pull request #9 from jonas-schulze/master
Add Swift
2018-01-12 12:11:04 +02:00
Jonas Schulze d34a1f6e52 Update inner loop 2018-01-10 17:34:01 +01:00
Jonas Schulze fb6f992fd8 Add Swift 2017-12-22 16:05:11 +01:00
Ivan Zahariev d69632e87f Correction of the "C# .NET Core" tests; this time done at full CPU power (laptop running not on battery) 2016-11-04 09:57:19 +02:00
Ivan Zahariev 863695bedd Symlink to the C# .NET Core implementation 2016-11-04 00:25:23 +02:00
Ivan Zahariev 987e3f3b66 "C# .NET Core" official URL link 2016-11-04 00:24:46 +02:00
Ivan Zahariev a8e13c6047 Add "C# .NET Core Linux" 2016-11-03 23:38:53 +02:00
Ivan Zahariev ab2046b1fc Add "C# .NET Core Linux" 2016-11-03 23:23:53 +02:00
Ivan Zahariev 0c830d0e09 Initial commit. Simple command wrappers 2016-11-03 23:17:00 +02:00
Ivan Zahariev 09356704b2 Initial commit 2016-11-03 22:08:09 +02:00
Ivan Zahariev 3251c0c432 Rename 2016-10-19 10:38:58 +03:00
Ivan Zahariev 2b3fdb27db New results which include the bugfix for node.js 4.3 (see commit 6716271) 2016-10-19 10:22:50 +03:00
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