当前位置:网站首页>The performance of major mainstream programming languages is PK, and the results are unexpected
The performance of major mainstream programming languages is PK, and the results are unexpected
2022-07-05 00:48:00 【Dotnet cross platform】
Produce | OSC The open source community (ID:oschina2013)
“ What is the fastest programming language ”, To answer this question ,The Benchmarks Game Specially designed performance test for mainstream programming languages . The test items include ( You can click the end of the text to read the original text to view the details ):
fannkuch-redux
n-body
spectral-norm
mandelbrot
pidigits
regex-redux
fasta
k-nucleotide
reverse-complement
binary-trees
According to The Benchmarks Game A visual chart is made of the test data of , As shown below , Grey reflects time efficiency , Shorter means better performance , Brown is a weighted value based on execution time and memory overhead .
You can see , Some of the results were somewhat unexpected , such as Python, Although it is well known that its performance is relatively backward , But I didn't expect to be the bottom in terms of execution time .C、C++ and Rust The execution time of shows a leading edge , The following ones include C# and Julia,Go and Java Performance is quite , But it's more behind .
And then there will be Node.js、Swift and Dart, as well as PHP, These languages also present different performance gaps .
Related links :
https://benchmarksgame-team.pages.debian.net/benchmarksgame/index.html
https://goodmanwen.github.io/Programming-Language-Benchmarks-Visualization/.
边栏推荐
- Huawei employs data management experts with an annual salary of 2million! The 100 billion market behind it deserves attention
- Reasons and solutions of redis cache penetration and avalanche
- The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)
- Ruby tutorial
- 多模输入事件分发机制详解
- 【Unity】InputSystem
- Hologres Query管理及超时处理
- Relationship between classes and objects
- 2022.07.03 (LC 6108 decryption message)
- TS快速入门-函数
猜你喜欢
[论文阅读] CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentation
分布式BASE理论
Safety learning week4
Huawei employs data management experts with an annual salary of 2million! The 100 billion market behind it deserves attention
初识ROS
pycharm专业版下载安装教程
ORB(Oriented FAST and Rotated BRIEF)
[selenium automation] common notes
lambda表达式
abc 258 G - Triangle(bitset)
随机推荐
Learn C language from scratch day 024
Recursive execution mechanism
[Yocto RM]10 - Images
He worked as a foreign lead and paid off all the housing loans in a year
Visual explanation of Newton iteration method
Parameter passing mechanism of member methods
人生无常,大肠包小肠, 这次真的可以回家看媳妇去了。。。
Netcore3.1 JSON web token Middleware
Paper notes multi UAV collaborative monolithic slam
P3304 [sdoi2013] diameter (diameter of tree)
GDB常用命令
lambda表达式
那些一门心思研究自动化测试的人,最后都怎样了?
Verilog tutorial (11) initial block in Verilog
npm install报错 强制安装
Acwing164. Accessibility Statistics (topological sorting +bitset)
||Interview questions you will encounter
两个数相互替换
企业公司项目开发好一部分基础功能,重要的事保存到线上第一a
业务场景功能的继续修改