briancavalier / creed

Sophisticated and functionally-minded async with advanced features: coroutines, promises, ES2015 iterables, fantasy-land
https://briancavalier.github.io/creed
MIT License
273 stars 20 forks source link

Add async traces #124

Closed briancavalier closed 7 years ago

briancavalier commented 7 years ago

Add async traces (aka "long stack traces"). Uncaught errors will have an async stack trace attached. It uses a singleton stack (linked list) to track the current context. There is little to no perf impact when tracing is disabled. There is a reasonable (imho!) performance cost when tracing is enabled: about 3-4x cpu hit on node 6, which seems completely worth it when you need it!

New Internal APIs

New Public APIs

Todo

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 44d8fc4ce8eca7d4478d2b01c03e6cde753d5660 on add-async-trace into e931ce917802235d627b3eaf9ccc306b993ee522 on master.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling 691b06be681a30f10e8dd695fe94db6e43affada on add-async-trace into on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 691b06be681a30f10e8dd695fe94db6e43affada on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 39536a69838534f143ce67a6852157e92c08e78b on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling e0a477c96c5f7991a4aac7d880aa12f120c8c61f on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 35c3dc641fe1de62c1344e80557053cc40fade1e on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 8c069a3b716785f9d1b5d6a03f42789e0fb97c0a on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling d158370c9dcf508620f50971ebbed3ad6271b80e on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 1fe86b28e4a90bde29ffde3f67b04e6182def3ee on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 546b2177db6dda2a93d7b9b81136f6809fdc5a2b on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 699fd7a6fee5f41833f98dccc8b6c0f285c70a6d on add-async-trace into 658c6dfec7f822bf7f943fe1c4cc90461e5c4b75 on master.

unscriptable commented 7 years ago

nice. gonna use this asap! :)

briancavalier commented 7 years ago

Cool, it'll be great to get your feedback on it.