什么是`v8 :: internal :: Builtin_HandleApiCall(int,v8 :: internal :: Object **,v8 :: internal :: Isolate *)`

时间:2018-04-18 10:37:54

标签: node.js profiling

我在内置的探查器中运行nodejs并得到以下输出:

[Summary]:
   ticks  total  nonlib   name
    438   13.5%   13.5%  JavaScript
   2243   68.9%   69.3%  C++
    475   14.6%   14.7%  GC
     21    0.6%          Shared libraries
    554   17.0%          Unaccounted
[C++ entry points]:
   ticks    cpp   total   name
   1178   67.7%   36.2%  T v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
    111    6.4%    3.4%  T v8::internal::Runtime_CompileLazy(int, v8::internal::Object**, v8::internal::Isolate*)
     64    3.7%    2.0%  T ___sandbox_mm
     61    3.5%    1.9%  T v8::internal::Builtin_FunctionConstructor(int, v8::internal::Object**, v8::internal::Isolate*)

好像这个家伙:

v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)

是优化的候选者(?),但我不确定那是什么。

以下是整个输出:https://pastebin.com/G8vURNkX

0 个答案:

没有答案