由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - nodejs performance
相关主题
写thread safe程序现在也是程序员必须要掌握的了吧教授的问题(C language)
用nodejs实现Jvm[合集] Python下面如何进行numeric analysis and statistical analysis
周末上点有用的信息c++ class design issue
前端码农想转后端的困惑,望大牛解答这两种写法面試时候你喜欢哪种?
据说现在流行Isomorphic JavaScript大家碰到过这种猎头么?
CODING QUESTIONS求binary search的直径(最大的d(nodei,nodej))怎么最快
interview question: what is the difference between Java and c++nodejs
越南问题 谁做出来了?nodejs challenge, yes with $300 bounty!
相关话题的讨论汇总
话题: nodejs话题: triangles话题: sphere
进入Programming版参与讨论
1 (共1页)
g****t
发帖数: 31659
1
impressive
http://blog.johnnovak.net/2017/04/22/nim-performance-tuning-for-the-uninitiated/
blog.johnnovak.net/2017/04/22/nim-performance-tuning-for-the-uninitiated/
N*****m
发帖数: 42603
2
现在不如python的uvloop了

【在 g****t 的大作中提到】
: impressive
: http://blog.johnnovak.net/2017/04/22/nim-performance-tuning-for-the-uninitiated/
: blog.johnnovak.net/2017/04/22/nim-performance-tuning-for-the-uninitiated/

g****t
发帖数: 31659
3
The blog is mainly about numerical computation.
========================================
Precalculate T number of random triangles so that all points of the
triangles lie on the surface of the unit sphere.
Precalculate R number of random rays so that each ray goes through two
points randomly selected on the surface of the unit sphere.
Intersect each ray with the whole set of triangles, so there will be R &#
10005; T intersection tests in total.
========================================

【在 N*****m 的大作中提到】
: 现在不如python的uvloop了
N*****m
发帖数: 42603
4
昏,用nodejs搞数值计算?

【在 g****t 的大作中提到】
: The blog is mainly about numerical computation.
: ========================================
: Precalculate T number of random triangles so that all points of the
: triangles lie on the surface of the unit sphere.
: Precalculate R number of random rays so that each ray goes through two
: points randomly selected on the surface of the unit sphere.
: Intersect each ray with the whole set of triangles, so there will be R &#
: 10005; T intersection tests in total.
: ========================================

g****t
发帖数: 31659
5
If nodejs is as fast as JVM, why not?
Of course the "If" is still questionable.

【在 N*****m 的大作中提到】
: 昏,用nodejs搞数值计算?
N*****m
发帖数: 42603
6
不一样。nodejs快是对io-bound的任务来说的。
如果是cpu-bound,没有多线程,速度就比不上jvm了。

【在 g****t 的大作中提到】
: If nodejs is as fast as JVM, why not?
: Of course the "If" is still questionable.

g****t
发帖数: 31659
7
As I quoted earlier, the Blog used numerical examples to do the test and
that is why I think it is impressive.
Below is the step 1 of the test:
"
Precalculate T number of random triangles so that all points of the
triangles lie on the surface of the unit sphere.
"

【在 N*****m 的大作中提到】
: 不一样。nodejs快是对io-bound的任务来说的。
: 如果是cpu-bound,没有多线程,速度就比不上jvm了。

N*****m
发帖数: 42603
8
怀疑这些测试没有利用多核。

【在 g****t 的大作中提到】
: As I quoted earlier, the Blog used numerical examples to do the test and
: that is why I think it is impressive.
: Below is the step 1 of the test:
: "
: Precalculate T number of random triangles so that all points of the
: triangles lie on the surface of the unit sphere.
: "

c******n
发帖数: 16666
9
汗。。我正在写的一个就是nodejs和java的微服务。。。
cpython是啥情况
N*****m
发帖数: 42603
10
没啥情况,就是最早的python implementation,跟pypy之类的以示区别。

【在 c******n 的大作中提到】
: 汗。。我正在写的一个就是nodejs和java的微服务。。。
: cpython是啥情况

1 (共1页)
进入Programming版参与讨论
相关主题
nodejs challenge, yes with $300 bounty!据说现在流行Isomorphic JavaScript
谁在用nodejsCODING QUESTIONS
请教自动读取网页数据的Scriptinterview question: what is the difference between Java and c++
Dynamics Engine哪个比较好用, 速度又快?越南问题 谁做出来了?
写thread safe程序现在也是程序员必须要掌握的了吧教授的问题(C language)
用nodejs实现Jvm[合集] Python下面如何进行numeric analysis and statistical analysis
周末上点有用的信息c++ class design issue
前端码农想转后端的困惑,望大牛解答这两种写法面試时候你喜欢哪种?
相关话题的讨论汇总
话题: nodejs话题: triangles话题: sphere