Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trac opt #1

Open
fundon opened this issue Sep 9, 2016 · 4 comments
Open

Trac opt #1

fundon opened this issue Sep 9, 2016 · 4 comments

Comments

@fundon
Copy link
Member

fundon commented Sep 9, 2016

node --trace-opt --trace-deopt --allow-natives-syntax --code-comments examples/compose.js

master

[disabled optimization for 0xbac086dfbc1 <SharedFunctionInfo NativeModule.compile>, reason: TryFinallyStatement]
[disabled optimization for 0xcf53d4f8b01 <SharedFunctionInfo createUnsafeBuffer>, reason: TryFinallyStatement]
[didn't find optimized code in optimized code map for 0x2c65ee0d299 <SharedFunctionInfo>]
[disabled optimization for 0xbac08652d21 <SharedFunctionInfo Join>, reason: TryFinallyStatement]
[disabled optimization for 0xbac08671bd1 <SharedFunctionInfo WeakMap>, reason: TryCatchStatement]
[disabled optimization for 0x2c65ee35461 <SharedFunctionInfo>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x2c65ee15919 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0xbac08670ac9 <SharedFunctionInfo Map>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x2c65ee15919 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0x2c65ee2ecc1 <SharedFunctionInfo tryModuleLoad>, reason: TryFinallyStatement]
[disabled optimization for 0x2c65ee37311 <SharedFunctionInfo tryStatSync>, reason: TryFinallyStatement]
[disabled optimization for 0x2c65ee373d1 <SharedFunctionInfo tryCreateBuffer>, reason: TryFinallyStatement]
[disabled optimization for 0x2c65ee37491 <SharedFunctionInfo tryReadSync>, reason: TryFinallyStatement]
[disabled optimization for 0x2c65ee616c9 <SharedFunctionInfo require>, reason: TryFinallyStatement]
[disabled optimization for 0x2c65ee2e9c1 <SharedFunctionInfo readPackage>, reason: TryCatchStatement]
[disabled optimization for 0x2c65ee65611 <SharedFunctionInfo compose>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x2c65ee66349 <SharedFunctionInfo value.fn>]
[didn't find optimized code in optimized code map for 0x2c65ee66349 <SharedFunctionInfo value.fn>]
[disabled optimization for 0xbac08674f51 <SharedFunctionInfo Promise>, reason: TryCatchStatement]
[disabled optimization for 0xbac086743c9 <SharedFunctionInfo resolvePromise>, reason: TryCatchStatement]
[disabled optimization for 0xbac08673f09 <SharedFunctionInfo PromiseHandle>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x2c65ee69549 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x2c65ee69549 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x2c65ee69549 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x2c65ee15919 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0xbac086deb41 <SharedFunctionInfo installInspectorConsoleIfNeeded>, reason: TryCatchStatement]
[disabled optimization for 0xcf53d4f24e9 <SharedFunctionInfo formatValue>, reason: TryCatchStatement]
true

no-iterator

[disabled optimization for 0x310113fdf671 <SharedFunctionInfo NativeModule.compile>, reason: TryFinallyStatement]
[disabled optimization for 0x2b7520df7b59 <SharedFunctionInfo createUnsafeBuffer>, reason: TryFinallyStatement]
[didn't find optimized code in optimized code map for 0x3633bef0bbf1 <SharedFunctionInfo>]
[disabled optimization for 0x310113f52d21 <SharedFunctionInfo Join>, reason: TryFinallyStatement]
[disabled optimization for 0x310113f71bd1 <SharedFunctionInfo WeakMap>, reason: TryCatchStatement]
[disabled optimization for 0x3633bef325f1 <SharedFunctionInfo>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x3633bef13f31 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0x310113f70ac9 <SharedFunctionInfo Map>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x3633bef13f31 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0x3633bef2c1b9 <SharedFunctionInfo tryModuleLoad>, reason: TryFinallyStatement]
[disabled optimization for 0x3633bef34181 <SharedFunctionInfo tryStatSync>, reason: TryFinallyStatement]
[disabled optimization for 0x3633bef34241 <SharedFunctionInfo tryCreateBuffer>, reason: TryFinallyStatement]
[disabled optimization for 0x3633bef34301 <SharedFunctionInfo tryReadSync>, reason: TryFinallyStatement]
[disabled optimization for 0x3633bef5d589 <SharedFunctionInfo require>, reason: TryFinallyStatement]
[disabled optimization for 0x3633bef2beb9 <SharedFunctionInfo readPackage>, reason: TryCatchStatement]
[disabled optimization for 0x3633bef60ff9 <SharedFunctionInfo compose>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x3633bef61b69 <SharedFunctionInfo fn>]
[didn't find optimized code in optimized code map for 0x3633bef61b69 <SharedFunctionInfo fn>]
[disabled optimization for 0x310113f74f51 <SharedFunctionInfo Promise>, reason: TryCatchStatement]
[disabled optimization for 0x310113f743c9 <SharedFunctionInfo resolvePromise>, reason: TryCatchStatement]
[disabled optimization for 0x310113f73f09 <SharedFunctionInfo PromiseHandle>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x3633bef64b49 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x3633bef64b49 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x3633bef64b49 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x3633bef13f31 <SharedFunctionInfo debugs.(anonymous function)>]
[didn't find optimized code in optimized code map for 0x3633bef8c781 <SharedFunctionInfo WritableState.onwrite>]
[didn't find optimized code in optimized code map for 0x3633bef8ce49 <SharedFunctionInfo CorkedRequest.finish>]
[disabled optimization for 0x310113fde801 <SharedFunctionInfo installInspectorConsoleIfNeeded>, reason: TryCatchStatement]
[disabled optimization for 0x2b7520df1731 <SharedFunctionInfo formatValue>, reason: TryCatchStatement]
true

Diff

@fundon
Copy link
Member Author

fundon commented Oct 12, 2016

> node --trace-opt --trace-deopt --trace-inlining examples/compose.js
[disabled optimization for 0x3b47948df671 <SharedFunctionInfo NativeModule.compile>, reason: TryFinallyStatement]
[disabled optimization for 0x2b4b3a2f74b9 <SharedFunctionInfo createUnsafeBuffer>, reason: TryFinallyStatement]
[didn't find optimized code in optimized code map for 0x17f40620ba59 <SharedFunctionInfo>]
[disabled optimization for 0x3b4794852d21 <SharedFunctionInfo Join>, reason: TryFinallyStatement]
[disabled optimization for 0x3b4794871bd1 <SharedFunctionInfo WeakMap>, reason: TryCatchStatement]
[disabled optimization for 0x17f406232671 <SharedFunctionInfo>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x17f406213cd1 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0x3b4794870ac9 <SharedFunctionInfo Map>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x17f406213cd1 <SharedFunctionInfo debugs.(anonymous function)>]
[disabled optimization for 0x17f40622c259 <SharedFunctionInfo tryModuleLoad>, reason: TryFinallyStatement]
[disabled optimization for 0x17f406234201 <SharedFunctionInfo tryStatSync>, reason: TryFinallyStatement]
[disabled optimization for 0x17f4062342c1 <SharedFunctionInfo tryCreateBuffer>, reason: TryFinallyStatement]
[disabled optimization for 0x17f406234381 <SharedFunctionInfo tryReadSync>, reason: TryFinallyStatement]
[disabled optimization for 0x17f40625d781 <SharedFunctionInfo require>, reason: TryFinallyStatement]
[disabled optimization for 0x17f40622bf59 <SharedFunctionInfo readPackage>, reason: TryCatchStatement]
[disabled optimization for 0x17f4062612a1 <SharedFunctionInfo compose>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x17f406261dd1 <SharedFunctionInfo fn>]
[didn't find optimized code in optimized code map for 0x17f406261dd1 <SharedFunctionInfo fn>]
[disabled optimization for 0x3b4794874f51 <SharedFunctionInfo Promise>, reason: TryCatchStatement]
[disabled optimization for 0x3b47948743c9 <SharedFunctionInfo resolvePromise>, reason: TryCatchStatement]
[disabled optimization for 0x3b4794873f09 <SharedFunctionInfo PromiseHandle>, reason: TryCatchStatement]
[didn't find optimized code in optimized code map for 0x17f406264ee1 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x17f406264ee1 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x17f406264ee1 <SharedFunctionInfo>]
[didn't find optimized code in optimized code map for 0x17f406213cd1 <SharedFunctionInfo debugs.(anonymous function)>]
[didn't find optimized code in optimized code map for 0x17f406288f81 <SharedFunctionInfo WritableState.onwrite>]
[didn't find optimized code in optimized code map for 0x17f406289649 <SharedFunctionInfo CorkedRequest.finish>]
[disabled optimization for 0x3b47948de801 <SharedFunctionInfo installInspectorConsoleIfNeeded>, reason: TryCatchStatement]
[disabled optimization for 0x2b4b3a2f0f71 <SharedFunctionInfo formatValue>, reason: TryCatchStatement]
true

@fundon
Copy link
Member Author

fundon commented Feb 23, 2017

v7.6.0

node --trace-opt --trace-deopt --trace-inlining examples/compose.js
[marking 0x26e89d515821 <JS Function toUpperCase (SharedFunctionInfo 0x13c459f2ade1)> for optimized recompilation, reason: hot and stable, ICs with typeinfo: 0/0 (100%), generic ICs: 0/0 (0%)]
[compiling method 0x26e89d515821 <JS Function toUpperCase (SharedFunctionInfo 0x13c459f2ade1)> using TurboFan]
[optimizing 0x26e89d515821 <JS Function toUpperCase (SharedFunctionInfo 0x13c459f2ade1)> - took 0.346, 0.241, 0.036 ms]
[completed optimizing 0x26e89d515821 <JS Function toUpperCase (SharedFunctionInfo 0x13c459f2ade1)>]
true

@fundon
Copy link
Member Author

fundon commented Aug 1, 2017

v8.2.2

[enforcing Ignition and TurboFan for ObjectConstructor because: Super reference
[enforcing Ignition and TurboFan for Uint8ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Int8ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Uint16ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Int16ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Uint32ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Int32ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Float32ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Float64ArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for Uint8ClampedArrayConstructor because: Super reference
[enforcing Ignition and TurboFan for SetConstructor because: TryCatchStatement
[enforcing Ignition and TurboFan for MapConstructor because: TryCatchStatement
[enforcing Ignition and TurboFan for WeakMapConstructor because: TryCatchStatement
[enforcing Ignition and TurboFan for WeakSetConstructor because: TryCatchStatement
[enforcing Ignition and TurboFan for CollatorConstructor because: Super reference
[enforcing Ignition and TurboFan for NumberFormatConstructor because: Super reference
[enforcing Ignition and TurboFan for DateTimeFormatConstructor because: Super reference
[enforcing Ignition and TurboFan for v8BreakIteratorConstructor because: Super reference
[enforcing Ignition and TurboFan for PostNatives because: TryCatchStatement
[enforcing Ignition and TurboFan for NativeModule.compile because: TryFinallyStatement
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for makeNodeError because: Class literal
[enforcing Ignition and TurboFan for createUnsafeArrayBuffer because: TryFinallyStatement
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for Join because: TryFinallyStatement
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for setupNextTick because: Class literal
[enforcing Ignition and TurboFan for NextTickQueue because: Class constructor function
[enforcing Ignition and TurboFan for  because: Computed property name
[enforcing Ignition and TurboFan for defineIDLClass because: TryCatchStatement
[enforcing Ignition and TurboFan for  because: TryCatchStatement
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for toRealPath because: Computed property name
[enforcing Ignition and TurboFan for tryModuleLoad because: TryFinallyStatement
[enforcing Ignition and TurboFan for tryStatSync because: TryFinallyStatement
[enforcing Ignition and TurboFan for tryCreateBuffer because: TryFinallyStatement
[enforcing Ignition and TurboFan for FastBuffer because: Super reference
[enforcing Ignition and TurboFan for tryReadSync because: TryFinallyStatement
[enforcing Ignition and TurboFan for require because: TryFinallyStatement
[enforcing Ignition and TurboFan for readPackage because: TryCatchStatement
[enforcing Ignition and TurboFan for  because: Class literal
[enforcing Ignition and TurboFan for Middleware because: Call with spread argument
[enforcing Ignition and TurboFan for compose because: TryCatchStatement
[enforcing Ignition and TurboFan for installInspectorConsole because: TryCatchStatement
[enforcing Ignition and TurboFan for BufferList because: Class constructor function
[enforcing Ignition and TurboFan for log because: Rest parameters
[enforcing Ignition and TurboFan for formatValue because: TryCatchStatement
[enforcing Ignition and TurboFan for write because: TryCatchStatement
true
[enforcing Ignition and TurboFan for TickObject because: Class constructor function

@fundon
Copy link
Member Author

fundon commented Aug 30, 2017

v8.4.0

true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant