avatar
nodetime 是个好玩意儿# Programming - 葵花宝典
t*8
1
化学/高分子/材料 求推荐审稿机会
才完成PhD,准备开始申请绿卡,在这里向各位大牛求审稿机会
涉及的领域主要有polymer/macromoleculear chemistry, self-assembly, drug
delivery, organic electronic materials, hybrid materials, block copolymer,
stimuli-responsive polymer, micelles and hydrogels等
email:[email protected]
如需要更多信息(比如CV或者publication list)请email我,多谢多谢
avatar
w*9
2
please say say
avatar
D*l
3
【 以下文字转载自 WmGame 讨论区 】
发信人: Derickdrl (♤♠♢♣), 信区: WmGame
标 题: 飞机+春游
发信站: BBS 未名空间站 (Mon Apr 28 15:01:19 2014, 美东)
飞机
avatar
d*n
4
没功夫学会v8-profiler, 就给我搞定了一个困扰我2周的问题。
推荐
avatar
D*l
5
春游
远看毫无生气,
近看已露尖叶。
avatar
b*e
6
啥问题,具体说说。
avatar
l*a
7
你自己会开灰机?
avatar
W*o
8
这话说的没头没脑,让人匪夷所思,能否说说怎么个爽法儿?

【在 d****n 的大作中提到】
: 没功夫学会v8-profiler, 就给我搞定了一个困扰我2周的问题。
: 推荐

avatar
D*l
9
不会,感觉易学难精
avatar
d*n
10
cpu profiler - give you stack analysis and more important, look at its "hot
spots" zone, it most likely points to the trouble.
memory profiler - for memory leaks finding, no special than google chrome
dev tools.
transaction profiler - I like one of its core chart : average http response
time,
which helped me find a non-asynchronous function blocking IO.
and very convenient to use - click to take cpu, memory, transaction snapshot
, comparing across them.
it is not super-duper, just one tool is helpful for beginners.

【在 W***o 的大作中提到】
: 这话说的没头没脑,让人匪夷所思,能否说说怎么个爽法儿?
avatar
b*e
11
这个stack analysis有没有跨event loop,还是局限于严格意义上的runtime stack。
如果是后者的话意义不大。

hot
response
snapshot

【在 d****n 的大作中提到】
: cpu profiler - give you stack analysis and more important, look at its "hot
: spots" zone, it most likely points to the trouble.
: memory profiler - for memory leaks finding, no special than google chrome
: dev tools.
: transaction profiler - I like one of its core chart : average http response
: time,
: which helped me find a non-asynchronous function blocking IO.
: and very convenient to use - click to take cpu, memory, transaction snapshot
: , comparing across them.
: it is not super-duper, just one tool is helpful for beginners.

avatar
d*n
12
Chrome profiler has similar feature, but I want to point out that usability
of nodetime.com is better(at least for me.)
avatar
d*n
13
不是很明白,我是菜鸟才用这个。
大牛请给看看这个截图,是不是跨event loop。
它的cpu 百分比 call tree 似乎包括了说有的 event stack?
官方文档
V8 engine, on which Node.js is built, has a built-in sampling CPU profiler.
It records where the instruction pointer was every millisecond and creates a
call tree based on this. Although not exact, but the information is
statistically sufficient to identify which functions spent the most time in
CPU.
http://blog.nodetime.com/2012/05/cpu-profiling-with-nodetime.ht

【在 b***e 的大作中提到】
: 这个stack analysis有没有跨event loop,还是局限于严格意义上的runtime stack。
: 如果是后者的话意义不大。
:
: hot
: response
: snapshot

avatar
d*n
14
sampling every one millisecond, 应该是cross event loop?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。