当前位置:网站首页>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-04 14:48:00 【Hollis Chuang】
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/.
End
My new book 《 In depth understanding of Java The core technology 》 It's on the market , After listing, it has been ranked in Jingdong best seller list for several times , At present 6 In the discount , If you want to start, don't miss it ~ Long press the QR code to buy ~
Long press to scan code and enjoy 6 A discount
Previous recommendation
Redis Distributed lock failure , I can't help being rude ...
How to prevent your jar Decompiled ?
There is Tao without skill , It can be done with skill ; No way with skill , Stop at surgery
Welcome to pay attention Java Road official account
Good article , I was watching ️
边栏推荐
- Practical puzzle solving | how to extract irregular ROI regions in opencv
- Leetcode 61: rotating linked list
- 炒股网上开户安全吗?会不会被骗。
- Query optimizer for SQL optimization
- C language achievement management system for middle school students
- STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
- (1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
- Test evaluation of software testing
- Industrial Internet has greater development potential and more industry scenarios
- LVGL 8.2 List
猜你喜欢
Transplant tinyplay for imx6q development board QT system
LVGL 8.2 LED
LVGL 8.2 Draw label with gradient color
Ranking list of databases in July: mongodb and Oracle scores fell the most
自动控制原理快速入门+理解
Leecode learning notes - Joseph problem
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
A keepalived high availability accident made me learn it again
Ali was laid off employees, looking for a job n day, headhunters came bad news
LVGL 8.2 Draw label with gradient color
随机推荐
一文概览2D人体姿态估计
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
[cloud native] how can I compete with this database?
Stm32f1 and stm32subeide programming example -max7219 drives 8-bit 7-segment nixie tube (based on GPIO)
EventBridge 在 SaaS 企业集成领域的探索与实践
UFO:微软学者提出视觉语言表征学习的统一Transformer,在多个多模态任务上达到SOTA性能!...
Sqlserver functions, creation and use of stored procedures
为什么国产手机用户换下一部手机时,都选择了iPhone?
Openresty redirection
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
Transplant tinyplay for imx6q development board QT system
[information retrieval] link analysis
Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
Five minutes of machine learning every day: why do we need to normalize the characteristics of numerical types?
關於miui12.5 紅米k20pro用au或者povo2出現問題的解决辦法
Digi重启XBee-Pro S2C生产,有些差别需要注意
The failure rate is as high as 80%. What are the challenges on the way of enterprise digital transformation?
remount of the / superblock failed: Permission denied
阿里被裁员工,找工作第N天,猎头又传来噩耗...
LeetCode 1200 最小绝对差[排序] HERODING的LeetCode之路