News for hackers. Stuff that matters.
Re:Type Profiling and Code Coverage Profiling for JavaScript by paulirish on Monday August 24, 2015 @10:13PM (#10114110)
We're excited by the code coverage profiler. Would probably help a lot with promises and async stuff. Not yet sure about the type annotations... give it a whirl in Safari and holler my way if its being awesome.
Re:Type Profiling and Code Coverage Profiling for JavaScript by noxa on Tuesday August 25, 2015 @12:44AM (#10114652)
Type profiling as they display it may be overkill, however easily seeing what and where code goes polymorphic and the chain that led to it being so is super useful in performance-sensitive areas. Having to dump hydrogen files and load up IRHydra is pretty much the opposite of fun, as nifty as it is ;(
Re:Type Profiling and Code Coverage Profiling for JavaScript by spankalee on Tuesday August 25, 2015 @12:40AM (#10114636)
Coverage is obviously great for testing too. Coverage tools in JavaScript are pretty horrific. It'd be awesome if the dev tools protocol allowed collecting coverage information.
Re:Type Profiling and Code Coverage Profiling for JavaScript by hatsix on Monday August 24, 2015 @10:58PM (#10114330)
If only Safari were multi-platform :-(
Re:Type Profiling and Code Coverage Profiling for JavaScript by om2 on Monday August 24, 2015 @11:38PM (#10114475)
It supports both platforms, iOS and Mac OS X!
Re:Type Profiling and Code Coverage Profiling for JavaScript by saamyjoon on Tuesday August 25, 2015 @01:41AM (#10114778)
The Type Profiler and Code Coverage Profiler are all part of WebKit, not Safari.