chuhai icon indicating copy to clipboard operation
chuhai copied to clipboard

Testing promises?

Open bitjson opened this issue 6 years ago • 0 comments

Thanks for the awesome library! I'm already using it for bitcoin-ts's benchmarks.

I'm trying to compare the performance of bitcoin-ts's WebAssembly hash digest algorithms against the built-in Window.crypto.subtle.digest method, which returns its result in a Promise.

I didn't see it in the documentation – what's the best way to test a promise with Chuhai?

Thanks!

bitjson avatar Jul 10 '18 14:07 bitjson