Live data from Hacker News

Type Profiling and Code Coverage Profiling for JavaScript

webkit.org

1–8 of 8 posts

Re: Type Profiling and Code Coverage Profiling for JavaScript

#3
post #2

pretty cool! as a mostly chrome user, i'd love to see this land in chrome devtools.

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

#4
post #2

pretty cool! as a mostly chrome user, i'd love to see this land in chrome devtools.

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.

If only Safari were multi-platform :-(

Re: Type Profiling and Code Coverage Profiling for JavaScript

#5
post #4

Earlier quoted context omitted.

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.

If only Safari were multi-platform :-(

It supports both platforms, iOS and Mac OS X!

Re: Type Profiling and Code Coverage Profiling for JavaScript

#6
post #2

pretty cool! as a mostly chrome user, i'd love to see this land in chrome devtools.

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.

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

#7
post #2

pretty cool! as a mostly chrome user, i'd love to see this land in chrome devtools.

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.

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

#8
post #4

Earlier quoted context omitted.

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.

If only Safari were multi-platform :-(

The Type Profiler and Code Coverage Profiler are all part of WebKit, not Safari.