Skip to content

stream: remove LazyTransform - #50440

Closed
ronag wants to merge 1 commit into
nodejs:mainfrom
nxtedition:rm-lazy-transform
Closed

stream: remove LazyTransform#50440
ronag wants to merge 1 commit into
nodejs:mainfrom
nxtedition:rm-lazy-transform

Conversation

@ronag

Copy link
Copy Markdown
Member

No longer necessary given recent stream and event optimziations.

Refs: #50428
Refs: #50439

@nodejs-github-bot

nodejs-github-bot commented Oct 28, 2023

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/startup
  • @nodejs/streams

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. labels Oct 28, 2023
@ronagronag added blocked PRs that are blocked by other issues or PRs. and removed c++ Issues and PRs that require attention from people who are familiar with C++. labels Oct 28, 2023
@ronag

Copy link
Copy Markdown
MemberAuthor

Waiting for #50428 which reduces the overhead of registering the prefinish handler in the Transform constructor.

@benjamingrbenjamingr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in principle

@ronagronag removed the blocked PRs that are blocked by other issues or PRs. label Oct 29, 2023
@ronagronag added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2023
@ronag

Copy link
Copy Markdown
MemberAuthor

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 29, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@H4ad

H4ad commented Oct 30, 2023

Copy link
Copy Markdown
Member

It doesn't seem like that's the case, benchmark results:

 confidence improvement accuracy (*) (**) (***)
crypto/aes-gcm-throughput.js len=1024 cipher='aes-128-gcm' n=500 *** -20.73 % ±6.73% ±8.95% ±11.65%
crypto/aes-gcm-throughput.js len=1024 cipher='aes-192-gcm' n=500 *** -25.26 % ±8.18% ±10.90% ±14.20%
crypto/aes-gcm-throughput.js len=1024 cipher='aes-256-gcm' n=500 *** -26.01 % ±8.06% ±10.75% ±14.04%
crypto/aes-gcm-throughput.js len=1048576 cipher='aes-128-gcm' n=500 -3.92 % ±3.99% ±5.31% ±6.92%
crypto/aes-gcm-throughput.js len=1048576 cipher='aes-192-gcm' n=500 -3.21 % ±4.06% ±5.40% ±7.04%
crypto/aes-gcm-throughput.js len=1048576 cipher='aes-256-gcm' n=500 -2.33 % ±3.38% ±4.50% ±5.86%
crypto/aes-gcm-throughput.js len=16384 cipher='aes-128-gcm' n=500 -4.59 % ±6.99% ±9.36% ±12.28%
crypto/aes-gcm-throughput.js len=16384 cipher='aes-192-gcm' n=500 *** -16.93 % ±8.48% ±11.29% ±14.71%
crypto/aes-gcm-throughput.js len=16384 cipher='aes-256-gcm' n=500 *** -16.58 % ±8.84% ±11.77% ±15.33%
crypto/aes-gcm-throughput.js len=262144 cipher='aes-128-gcm' n=500 -1.50 % ±8.12% ±10.80% ±14.06%
crypto/aes-gcm-throughput.js len=262144 cipher='aes-192-gcm' n=500 -0.92 % ±10.05% ±13.38% ±17.41%
crypto/aes-gcm-throughput.js len=262144 cipher='aes-256-gcm' n=500 -5.26 % ±9.45% ±12.57% ±16.36%
crypto/aes-gcm-throughput.js len=4096 cipher='aes-128-gcm' n=500 *** -16.19 % ±5.36% ±7.13% ±9.29%
crypto/aes-gcm-throughput.js len=4096 cipher='aes-192-gcm' n=500 *** -23.60 % ±8.19% ±10.91% ±14.22%
crypto/aes-gcm-throughput.js len=4096 cipher='aes-256-gcm' n=500 *** -17.07 % ±8.19% ±10.90% ±14.21%
crypto/aes-gcm-throughput.js len=65536 cipher='aes-128-gcm' n=500 *** -12.68 % ±5.59% ±7.46% ±9.76%
crypto/aes-gcm-throughput.js len=65536 cipher='aes-192-gcm' n=500 * -11.81 % ±8.93% ±11.89% ±15.48%
crypto/aes-gcm-throughput.js len=65536 cipher='aes-256-gcm' n=500 -8.07 % ±8.81% ±11.73% ±15.26%
crypto/cipher-stream.js api='legacy' len=1024 type='asc' cipher='AES192' writes=500 4.94 % ±7.27% ±9.69% ±12.65%
crypto/cipher-stream.js api='legacy' len=1024 type='asc' cipher='AES256' writes=500 1.16 % ±8.53% ±11.36% ±14.78%
crypto/cipher-stream.js api='legacy' len=1024 type='buf' cipher='AES192' writes=500 5.11 % ±9.52% ±12.67% ±16.50%
crypto/cipher-stream.js api='legacy' len=1024 type='buf' cipher='AES256' writes=500 -4.39 % ±8.82% ±11.74% ±15.28%
crypto/cipher-stream.js api='legacy' len=1024 type='utf' cipher='AES192' writes=500 0.88 % ±9.62% ±12.81% ±16.67%
crypto/cipher-stream.js api='legacy' len=1024 type='utf' cipher='AES256' writes=500 8.06 % ±8.96% ±11.92% ±15.52%
crypto/cipher-stream.js api='legacy' len=102400 type='asc' cipher='AES192' writes=500 3.52 % ±7.89% ±10.51% ±13.70%
crypto/cipher-stream.js api='legacy' len=102400 type='asc' cipher='AES256' writes=500 5.91 % ±9.23% ±12.28% ±15.98%
crypto/cipher-stream.js api='legacy' len=102400 type='buf' cipher='AES192' writes=500 7.34 % ±9.82% ±13.07% ±17.01%
crypto/cipher-stream.js api='legacy' len=102400 type='buf' cipher='AES256' writes=500 -7.41 % ±8.44% ±11.23% ±14.61%
crypto/cipher-stream.js api='legacy' len=102400 type='utf' cipher='AES192' writes=500 0.95 % ±9.33% ±12.42% ±16.17%
crypto/cipher-stream.js api='legacy' len=102400 type='utf' cipher='AES256' writes=500 -5.39 % ±8.55% ±11.38% ±14.82%
crypto/cipher-stream.js api='legacy' len=1048576 type='asc' cipher='AES192' writes=500 0.99 % ±1.91% ±2.55% ±3.32%
crypto/cipher-stream.js api='legacy' len=1048576 type='asc' cipher='AES256' writes=500 0.46 % ±1.65% ±2.20% ±2.87%
crypto/cipher-stream.js api='legacy' len=1048576 type='buf' cipher='AES192' writes=500 0.29 % ±2.20% ±2.93% ±3.81%
crypto/cipher-stream.js api='legacy' len=1048576 type='buf' cipher='AES256' writes=500 1.05 % ±1.47% ±1.95% ±2.54%
crypto/cipher-stream.js api='legacy' len=1048576 type='utf' cipher='AES192' writes=500 -0.50 % ±1.44% ±1.92% ±2.50%
crypto/cipher-stream.js api='legacy' len=1048576 type='utf' cipher='AES256' writes=500 0.21 % ±1.15% ±1.53% ±1.99%
crypto/cipher-stream.js api='legacy' len=2 type='asc' cipher='AES192' writes=500 4.63 % ±7.85% ±10.45% ±13.61%
crypto/cipher-stream.js api='legacy' len=2 type='asc' cipher='AES256' writes=500 * 11.00 % ±10.56% ±14.08% ±18.36%
crypto/cipher-stream.js api='legacy' len=2 type='buf' cipher='AES192' writes=500 2.93 % ±10.36% ±13.78% ±17.94%
crypto/cipher-stream.js api='legacy' len=2 type='buf' cipher='AES256' writes=500 -8.43 % ±10.32% ±13.74% ±17.88%
crypto/cipher-stream.js api='legacy' len=2 type='utf' cipher='AES192' writes=500 3.04 % ±8.94% ±11.89% ±15.47%
crypto/cipher-stream.js api='legacy' len=2 type='utf' cipher='AES256' writes=500 0.66 % ±10.31% ±13.72% ±17.86%
crypto/cipher-stream.js api='stream' len=1024 type='asc' cipher='AES192' writes=500 ** -11.31 % ±7.03% ±9.37% ±12.24%
crypto/cipher-stream.js api='stream' len=1024 type='asc' cipher='AES256' writes=500 * -11.32 % ±9.27% ±12.34% ±16.06%
crypto/cipher-stream.js api='stream' len=1024 type='buf' cipher='AES192' writes=500 7.22 % ±10.47% ±13.93% ±18.13%
crypto/cipher-stream.js api='stream' len=1024 type='buf' cipher='AES256' writes=500 9.05 % ±10.59% ±14.09% ±18.33%
crypto/cipher-stream.js api='stream' len=1024 type='utf' cipher='AES192' writes=500 -8.24 % ±9.67% ±12.86% ±16.74%
crypto/cipher-stream.js api='stream' len=1024 type='utf' cipher='AES256' writes=500 -4.76 % ±9.96% ±13.25% ±17.25%
crypto/cipher-stream.js api='stream' len=102400 type='asc' cipher='AES192' writes=500 -1.78 % ±8.55% ±11.38% ±14.81%
crypto/cipher-stream.js api='stream' len=102400 type='asc' cipher='AES256' writes=500 -2.21 % ±9.09% ±12.09% ±15.73%
crypto/cipher-stream.js api='stream' len=102400 type='buf' cipher='AES192' writes=500 -1.52 % ±9.80% ±13.04% ±16.98%
crypto/cipher-stream.js api='stream' len=102400 type='buf' cipher='AES256' writes=500 6.04 % ±9.13% ±12.15% ±15.81%
crypto/cipher-stream.js api='stream' len=102400 type='utf' cipher='AES192' writes=500 -5.34 % ±8.16% ±10.86% ±14.14%
crypto/cipher-stream.js api='stream' len=102400 type='utf' cipher='AES256' writes=500 -2.97 % ±7.82% ±10.40% ±13.54%
crypto/cipher-stream.js api='stream' len=1048576 type='asc' cipher='AES192' writes=500 *** -6.22 % ±1.28% ±1.70% ±2.21%
crypto/cipher-stream.js api='stream' len=1048576 type='asc' cipher='AES256' writes=500 *** -5.61 % ±0.99% ±1.31% ±1.71%
crypto/cipher-stream.js api='stream' len=1048576 type='buf' cipher='AES192' writes=500 0.26 % ±1.50% ±1.99% ±2.60%
crypto/cipher-stream.js api='stream' len=1048576 type='buf' cipher='AES256' writes=500 -0.36 % ±1.15% ±1.54% ±2.00%
crypto/cipher-stream.js api='stream' len=1048576 type='utf' cipher='AES192' writes=500 *** -8.97 % ±0.99% ±1.32% ±1.72%
crypto/cipher-stream.js api='stream' len=1048576 type='utf' cipher='AES256' writes=500 *** -8.34 % ±0.80% ±1.07% ±1.39%
crypto/cipher-stream.js api='stream' len=2 type='asc' cipher='AES192' writes=500 *** -12.86 % ±6.91% ±9.26% ±12.18%
crypto/cipher-stream.js api='stream' len=2 type='asc' cipher='AES256' writes=500 -0.16 % ±9.75% ±12.98% ±16.89%
crypto/cipher-stream.js api='stream' len=2 type='buf' cipher='AES192' writes=500 7.57 % ±10.57% ±14.06% ±18.31%
crypto/cipher-stream.js api='stream' len=2 type='buf' cipher='AES256' writes=500 -6.23 % ±9.53% ±12.68% ±16.50%
crypto/cipher-stream.js api='stream' len=2 type='utf' cipher='AES192' writes=500 2.10 % ±9.93% ±13.22% ±17.20%
crypto/cipher-stream.js api='stream' len=2 type='utf' cipher='AES256' writes=500 -3.94 % ±9.97% ±13.27% ±17.27%
crypto/create-keyobject.js n=1000 keyFormat='der-pkcs8' keyType='ec' 0.27 % ±2.42% ±3.22% ±4.20%
crypto/create-keyobject.js n=1000 keyFormat='der-pkcs8' keyType='ed25519' -0.18 % ±1.70% ±2.27% ±2.95%
crypto/create-keyobject.js n=1000 keyFormat='der-pkcs8' keyType='rsa' -1.57 % ±2.30% ±3.06% ±3.98%
crypto/create-keyobject.js n=1000 keyFormat='der-spki' keyType='ec' -0.66 % ±4.96% ±6.60% ±8.59%
crypto/create-keyobject.js n=1000 keyFormat='der-spki' keyType='ed25519' -1.61 % ±5.66% ±7.53% ±9.80%
crypto/create-keyobject.js n=1000 keyFormat='der-spki' keyType='rsa' 0.53 % ±4.70% ±6.26% ±8.15%
crypto/create-keyobject.js n=1000 keyFormat='jwk-private' keyType='ec' -0.70 % ±9.17% ±12.20% ±15.88%
crypto/create-keyobject.js n=1000 keyFormat='jwk-private' keyType='ed25519' -5.26 % ±9.07% ±12.08% ±15.74%
crypto/create-keyobject.js n=1000 keyFormat='jwk-private' keyType='rsa' 5.00 % ±9.70% ±12.91% ±16.80%
crypto/create-keyobject.js n=1000 keyFormat='jwk-public' keyType='ec' 3.57 % ±7.68% ±10.22% ±13.31%
crypto/create-keyobject.js n=1000 keyFormat='jwk-public' keyType='ed25519' -0.25 % ±8.85% ±11.78% ±15.33%
crypto/create-keyobject.js n=1000 keyFormat='jwk-public' keyType='rsa' 5.13 % ±9.04% ±12.02% ±15.65%
crypto/create-keyobject.js n=1000 keyFormat='pkcs8' keyType='ec' -1.03 % ±2.69% ±3.58% ±4.66%
crypto/create-keyobject.js n=1000 keyFormat='pkcs8' keyType='ed25519' 1.42 % ±1.80% ±2.40% ±3.13%
crypto/create-keyobject.js n=1000 keyFormat='pkcs8' keyType='rsa' -0.94 % ±1.72% ±2.29% ±2.99%
crypto/create-keyobject.js n=1000 keyFormat='spki' keyType='ec' 1.75 % ±5.70% ±7.58% ±9.87%
crypto/create-keyobject.js n=1000 keyFormat='spki' keyType='ed25519' 0.22 % ±5.75% ±7.65% ±9.96%
crypto/create-keyobject.js n=1000 keyFormat='spki' keyType='rsa' -3.81 % ±5.22% ±6.95% ±9.07%
crypto/get-ciphers.js v='crypto' n=1 -0.95 % ±6.69% ±8.91% ±11.61%
crypto/get-ciphers.js v='crypto' n=5000 * 4.03 % ±3.47% ±4.65% ±6.13%
crypto/get-ciphers.js v='tls' n=1 0.21 % ±2.16% ±2.88% ±3.74%
crypto/get-ciphers.js v='tls' n=5000 0.73 % ±1.76% ±2.34% ±3.05%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='asc' algo='md5' writes=500 *** -23.83 % ±8.04% ±10.71% ±13.96%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='asc' algo='sha256' writes=500 *** -32.47 % ±8.59% ±11.46% ±14.96%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='buf' algo='md5' writes=500 *** -31.48 % ±8.48% ±11.29% ±14.72%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='buf' algo='sha256' writes=500 *** -30.90 % ±8.60% ±11.46% ±14.95%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='utf' algo='md5' writes=500 *** -31.60 % ±8.42% ±11.23% ±14.66%
crypto/hash-stream-creation.js api='legacy' len=1024 out='binary' type='utf' algo='sha256' writes=500 *** -30.35 % ±9.16% ±12.22% ±15.98%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='asc' algo='md5' writes=500 *** -32.76 % ±8.47% ±11.30% ±14.79%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='asc' algo='sha256' writes=500 *** -28.96 % ±8.55% ±11.39% ±14.86%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='buf' algo='md5' writes=500 *** -36.59 % ±8.26% ±11.03% ±14.44%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='buf' algo='sha256' writes=500 *** -33.00 % ±8.13% ±10.83% ±14.13%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='utf' algo='md5' writes=500 *** -24.79 % ±8.68% ±11.56% ±15.07%
crypto/hash-stream-creation.js api='legacy' len=1024 out='buffer' type='utf' algo='sha256' writes=500 *** -28.72 % ±8.22% ±10.96% ±14.32%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='asc' algo='md5' writes=500 *** -30.78 % ±7.28% ±9.70% ±12.64%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='asc' algo='sha256' writes=500 *** -32.48 % ±7.05% ±9.43% ±12.37%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='buf' algo='md5' writes=500 *** -30.16 % ±8.43% ±11.23% ±14.64%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='buf' algo='sha256' writes=500 *** -28.58 % ±8.57% ±11.42% ±14.89%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='utf' algo='md5' writes=500 *** -29.48 % ±8.55% ±11.40% ±14.86%
crypto/hash-stream-creation.js api='legacy' len=1024 out='hex' type='utf' algo='sha256' writes=500 *** -25.65 % ±8.37% ±11.15% ±14.56%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='asc' algo='md5' writes=500 6.70 % ±10.96% ±14.59% ±18.99%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='asc' algo='sha256' writes=500 -5.88 % ±9.89% ±13.16% ±17.13%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='buf' algo='md5' writes=500 -9.40 % ±10.64% ±14.16% ±18.44%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='buf' algo='sha256' writes=500 -2.77 % ±10.05% ±13.37% ±17.40%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='utf' algo='md5' writes=500 -5.77 % ±10.42% ±13.86% ±18.04%
crypto/hash-stream-creation.js api='legacy' len=102400 out='binary' type='utf' algo='sha256' writes=500 -0.41 % ±9.18% ±12.22% ±15.90%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='asc' algo='md5' writes=500 -0.27 % ±11.11% ±14.78% ±19.24%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='asc' algo='sha256' writes=500 0.16 % ±9.73% ±12.95% ±16.86%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='buf' algo='md5' writes=500 -9.51 % ±11.01% ±14.65% ±19.07%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='buf' algo='sha256' writes=500 -4.22 % ±9.43% ±12.55% ±16.34%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='utf' algo='md5' writes=500 2.62 % ±10.95% ±14.57% ±18.97%
crypto/hash-stream-creation.js api='legacy' len=102400 out='buffer' type='utf' algo='sha256' writes=500 -2.65 % ±9.17% ±12.21% ±15.89%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='asc' algo='md5' writes=500 ** -13.05 % ±9.74% ±12.98% ±16.93%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='asc' algo='sha256' writes=500 -0.98 % ±7.57% ±10.08% ±13.11%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='buf' algo='md5' writes=500 -1.13 % ±11.23% ±14.94% ±19.44%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='buf' algo='sha256' writes=500 -0.04 % ±10.39% ±13.82% ±18.00%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='utf' algo='md5' writes=500 -3.37 % ±10.85% ±14.43% ±18.79%
crypto/hash-stream-creation.js api='legacy' len=102400 out='hex' type='utf' algo='sha256' writes=500 9.84 % ±9.89% ±13.16% ±17.13%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='asc' algo='md5' writes=500 1.60 % ±1.66% ±2.21% ±2.88%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='asc' algo='sha256' writes=500 -0.51 % ±1.10% ±1.46% ±1.90%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='buf' algo='md5' writes=500 -0.76 % ±2.09% ±2.78% ±3.61%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='buf' algo='sha256' writes=500 0.10 % ±1.22% ±1.63% ±2.12%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='utf' algo='md5' writes=500 0.97 % ±1.32% ±1.75% ±2.28%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='binary' type='utf' algo='sha256' writes=500 0.43 % ±0.88% ±1.17% ±1.52%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='asc' algo='md5' writes=500 0.48 % ±1.86% ±2.47% ±3.22%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='asc' algo='sha256' writes=500 0.14 % ±1.22% ±1.62% ±2.11%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='buf' algo='md5' writes=500 -1.81 % ±1.85% ±2.46% ±3.21%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='buf' algo='sha256' writes=500 -0.15 % ±1.14% ±1.52% ±1.98%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='utf' algo='md5' writes=500 -0.36 % ±1.45% ±1.93% ±2.51%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='buffer' type='utf' algo='sha256' writes=500 0.12 % ±0.98% ±1.31% ±1.70%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='asc' algo='md5' writes=500 ** -2.31 % ±1.61% ±2.14% ±2.78%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='asc' algo='sha256' writes=500 -0.77 % ±1.08% ±1.44% ±1.88%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='buf' algo='md5' writes=500 1.05 % ±1.83% ±2.43% ±3.16%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='buf' algo='sha256' writes=500 *** -1.94 % ±1.10% ±1.47% ±1.91%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='utf' algo='md5' writes=500 * 1.52 % ±1.26% ±1.68% ±2.20%
crypto/hash-stream-creation.js api='legacy' len=1048576 out='hex' type='utf' algo='sha256' writes=500 -0.04 % ±1.00% ±1.33% ±1.73%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='asc' algo='md5' writes=500 *** -32.04 % ±7.98% ±10.67% ±13.97%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='asc' algo='sha256' writes=500 *** -38.75 % ±8.03% ±10.71% ±14.02%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='buf' algo='md5' writes=500 *** -35.43 % ±8.28% ±11.04% ±14.41%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='buf' algo='sha256' writes=500 *** -38.53 % ±7.46% ±9.95% ±12.99%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='utf' algo='md5' writes=500 *** -40.41 % ±7.74% ±10.33% ±13.52%
crypto/hash-stream-creation.js api='legacy' len=2 out='binary' type='utf' algo='sha256' writes=500 *** -41.00 % ±8.36% ±11.16% ±14.60%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='asc' algo='md5' writes=500 *** -37.47 % ±8.40% ±11.21% ±14.66%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='asc' algo='sha256' writes=500 *** -32.83 % ±8.17% ±10.90% ±14.26%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='buf' algo='md5' writes=500 *** -33.41 % ±8.16% ±10.87% ±14.18%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='buf' algo='sha256' writes=500 *** -34.77 % ±8.53% ±11.37% ±14.84%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='utf' algo='md5' writes=500 *** -36.15 % ±8.27% ±11.04% ±14.43%
crypto/hash-stream-creation.js api='legacy' len=2 out='buffer' type='utf' algo='sha256' writes=500 *** -36.65 % ±8.61% ±11.50% ±15.04%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='asc' algo='md5' writes=500 *** -35.39 % ±8.74% ±11.67% ±15.27%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='asc' algo='sha256' writes=500 *** -34.93 % ±3.80% ±5.06% ±6.59%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='buf' algo='md5' writes=500 *** -38.59 % ±7.77% ±10.37% ±13.56%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='buf' algo='sha256' writes=500 *** -33.79 % ±8.43% ±11.26% ±14.73%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='utf' algo='md5' writes=500 *** -41.43 % ±7.83% ±10.46% ±13.71%
crypto/hash-stream-creation.js api='legacy' len=2 out='hex' type='utf' algo='sha256' writes=500 *** -36.82 % ±7.94% ±10.61% ±13.87%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='asc' algo='md5' writes=500 3.37 % ±8.21% ±10.92% ±14.22%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='asc' algo='sha256' writes=500 3.21 % ±8.53% ±11.35% ±14.78%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='buf' algo='md5' writes=500 2.97 % ±8.55% ±11.38% ±14.81%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='buf' algo='sha256' writes=500 ** 11.58 % ±8.68% ±11.55% ±15.04%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='utf' algo='md5' writes=500 1.51 % ±8.83% ±11.75% ±15.29%
crypto/hash-stream-creation.js api='stream' len=1024 out='binary' type='utf' algo='sha256' writes=500 -1.19 % ±8.37% ±11.13% ±14.49%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='asc' algo='md5' writes=500 4.34 % ±8.87% ±11.80% ±15.37%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='asc' algo='sha256' writes=500 5.01 % ±9.22% ±12.26% ±15.97%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='buf' algo='md5' writes=500 * 11.83 % ±9.23% ±12.28% ±15.99%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='buf' algo='sha256' writes=500 *** 19.46 % ±8.93% ±11.88% ±15.48%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='utf' algo='md5' writes=500 4.47 % ±8.50% ±11.32% ±14.73%
crypto/hash-stream-creation.js api='stream' len=1024 out='buffer' type='utf' algo='sha256' writes=500 ** 13.53 % ±8.76% ±11.66% ±15.18%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='asc' algo='md5' writes=500 2.79 % ±8.91% ±11.86% ±15.44%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='asc' algo='sha256' writes=500 4.05 % ±6.81% ±9.06% ±11.80%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='buf' algo='md5' writes=500 3.14 % ±8.85% ±11.78% ±15.33%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='buf' algo='sha256' writes=500 *** 16.77 % ±9.25% ±12.30% ±16.02%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='utf' algo='md5' writes=500 -3.10 % ±8.15% ±10.85% ±14.12%
crypto/hash-stream-creation.js api='stream' len=1024 out='hex' type='utf' algo='sha256' writes=500 -1.89 % ±8.69% ±11.57% ±15.06%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='asc' algo='md5' writes=500 * -11.11 % ±8.99% ±11.96% ±15.58%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='asc' algo='sha256' writes=500 -5.28 % ±7.58% ±10.09% ±13.14%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='buf' algo='md5' writes=500 4.61 % ±10.40% ±13.84% ±18.01%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='buf' algo='sha256' writes=500 2.25 % ±8.73% ±11.61% ±15.11%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='utf' algo='md5' writes=500 ** -11.33 % ±8.29% ±11.04% ±14.38%
crypto/hash-stream-creation.js api='stream' len=102400 out='binary' type='utf' algo='sha256' writes=500 *** -12.88 % ±7.05% ±9.39% ±12.22%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='asc' algo='md5' writes=500 * -12.06 % ±9.74% ±12.97% ±16.90%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='asc' algo='sha256' writes=500 * -9.62 % ±8.42% ±11.20% ±14.59%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='buf' algo='md5' writes=500 3.94 % ±10.89% ±14.48% ±18.85%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='buf' algo='sha256' writes=500 2.14 % ±9.67% ±12.87% ±16.75%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='utf' algo='md5' writes=500 *** -14.91 % ±8.04% ±10.71% ±13.95%
crypto/hash-stream-creation.js api='stream' len=102400 out='buffer' type='utf' algo='sha256' writes=500 * -9.31 % ±7.26% ±9.66% ±12.58%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='asc' algo='md5' writes=500 -6.04 % ±9.81% ±13.06% ±17.00%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='asc' algo='sha256' writes=500 -6.40 % ±7.61% ±10.13% ±13.18%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='buf' algo='md5' writes=500 -0.38 % ±10.29% ±13.69% ±17.82%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='buf' algo='sha256' writes=500 8.16 % ±9.05% ±12.04% ±15.68%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='utf' algo='md5' writes=500 * -10.16 % ±8.95% ±11.91% ±15.52%
crypto/hash-stream-creation.js api='stream' len=102400 out='hex' type='utf' algo='sha256' writes=500 ** -11.06 % ±7.30% ±9.72% ±12.66%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='asc' algo='md5' writes=500 *** -10.80 % ±1.63% ±2.17% ±2.83%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='asc' algo='sha256' writes=500 *** -7.98 % ±1.09% ±1.44% ±1.88%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='buf' algo='md5' writes=500 -0.64 % ±1.56% ±2.07% ±2.70%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='buf' algo='sha256' writes=500 0.03 % ±1.01% ±1.34% ±1.74%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='utf' algo='md5' writes=500 *** -15.15 % ±1.11% ±1.48% ±1.93%
crypto/hash-stream-creation.js api='stream' len=1048576 out='binary' type='utf' algo='sha256' writes=500 *** -9.84 % ±0.78% ±1.04% ±1.35%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='asc' algo='md5' writes=500 *** -8.39 % ±1.54% ±2.05% ±2.67%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='asc' algo='sha256' writes=500 *** -5.89 % ±1.08% ±1.44% ±1.88%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='buf' algo='md5' writes=500 -0.06 % ±1.45% ±1.93% ±2.52%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='buf' algo='sha256' writes=500 0.87 % ±0.95% ±1.26% ±1.64%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='utf' algo='md5' writes=500 *** -15.86 % ±0.97% ±1.29% ±1.68%
crypto/hash-stream-creation.js api='stream' len=1048576 out='buffer' type='utf' algo='sha256' writes=500 *** -10.02 % ±0.70% ±0.93% ±1.22%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='asc' algo='md5' writes=500 *** -11.81 % ±1.53% ±2.03% ±2.65%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='asc' algo='sha256' writes=500 *** -6.60 % ±1.03% ±1.37% ±1.78%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='buf' algo='md5' writes=500 0.86 % ±1.32% ±1.76% ±2.29%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='buf' algo='sha256' writes=500 -0.07 % ±0.99% ±1.31% ±1.71%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='utf' algo='md5' writes=500 *** -14.25 % ±1.06% ±1.41% ±1.84%
crypto/hash-stream-creation.js api='stream' len=1048576 out='hex' type='utf' algo='sha256' writes=500 *** -9.99 % ±0.68% ±0.91% ±1.18%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='asc' algo='md5' writes=500 4.23 % ±9.61% ±12.79% ±16.64%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='asc' algo='sha256' writes=500 8.07 % ±9.25% ±12.31% ±16.02%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='buf' algo='md5' writes=500 * 11.85 % ±9.24% ±12.29% ±15.99%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='buf' algo='sha256' writes=500 * 9.93 % ±9.29% ±12.35% ±16.08%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='utf' algo='md5' writes=500 -3.88 % ±8.36% ±11.12% ±14.47%
crypto/hash-stream-creation.js api='stream' len=2 out='binary' type='utf' algo='sha256' writes=500 4.79 % ±9.11% ±12.12% ±15.78%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='asc' algo='md5' writes=500 * 11.34 % ±9.11% ±12.12% ±15.78%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='asc' algo='sha256' writes=500 -2.83 % ±8.11% ±10.79% ±14.05%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='buf' algo='md5' writes=500 *** 17.07 % ±9.61% ±12.79% ±16.64%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='buf' algo='sha256' writes=500 *** 16.92 % ±9.58% ±12.75% ±16.60%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='utf' algo='md5' writes=500 5.10 % ±9.41% ±12.52% ±16.29%
crypto/hash-stream-creation.js api='stream' len=2 out='buffer' type='utf' algo='sha256' writes=500 *** 18.44 % ±9.95% ±13.25% ±17.27%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='asc' algo='md5' writes=500 6.28 % ±8.70% ±11.57% ±15.06%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='asc' algo='sha256' writes=500 * 6.45 % ±5.75% ±7.66% ±9.97%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='buf' algo='md5' writes=500 8.01 % ±9.38% ±12.48% ±16.25%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='buf' algo='sha256' writes=500 6.78 % ±9.36% ±12.45% ±16.21%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='utf' algo='md5' writes=500 -0.25 % ±9.73% ±12.95% ±16.85%
crypto/hash-stream-creation.js api='stream' len=2 out='hex' type='utf' algo='sha256' writes=500 0.64 % ±9.06% ±12.06% ±15.69%
crypto/hash-stream-creation2.js algo='md5' n=10000 *** 17.47 % ±6.76% ±9.00% ±11.75%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='asc' algo='sha1' writes=500 *** -15.23 % ±6.67% ±8.88% ±11.55%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='asc' algo='sha256' writes=500 * -14.42 % ±11.48% ±15.28% ±19.89%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='asc' algo='sha512' writes=500 -10.75 % ±11.54% ±15.36% ±19.99%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='buf' algo='sha1' writes=500 *** -19.80 % ±10.98% ±14.62% ±19.04%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='buf' algo='sha256' writes=500 *** -19.80 % ±10.18% ±13.58% ±17.75%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='buf' algo='sha512' writes=500 -8.31 % ±11.18% ±14.87% ±19.35%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='utf' algo='sha1' writes=500 ** -16.57 % ±11.19% ±14.91% ±19.44%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='utf' algo='sha256' writes=500 * -13.59 % ±11.04% ±14.70% ±19.14%
crypto/hash-stream-throughput.js api='legacy' len=1024 type='utf' algo='sha512' writes=500 * -11.61 % ±11.51% ±15.31% ±19.93%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='asc' algo='sha1' writes=500 -0.24 % ±8.29% ±11.03% ±14.35%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='asc' algo='sha256' writes=500 -5.32 % ±9.82% ±13.06% ±17.00%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='asc' algo='sha512' writes=500 -1.65 % ±11.45% ±15.23% ±19.83%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='buf' algo='sha1' writes=500 -6.15 % ±11.17% ±14.86% ±19.34%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='buf' algo='sha256' writes=500 -1.76 % ±10.39% ±13.82% ±18.00%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='buf' algo='sha512' writes=500 8.60 % ±12.17% ±16.19% ±21.08%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='utf' algo='sha1' writes=500 ** 18.66 % ±12.49% ±16.63% ±21.65%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='utf' algo='sha256' writes=500 -0.01 % ±9.36% ±12.45% ±16.21%
crypto/hash-stream-throughput.js api='legacy' len=102400 type='utf' algo='sha512' writes=500 7.81 % ±11.32% ±15.06% ±19.60%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='asc' algo='sha1' writes=500 -0.45 % ±1.84% ±2.46% ±3.21%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='asc' algo='sha256' writes=500 -0.66 % ±0.99% ±1.31% ±1.71%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='asc' algo='sha512' writes=500 -0.60 % ±1.77% ±2.35% ±3.07%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='buf' algo='sha1' writes=500 -0.35 % ±2.64% ±3.52% ±4.58%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='buf' algo='sha256' writes=500 -0.39 % ±1.14% ±1.51% ±1.97%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='buf' algo='sha512' writes=500 ** -2.86 % ±1.67% ±2.22% ±2.90%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='utf' algo='sha1' writes=500 -1.20 % ±1.87% ±2.49% ±3.24%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='utf' algo='sha256' writes=500 ** -1.42 % ±0.91% ±1.21% ±1.57%
crypto/hash-stream-throughput.js api='legacy' len=1048576 type='utf' algo='sha512' writes=500 0.11 % ±1.53% ±2.03% ±2.65%
crypto/hash-stream-throughput.js api='legacy' len=2 type='asc' algo='sha1' writes=500 *** -20.74 % ±9.04% ±12.04% ±15.69%
crypto/hash-stream-throughput.js api='legacy' len=2 type='asc' algo='sha256' writes=500 *** -27.98 % ±10.98% ±14.63% ±19.10%
crypto/hash-stream-throughput.js api='legacy' len=2 type='asc' algo='sha512' writes=500 * -15.38 % ±12.17% ±16.20% ±21.12%
crypto/hash-stream-throughput.js api='legacy' len=2 type='buf' algo='sha1' writes=500 *** -32.97 % ±10.75% ±14.33% ±18.72%
crypto/hash-stream-throughput.js api='legacy' len=2 type='buf' algo='sha256' writes=500 *** -34.95 % ±10.82% ±14.44% ±18.87%
crypto/hash-stream-throughput.js api='legacy' len=2 type='buf' algo='sha512' writes=500 *** -36.73 % ±9.56% ±12.74% ±16.65%
crypto/hash-stream-throughput.js api='legacy' len=2 type='utf' algo='sha1' writes=500 *** -32.07 % ±11.36% ±15.14% ±19.78%
crypto/hash-stream-throughput.js api='legacy' len=2 type='utf' algo='sha256' writes=500 *** -25.92 % ±11.41% ±15.21% ±19.86%
crypto/hash-stream-throughput.js api='legacy' len=2 type='utf' algo='sha512' writes=500 *** -34.88 % ±10.47% ±13.95% ±18.18%
crypto/hash-stream-throughput.js api='stream' len=1024 type='asc' algo='sha1' writes=500 *** -11.65 % ±1.93% ±2.56% ±3.34%
crypto/hash-stream-throughput.js api='stream' len=1024 type='asc' algo='sha256' writes=500 * -10.74 % ±9.79% ±13.03% ±16.98%
crypto/hash-stream-throughput.js api='stream' len=1024 type='asc' algo='sha512' writes=500 ** -14.45 % ±9.09% ±12.11% ±15.77%
crypto/hash-stream-throughput.js api='stream' len=1024 type='buf' algo='sha1' writes=500 5.12 % ±10.77% ±14.33% ±18.65%
crypto/hash-stream-throughput.js api='stream' len=1024 type='buf' algo='sha256' writes=500 -2.10 % ±10.91% ±14.52% ±18.90%
crypto/hash-stream-throughput.js api='stream' len=1024 type='buf' algo='sha512' writes=500 2.52 % ±11.02% ±14.66% ±19.08%
crypto/hash-stream-throughput.js api='stream' len=1024 type='utf' algo='sha1' writes=500 ** -15.03 % ±9.16% ±12.20% ±15.89%
crypto/hash-stream-throughput.js api='stream' len=1024 type='utf' algo='sha256' writes=500 -9.33 % ±9.62% ±12.80% ±16.67%
crypto/hash-stream-throughput.js api='stream' len=1024 type='utf' algo='sha512' writes=500 *** -17.96 % ±9.01% ±12.01% ±15.66%
crypto/hash-stream-throughput.js api='stream' len=102400 type='asc' algo='sha1' writes=500 *** -23.17 % ±6.40% ±8.51% ±11.08%
crypto/hash-stream-throughput.js api='stream' len=102400 type='asc' algo='sha256' writes=500 * -10.51 % ±7.99% ±10.65% ±13.90%
crypto/hash-stream-throughput.js api='stream' len=102400 type='asc' algo='sha512' writes=500 *** -17.20 % ±9.90% ±13.18% ±17.19%
crypto/hash-stream-throughput.js api='stream' len=102400 type='buf' algo='sha1' writes=500 0.24 % ±11.70% ±15.56% ±20.26%
crypto/hash-stream-throughput.js api='stream' len=102400 type='buf' algo='sha256' writes=500 1.21 % ±10.26% ±13.65% ±17.77%
crypto/hash-stream-throughput.js api='stream' len=102400 type='buf' algo='sha512' writes=500 0.61 % ±11.68% ±15.54% ±20.22%
crypto/hash-stream-throughput.js api='stream' len=102400 type='utf' algo='sha1' writes=500 ** -16.44 % ±9.79% ±13.04% ±17.01%
crypto/hash-stream-throughput.js api='stream' len=102400 type='utf' algo='sha256' writes=500 -6.10 % ±7.43% ±9.91% ±12.94%
crypto/hash-stream-throughput.js api='stream' len=102400 type='utf' algo='sha512' writes=500 * -10.06 % ±9.64% ±12.83% ±16.71%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='asc' algo='sha1' writes=500 *** -11.17 % ±1.77% ±2.36% ±3.08%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='asc' algo='sha256' writes=500 *** -6.68 % ±1.19% ±1.58% ±2.06%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='asc' algo='sha512' writes=500 *** -8.13 % ±1.47% ±1.96% ±2.56%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='buf' algo='sha1' writes=500 -0.51 % ±1.97% ±2.62% ±3.41%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='buf' algo='sha256' writes=500 -0.04 % ±1.02% ±1.35% ±1.76%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='buf' algo='sha512' writes=500 -0.09 % ±1.23% ±1.64% ±2.14%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='utf' algo='sha1' writes=500 *** -12.30 % ±1.27% ±1.69% ±2.20%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='utf' algo='sha256' writes=500 *** -8.11 % ±0.77% ±1.02% ±1.33%
crypto/hash-stream-throughput.js api='stream' len=1048576 type='utf' algo='sha512' writes=500 *** -10.91 % ±1.08% ±1.44% ±1.88%
crypto/hash-stream-throughput.js api='stream' len=2 type='asc' algo='sha1' writes=500 *** -27.30 % ±7.48% ±10.04% ±13.24%
crypto/hash-stream-throughput.js api='stream' len=2 type='asc' algo='sha256' writes=500 *** -19.43 % ±9.22% ±12.27% ±15.99%
crypto/hash-stream-throughput.js api='stream' len=2 type='asc' algo='sha512' writes=500 *** -24.25 % ±9.38% ±12.51% ±16.35%
crypto/hash-stream-throughput.js api='stream' len=2 type='buf' algo='sha1' writes=500 -3.64 % ±11.40% ±15.16% ±19.74%
crypto/hash-stream-throughput.js api='stream' len=2 type='buf' algo='sha256' writes=500 6.59 % ±11.38% ±15.15% ±19.71%
crypto/hash-stream-throughput.js api='stream' len=2 type='buf' algo='sha512' writes=500 -5.47 % ±10.37% ±13.80% ±17.96%
crypto/hash-stream-throughput.js api='stream' len=2 type='utf' algo='sha1' writes=500 *** -21.62 % ±9.54% ±12.71% ±16.59%
crypto/hash-stream-throughput.js api='stream' len=2 type='utf' algo='sha256' writes=500 ** -16.93 % ±9.79% ±13.04% ±17.01%
crypto/hash-stream-throughput.js api='stream' len=2 type='utf' algo='sha512' writes=500 *** -20.52 % ±9.47% ±12.62% ±16.48%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=10 sync=0 3.41 % ±5.71% ±7.60% ±9.90%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=10 sync=1 -1.19 % ±1.26% ±1.68% ±2.19%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=1024 sync=0 1.07 % ±2.34% ±3.12% ±4.06%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=1024 sync=1 -0.01 % ±5.83% ±7.75% ±10.09%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=64 sync=0 -0.65 % ±2.50% ±3.32% ±4.32%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='a' size=64 sync=1 -1.27 % ±3.69% ±4.96% ±6.55%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=10 sync=0 -3.06 % ±4.42% ±5.88% ±7.66%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=10 sync=1 1.83 % ±3.05% ±4.09% ±5.38%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=1024 sync=0 * 2.07 % ±1.89% ±2.51% ±3.28%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=1024 sync=1 -2.13 % ±8.25% ±10.97% ±14.28%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=64 sync=0 -0.95 % ±2.54% ±3.38% ±4.40%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='secret' size=64 sync=1 -0.30 % ±4.01% ±5.35% ±6.97%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=10 sync=0 0.59 % ±4.85% ±6.48% ±8.50%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=10 sync=1 1.83 % ±3.31% ±4.45% ±5.88%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=1024 sync=0 0.77 % ±1.65% ±2.20% ±2.86%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=1024 sync=1 3.53 % ±8.14% ±10.84% ±14.12%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=64 sync=0 0.34 % ±2.32% ±3.08% ±4.01%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='' key='this-is-a-much-longer-secret' size=64 sync=1 0.06 % ±3.63% ±4.83% ±6.30%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=10 sync=0 0.98 % ±4.29% ±5.74% ±7.53%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=10 sync=1 -0.85 % ±1.55% ±2.07% ±2.69%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=1024 sync=0 * 2.33 % ±2.27% ±3.02% ±3.93%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=1024 sync=1 -1.51 % ±6.66% ±8.87% ±11.54%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=64 sync=0 -2.29 % ±2.89% ±3.85% ±5.01%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='a' size=64 sync=1 -2.98 % ±3.63% ±4.87% ±6.41%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=10 sync=0 1.07 % ±4.11% ±5.51% ±7.24%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=10 sync=1 -0.14 % ±3.18% ±4.26% ±5.61%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=1024 sync=0 ** 2.11 % ±1.47% ±1.96% ±2.55%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=1024 sync=1 2.04 % ±8.79% ±11.69% ±15.22%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=64 sync=0 1.40 % ±3.42% ±4.55% ±5.92%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='secret' size=64 sync=1 -0.16 % ±4.00% ±5.33% ±6.94%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=0 1.82 % ±2.64% ±3.51% ±4.58%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=1 0.26 % ±1.41% ±1.88% ±2.44%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=0 1.02 % ±1.44% ±1.92% ±2.50%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=1 -0.01 % ±8.54% ±11.36% ±14.78%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=0 0.68 % ±2.46% ±3.27% ±4.26%
crypto/hkdf.js n=1000 hash='sha256' info='' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=1 -0.72 % ±4.89% ±6.52% ±8.50%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=10 sync=0 2.95 % ±5.19% ±6.90% ±8.98%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=10 sync=1 1.38 % ±1.63% ±2.17% ±2.83%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=1024 sync=0 * 2.23 % ±2.02% ±2.69% ±3.51%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=1024 sync=1 -1.07 % ±5.44% ±7.24% ±9.44%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=64 sync=0 -0.77 % ±3.24% ±4.31% ±5.61%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='a' size=64 sync=1 -1.16 % ±4.53% ±6.05% ±7.91%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=10 sync=0 0.53 % ±2.90% ±3.86% ±5.04%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=10 sync=1 2.43 % ±3.10% ±4.15% ±5.44%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=1024 sync=0 ** 2.90 % ±1.76% ±2.34% ±3.04%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=1024 sync=1 2.83 % ±8.51% ±11.33% ±14.76%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=64 sync=0 0.94 % ±2.60% ±3.46% ±4.50%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='secret' size=64 sync=1 -1.99 % ±4.79% ±6.39% ±8.36%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=10 sync=0 2.62 % ±3.11% ±4.14% ±5.39%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=10 sync=1 1.96 % ±2.87% ±3.83% ±5.03%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=1024 sync=0 0.62 % ±2.64% ±3.52% ±4.58%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=1024 sync=1 3.22 % ±8.96% ±11.93% ±15.53%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=64 sync=0 0.28 % ±3.10% ±4.13% ±5.38%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='' key='this-is-a-much-longer-secret' size=64 sync=1 0.30 % ±4.17% ±5.55% ±7.23%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=10 sync=0 2.11 % ±3.71% ±4.94% ±6.44%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=10 sync=1 0.66 % ±3.02% ±4.05% ±5.32%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=1024 sync=0 1.28 % ±1.86% ±2.48% ±3.23%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=1024 sync=1 -4.62 % ±7.95% ±10.59% ±13.80%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=64 sync=0 -0.99 % ±2.71% ±3.61% ±4.70%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='a' size=64 sync=1 0.07 % ±3.23% ±4.33% ±5.68%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=10 sync=0 1.77 % ±2.80% ±3.74% ±4.89%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=10 sync=1 1.82 % ±3.44% ±4.61% ±6.07%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=1024 sync=0 -0.33 % ±2.19% ±2.93% ±3.83%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=1024 sync=1 -3.55 % ±8.12% ±10.81% ±14.07%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=64 sync=0 -0.33 % ±2.99% ±3.98% ±5.18%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='secret' size=64 sync=1 -0.54 % ±3.77% ±5.02% ±6.53%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=0 -1.40 % ±4.29% ±5.73% ±7.51%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=1 -0.20 % ±1.52% ±2.02% ±2.64%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=0 -0.09 % ±1.41% ±1.87% ±2.44%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=1 8.88 % ±9.48% ±12.62% ±16.44%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=0 -1.05 % ±2.99% ±3.98% ±5.18%
crypto/hkdf.js n=1000 hash='sha256' info='info' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=1 -0.71 % ±5.13% ±6.82% ±8.88%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=10 sync=0 0.93 % ±3.02% ±4.01% ±5.23%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=10 sync=1 -0.62 % ±1.70% ±2.26% ±2.95%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=1024 sync=0 0.94 % ±1.78% ±2.37% ±3.08%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=1024 sync=1 1.05 % ±6.05% ±8.05% ±10.49%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=64 sync=0 0.64 % ±2.84% ±3.78% ±4.92%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='a' size=64 sync=1 0.29 % ±2.58% ±3.45% ±4.54%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=10 sync=0 0.11 % ±4.42% ±5.92% ±7.78%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=10 sync=1 -0.52 % ±1.41% ±1.88% ±2.44%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=1024 sync=0 0.54 % ±1.52% ±2.03% ±2.65%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=1024 sync=1 -4.18 % ±7.90% ±10.52% ±13.71%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=64 sync=0 -1.33 % ±2.54% ±3.38% ±4.40%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='secret' size=64 sync=1 1.09 % ±4.36% ±5.81% ±7.56%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=10 sync=0 0.28 % ±2.48% ±3.30% ±4.30%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=10 sync=1 -0.40 % ±3.16% ±4.23% ±5.55%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=1024 sync=0 1.77 % ±2.27% ±3.03% ±3.98%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=1024 sync=1 -4.62 % ±8.77% ±11.67% ±15.19%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=64 sync=0 1.28 % ±2.92% ±3.89% ±5.07%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='' key='this-is-a-much-longer-secret' size=64 sync=1 -0.93 % ±3.87% ±5.15% ±6.70%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=10 sync=0 * 5.12 % ±4.68% ±6.26% ±8.19%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=10 sync=1 -0.32 % ±1.84% ±2.46% ±3.20%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=1024 sync=0 1.94 % ±1.99% ±2.64% ±3.44%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=1024 sync=1 -2.07 % ±7.50% ±9.98% ±13.01%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=64 sync=0 1.33 % ±3.36% ±4.47% ±5.82%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='a' size=64 sync=1 -1.29 % ±6.12% ±8.14% ±10.61%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=10 sync=0 0.37 % ±3.51% ±4.68% ±6.10%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=10 sync=1 -0.09 % ±1.61% ±2.14% ±2.79%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=1024 sync=0 ** 4.41 % ±2.81% ±3.75% ±4.89%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=1024 sync=1 -1.29 % ±8.68% ±11.55% ±15.03%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=64 sync=0 1.89 % ±2.61% ±3.48% ±4.54%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='secret' size=64 sync=1 -1.08 % ±4.38% ±5.83% ±7.58%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=0 -0.32 % ±2.21% ±2.94% ±3.83%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=1 -3.55 % ±4.13% ±5.54% ±7.29%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=0 0.53 % ±4.05% ±5.39% ±7.02%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=1 * -8.36 % ±7.55% ±10.08% ±13.19%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=0 1.65 % ±3.37% ±4.49% ±5.84%
crypto/hkdf.js n=1000 hash='sha512' info='' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=1 -4.48 % ±4.85% ±6.52% ±8.61%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=10 sync=0 2.46 % ±3.87% ±5.16% ±6.73%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=10 sync=1 -0.20 % ±1.82% ±2.42% ±3.15%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=1024 sync=0 -1.13 % ±2.75% ±3.66% ±4.78%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=1024 sync=1 -1.55 % ±6.95% ±9.25% ±12.04%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=64 sync=0 -0.83 % ±3.20% ±4.25% ±5.54%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='a' size=64 sync=1 1.86 % ±4.51% ±6.00% ±7.82%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=10 sync=0 1.57 % ±2.96% ±3.95% ±5.15%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=10 sync=1 0.19 % ±2.07% ±2.75% ±3.58%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=1024 sync=0 1.23 % ±4.13% ±5.49% ±7.15%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=1024 sync=1 -3.90 % ±8.14% ±10.84% ±14.10%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=64 sync=0 2.69 % ±3.31% ±4.41% ±5.73%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='secret' size=64 sync=1 4.04 % ±4.79% ±6.39% ±8.35%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=10 sync=0 -0.11 % ±2.67% ±3.55% ±4.63%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=10 sync=1 0.58 % ±3.49% ±4.68% ±6.16%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=1024 sync=0 0.60 % ±2.42% ±3.22% ±4.19%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=1024 sync=1 -2.04 % ±7.03% ±9.35% ±12.17%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=64 sync=0 * -2.87 % ±2.85% ±3.79% ±4.93%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='' key='this-is-a-much-longer-secret' size=64 sync=1 -0.31 % ±5.06% ±6.75% ±8.82%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=10 sync=0 -2.45 % ±4.23% ±5.64% ±7.37%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=10 sync=1 0.13 % ±1.84% ±2.46% ±3.21%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=1024 sync=0 0.75 % ±1.68% ±2.24% ±2.92%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=1024 sync=1 -1.77 % ±7.95% ±10.58% ±13.78%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=64 sync=0 -1.21 % ±3.05% ±4.06% ±5.29%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='a' size=64 sync=1 -0.82 % ±5.94% ±7.90% ±10.28%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=10 sync=0 -1.84 % ±2.95% ±3.93% ±5.12%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=10 sync=1 -1.09 % ±3.58% ±4.77% ±6.21%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=1024 sync=0 * 3.97 % ±3.40% ±4.55% ±5.97%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=1024 sync=1 -5.09 % ±8.26% ±11.00% ±14.34%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=64 sync=0 1.98 % ±3.55% ±4.72% ±6.15%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='secret' size=64 sync=1 -1.38 % ±4.76% ±6.33% ±8.25%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=0 1.38 % ±2.93% ±3.91% ±5.09%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=10 sync=1 -1.90 % ±4.71% ±6.29% ±8.21%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=0 0.15 % ±1.66% ±2.21% ±2.88%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=1024 sync=1 -5.58 % ±7.87% ±10.48% ±13.65%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=0 0.69 % ±3.61% ±4.81% ±6.26%
crypto/hkdf.js n=1000 hash='sha512' info='info' salt='salt' key='this-is-a-much-longer-secret' size=64 sync=1 -2.14 % ±4.63% ±6.17% ±8.05%
crypto/keygen.js n=100 method='dsaAsync' 3.08 % ±3.32% ±4.41% ±5.74%
crypto/keygen.js n=100 method='dsaSync' 1.69 % ±3.41% ±4.54% ±5.92%
crypto/keygen.js n=100 method='rsaAsync' 0.34 % ±4.40% ±5.86% ±7.64%
crypto/keygen.js n=100 method='rsaSync' 1.14 % ±2.01% ±2.68% ±3.49%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async-parallel' keyType='ec' -0.20 % ±0.45% ±0.60% ±0.78%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async-parallel' keyType='ed25519' 0.15 % ±0.44% ±0.59% ±0.77%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async-parallel' keyType='rsa' 0.05 % ±0.48% ±0.65% ±0.85%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async' keyType='ec' 0.55 % ±0.69% ±0.92% ±1.20%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async' keyType='ed25519' -0.09 % ±0.92% ±1.22% ±1.59%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='async' keyType='rsa' -0.16 % ±1.29% ±1.71% ±2.23%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='sync' keyType='ec' 0.20 % ±0.41% ±0.54% ±0.71%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='sync' keyType='ed25519' 0.37 % ±0.51% ±0.68% ±0.88%
crypto/oneshot-sign.js n=1000 keyFormat='der' mode='sync' keyType='rsa' -0.07 % ±0.14% ±0.18% ±0.24%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='ec' -1.46 % ±2.47% ±3.32% ±4.36%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='ed25519' * 2.66 % ±2.25% ±3.02% ±3.99%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='rsa' -0.28 % ±1.85% ±2.47% ±3.22%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async' keyType='ec' -1.75 % ±2.75% ±3.66% ±4.76%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async' keyType='ed25519' -0.40 % ±2.82% ±3.76% ±4.89%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='async' keyType='rsa' 0.43 % ±1.63% ±2.17% ±2.83%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='sync' keyType='ec' 0.23 % ±0.68% ±0.91% ±1.18%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='sync' keyType='ed25519' 0.92 % ±1.34% ±1.79% ±2.33%
crypto/oneshot-sign.js n=1000 keyFormat='jwk' mode='sync' keyType='rsa' -0.03 % ±0.12% ±0.16% ±0.21%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='ec' 0.62 % ±1.37% ±1.83% ±2.38%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='ed25519' -0.19 % ±1.99% ±2.65% ±3.45%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='rsa' 1.09 % ±2.60% ±3.48% ±4.55%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='ec' -1.24 % ±2.03% ±2.70% ±3.52%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='ed25519' 1.24 % ±2.70% ±3.59% ±4.67%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='rsa' 0.86 % ±2.54% ±3.38% ±4.40%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async' keyType='ec' 0.96 % ±6.97% ±9.27% ±12.07%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async' keyType='ed25519' 1.50 % ±6.13% ±8.15% ±10.61%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='async' keyType='rsa' 1.76 % ±2.00% ±2.67% ±3.50%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='sync' keyType='ec' * 1.70 % ±1.51% ±2.01% ±2.62%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='sync' keyType='ed25519' * 1.38 % ±1.28% ±1.72% ±2.27%
crypto/oneshot-sign.js n=1000 keyFormat='keyObject' mode='sync' keyType='rsa' 0.00 % ±0.17% ±0.23% ±0.30%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async-parallel' keyType='ec' -0.17 % ±0.52% ±0.69% ±0.90%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async-parallel' keyType='ed25519' 0.46 % ±1.21% ±1.62% ±2.12%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async-parallel' keyType='rsa' * -0.77 % ±0.68% ±0.91% ±1.19%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async' keyType='ec' 0.79 % ±1.26% ±1.67% ±2.18%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async' keyType='ed25519' -0.12 % ±0.89% ±1.19% ±1.56%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='async' keyType='rsa' -0.47 % ±1.49% ±1.98% ±2.57%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='sync' keyType='ec' 0.06 % ±0.63% ±0.85% ±1.11%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='sync' keyType='ed25519' 0.24 % ±0.38% ±0.50% ±0.65%
crypto/oneshot-sign.js n=1000 keyFormat='pem' mode='sync' keyType='rsa' -0.22 % ±0.40% ±0.53% ±0.70%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async-parallel' keyType='ec' 0.56 % ±1.35% ±1.80% ±2.36%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async-parallel' keyType='ed25519' -0.71 % ±3.34% ±4.44% ±5.79%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async-parallel' keyType='rsa' 0.40 % ±2.18% ±2.92% ±3.83%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async' keyType='ec' -0.86 % ±2.58% ±3.44% ±4.47%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async' keyType='ed25519' -0.93 % ±2.28% ±3.03% ±3.94%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='async' keyType='rsa' 1.58 % ±1.69% ±2.25% ±2.94%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='sync' keyType='ec' 0.34 % ±0.58% ±0.77% ±1.01%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='sync' keyType='ed25519' 0.27 % ±0.66% ±0.88% ±1.15%
crypto/oneshot-verify.js n=1000 keyFormat='der' mode='sync' keyType='rsa' -0.06 % ±0.75% ±1.00% ±1.30%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='ec' -0.08 % ±2.40% ±3.19% ±4.15%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='ed25519' 1.18 % ±2.23% ±2.96% ±3.86%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async-parallel' keyType='rsa' 1.32 % ±1.82% ±2.42% ±3.16%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async' keyType='ec' 0.30 % ±1.25% ±1.67% ±2.19%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async' keyType='ed25519' 0.31 % ±1.59% ±2.12% ±2.75%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='async' keyType='rsa' -2.23 % ±2.78% ±3.70% ±4.82%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='sync' keyType='ec' 0.33 % ±0.52% ±0.70% ±0.91%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='sync' keyType='ed25519' 0.37 % ±0.47% ±0.62% ±0.82%
crypto/oneshot-verify.js n=1000 keyFormat='jwk' mode='sync' keyType='rsa' 0.87 % ±0.93% ±1.24% ±1.62%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='ec' 0.91 % ±2.28% ±3.05% ±3.98%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='ed25519' 1.82 % ±2.91% ±3.88% ±5.04%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject.unique' mode='async-parallel' keyType='rsa' 0.46 % ±2.52% ±3.36% ±4.37%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='ec' -0.22 % ±2.39% ±3.19% ±4.15%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='ed25519' -0.04 % ±3.25% ±4.32% ±5.62%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async-parallel' keyType='rsa' 1.30 % ±2.74% ±3.65% ±4.76%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async' keyType='ec' -2.16 % ±4.08% ±5.44% ±7.10%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async' keyType='ed25519' 0.14 % ±1.90% ±2.54% ±3.32%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='async' keyType='rsa' 0.26 % ±7.82% ±10.41% ±13.54%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='sync' keyType='ec' 0.27 % ±0.64% ±0.85% ±1.11%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='sync' keyType='ed25519' 0.21 % ±0.62% ±0.82% ±1.07%
crypto/oneshot-verify.js n=1000 keyFormat='keyObject' mode='sync' keyType='rsa' *** 1.97 % ±0.89% ±1.19% ±1.55%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async-parallel' keyType='ec' ** 1.59 % ±0.92% ±1.23% ±1.60%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async-parallel' keyType='ed25519' -1.05 % ±3.20% ±4.26% ±5.55%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async-parallel' keyType='rsa' * 1.81 % ±1.51% ±2.02% ±2.66%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async' keyType='ec' -0.62 % ±1.67% ±2.23% ±2.91%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async' keyType='ed25519' 0.98 % ±1.46% ±1.94% ±2.53%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='async' keyType='rsa' 0.59 % ±1.45% ±1.93% ±2.52%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='sync' keyType='ec' 0.11 % ±0.62% ±0.83% ±1.08%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='sync' keyType='ed25519' 0.18 % ±0.82% ±1.09% ±1.43%
crypto/oneshot-verify.js n=1000 keyFormat='pem' mode='sync' keyType='rsa' 0.25 % ±0.80% ±1.06% ±1.38%
crypto/randomBytes.js n=1000 size=1024 -5.53 % ±7.71% ±10.26% ±13.36%
crypto/randomBytes.js n=1000 size=524288 -0.21 % ±5.95% ±7.92% ±10.30%
crypto/randomBytes.js n=1000 size=64 2.53 % ±7.47% ±9.94% ±12.95%
crypto/randomBytes.js n=1000 size=8192 2.77 % ±7.20% ±9.59% ±12.49%
crypto/randomInt.js n=1000 max=100 min=-100 mode='async-parallel' -0.89 % ±7.09% ±9.43% ±12.28%
crypto/randomInt.js n=1000 max=100 min=-100 mode='async-sequential' -1.84 % ±2.52% ±3.38% ±4.45%
crypto/randomInt.js n=1000 max=100 min=-100 mode='sync' 0.03 % ±3.83% ±5.10% ±6.64%
crypto/randomInt.js n=1000 max=100 min=-10000 mode='async-parallel' -4.97 % ±7.32% ±9.74% ±12.70%
crypto/randomInt.js n=1000 max=100 min=-10000 mode='async-sequential' * -1.79 % ±1.64% ±2.18% ±2.84%
crypto/randomInt.js n=1000 max=100 min=-10000 mode='sync' -4.84 % ±5.99% ±7.99% ±10.44%
crypto/randomInt.js n=1000 max=100 min=-140737488355327 mode='async-parallel' *** -3.47 % ±1.91% ±2.56% ±3.37%
crypto/randomInt.js n=1000 max=100 min=-140737488355327 mode='async-sequential' 0.45 % ±3.44% ±4.58% ±5.97%
crypto/randomInt.js n=1000 max=100 min=-140737488355327 mode='sync' -3.25 % ±5.56% ±7.41% ±9.69%
crypto/randomInt.js n=1000 max=10000 min=-100 mode='async-parallel' 0.18 % ±6.98% ±9.29% ±12.10%
crypto/randomInt.js n=1000 max=10000 min=-100 mode='async-sequential' -0.10 % ±1.32% ±1.76% ±2.29%
crypto/randomInt.js n=1000 max=10000 min=-100 mode='sync' -2.38 % ±3.29% ±4.39% ±5.72%
crypto/randomInt.js n=1000 max=10000 min=-10000 mode='async-parallel' 1.69 % ±8.23% ±10.96% ±14.27%
crypto/randomInt.js n=1000 max=10000 min=-10000 mode='async-sequential' -3.01 % ±3.61% ±4.81% ±6.26%
crypto/randomInt.js n=1000 max=10000 min=-10000 mode='sync' -2.62 % ±5.62% ±7.48% ±9.73%
crypto/randomInt.js n=1000 max=10000 min=-140737488355327 mode='async-parallel' -0.30 % ±4.72% ±6.29% ±8.20%
crypto/randomInt.js n=1000 max=10000 min=-140737488355327 mode='async-sequential' -0.55 % ±2.96% ±3.95% ±5.17%
crypto/randomInt.js n=1000 max=10000 min=-140737488355327 mode='sync' 1.16 % ±3.63% ±4.83% ±6.29%
crypto/randomInt.js n=1000 max=140737488355328 min=-100 mode='async-parallel' 1.83 % ±6.21% ±8.27% ±10.77%
crypto/randomInt.js n=1000 max=140737488355328 min=-100 mode='async-sequential' 0.66 % ±2.57% ±3.43% ±4.49%
crypto/randomInt.js n=1000 max=140737488355328 min=-100 mode='sync' * -3.74 % ±3.28% ±4.38% ±5.73%
crypto/randomInt.js n=1000 max=140737488355328 min=-10000 mode='async-parallel' 4.19 % ±6.68% ±8.92% ±11.66%
crypto/randomInt.js n=1000 max=140737488355328 min=-10000 mode='async-sequential' -2.33 % ±2.43% ±3.23% ±4.21%
crypto/randomInt.js n=1000 max=140737488355328 min=-10000 mode='sync' 1.65 % ±3.47% ±4.64% ±6.11%
crypto/randomInt.js n=1000 max=140737488355328 min=-140737488355327 mode='async-parallel' -1.56 % ±7.31% ±9.73% ±12.67%
crypto/randomInt.js n=1000 max=140737488355328 min=-140737488355327 mode='async-sequential' * -2.47 % ±1.89% ±2.52% ±3.28%
crypto/randomInt.js n=1000 max=140737488355328 min=-140737488355327 mode='sync' -6.78 % ±6.88% ±9.18% ±12.02%
crypto/randomInt.js n=100000 max=100 min=-100 mode='async-parallel' 2.29 % ±3.16% ±4.20% ±5.47%
crypto/randomInt.js n=100000 max=100 min=-100 mode='async-sequential' -0.25 % ±1.38% ±1.84% ±2.39%
crypto/randomInt.js n=100000 max=100 min=-100 mode='sync' 0.71 % ±2.94% ±3.92% ±5.10%
crypto/randomInt.js n=100000 max=100 min=-10000 mode='async-parallel' 1.67 % ±3.81% ±5.08% ±6.62%
crypto/randomInt.js n=100000 max=100 min=-10000 mode='async-sequential' 0.18 % ±2.04% ±2.72% ±3.57%
crypto/randomInt.js n=100000 max=100 min=-10000 mode='sync' 0.91 % ±2.88% ±3.83% ±4.99%
crypto/randomInt.js n=100000 max=100 min=-140737488355327 mode='async-parallel' 0.20 % ±1.55% ±2.06% ±2.69%
crypto/randomInt.js n=100000 max=100 min=-140737488355327 mode='async-sequential' 0.25 % ±1.58% ±2.10% ±2.73%
crypto/randomInt.js n=100000 max=100 min=-140737488355327 mode='sync' 1.94 % ±4.07% ±5.43% ±7.11%
crypto/randomInt.js n=100000 max=10000 min=-100 mode='async-parallel' 1.36 % ±3.69% ±4.91% ±6.40%
crypto/randomInt.js n=100000 max=10000 min=-100 mode='async-sequential' -0.54 % ±2.35% ±3.13% ±4.10%
crypto/randomInt.js n=100000 max=10000 min=-100 mode='sync' -0.40 % ±1.74% ±2.32% ±3.02%
crypto/randomInt.js n=100000 max=10000 min=-10000 mode='async-parallel' 1.71 % ±4.10% ±5.46% ±7.10%
crypto/randomInt.js n=100000 max=10000 min=-10000 mode='async-sequential' -1.27 % ±1.31% ±1.74% ±2.27%
crypto/randomInt.js n=100000 max=10000 min=-10000 mode='sync' -0.80 % ±3.32% ±4.41% ±5.75%
crypto/randomInt.js n=100000 max=10000 min=-140737488355327 mode='async-parallel' 1.95 % ±2.76% ±3.69% ±4.84%
crypto/randomInt.js n=100000 max=10000 min=-140737488355327 mode='async-sequential' 0.17 % ±1.32% ±1.75% ±2.28%
crypto/randomInt.js n=100000 max=10000 min=-140737488355327 mode='sync' 1.78 % ±3.76% ±5.01% ±6.54%
crypto/randomInt.js n=100000 max=140737488355328 min=-100 mode='async-parallel' 0.50 % ±1.49% ±1.98% ±2.58%
crypto/randomInt.js n=100000 max=140737488355328 min=-100 mode='async-sequential' -0.54 % ±2.11% ±2.81% ±3.65%
crypto/randomInt.js n=100000 max=140737488355328 min=-100 mode='sync' -1.44 % ±2.49% ±3.31% ±4.31%
crypto/randomInt.js n=100000 max=140737488355328 min=-10000 mode='async-parallel' 1.57 % ±1.73% ±2.30% ±3.00%
crypto/randomInt.js n=100000 max=140737488355328 min=-10000 mode='async-sequential' -0.49 % ±1.51% ±2.01% ±2.61%
crypto/randomInt.js n=100000 max=140737488355328 min=-10000 mode='sync' -1.69 % ±3.01% ±4.02% ±5.26%
crypto/randomInt.js n=100000 max=140737488355328 min=-140737488355327 mode='async-parallel' 0.26 % ±2.34% ±3.12% ±4.06%
crypto/randomInt.js n=100000 max=140737488355328 min=-140737488355327 mode='async-sequential' 0.54 % ±1.15% ±1.54% ±2.00%
crypto/randomInt.js n=100000 max=140737488355328 min=-140737488355327 mode='sync' -0.50 % ±3.48% ±4.64% ±6.06%
crypto/randomUUID.js disableEntropyCache=0 n=10000000 -1.13 % ±2.04% ±2.72% ±3.54%
crypto/randomUUID.js disableEntropyCache=1 n=10000000 -1.41 % ±1.82% ±2.42% ±3.15%
crypto/rsa-encrypt-decrypt-throughput.js len=16 keylen='2048' n=500 0.11 % ±1.26% ±1.68% ±2.19%
crypto/rsa-encrypt-decrypt-throughput.js len=16 keylen='4096' n=500 0.09 % ±0.45% ±0.60% ±0.79%
crypto/rsa-encrypt-decrypt-throughput.js len=32 keylen='2048' n=500 0.10 % ±1.23% ±1.64% ±2.14%
crypto/rsa-encrypt-decrypt-throughput.js len=32 keylen='4096' n=500 0.05 % ±0.38% ±0.50% ±0.66%
crypto/rsa-encrypt-decrypt-throughput.js len=64 keylen='2048' n=500 0.22 % ±1.27% ±1.69% ±2.20%
crypto/rsa-encrypt-decrypt-throughput.js len=64 keylen='4096' n=500 -0.16 % ±0.39% ±0.52% ±0.68%
crypto/rsa-sign-verify-throughput.js len=1024 keylen='2048' algo='SHA1' writes=500 -0.03 % ±8.04% ±10.70% ±13.92%
crypto/rsa-sign-verify-throughput.js len=1024 keylen='2048' algo='SHA224' writes=500 8.97 % ±11.65% ±15.50% ±20.17%
crypto/rsa-sign-verify-throughput.js len=1024 keylen='2048' algo='SHA256' writes=500 -3.13 % ±11.95% ±15.90% ±20.69%
crypto/rsa-sign-verify-throughput.js len=1024 keylen='2048' algo='SHA384' writes=500 -5.11 % ±11.42% ±15.19% ±19.78%
crypto/rsa-sign-verify-throughput.js len=1024 keylen='2048' algo='SHA512' writes=500 7.40 % ±12.42% ±16.52% ±21.51%
crypto/rsa-sign-verify-throughput.js len=102400 keylen='2048' algo='SHA1' writes=500 * 7.99 % ±7.81% ±10.42% ±13.62%
crypto/rsa-sign-verify-throughput.js len=102400 keylen='2048' algo='SHA224' writes=500 0.85 % ±4.42% ±5.88% ±7.66%
crypto/rsa-sign-verify-throughput.js len=102400 keylen='2048' algo='SHA256' writes=500 -0.56 % ±4.87% ±6.48% ±8.44%
crypto/rsa-sign-verify-throughput.js len=102400 keylen='2048' algo='SHA384' writes=500 -3.32 % ±6.77% ±9.01% ±11.73%
crypto/rsa-sign-verify-throughput.js len=102400 keylen='2048' algo='SHA512' writes=500 -1.34 % ±6.85% ±9.11% ±11.86%
crypto/rsa-sign-verify-throughput.js len=1048576 keylen='2048' algo='SHA1' writes=500 -0.43 % ±0.87% ±1.16% ±1.51%
crypto/rsa-sign-verify-throughput.js len=1048576 keylen='2048' algo='SHA224' writes=500 -0.17 % ±0.41% ±0.54% ±0.71%
crypto/rsa-sign-verify-throughput.js len=1048576 keylen='2048' algo='SHA256' writes=500 0.05 % ±0.40% ±0.53% ±0.69%
crypto/rsa-sign-verify-throughput.js len=1048576 keylen='2048' algo='SHA384' writes=500 0.08 % ±0.73% ±0.98% ±1.27%
crypto/rsa-sign-verify-throughput.js len=1048576 keylen='2048' algo='SHA512' writes=500 0.24 % ±0.68% ±0.90% ±1.18%
crypto/rsa-sign-verify-throughput.js len=204800 keylen='2048' algo='SHA1' writes=500 3.36 % ±6.19% ±8.25% ±10.75%
crypto/rsa-sign-verify-throughput.js len=204800 keylen='2048' algo='SHA224' writes=500 -0.48 % ±2.93% ±3.90% ±5.07%
crypto/rsa-sign-verify-throughput.js len=204800 keylen='2048' algo='SHA256' writes=500 -0.12 % ±3.08% ±4.10% ±5.34%
crypto/rsa-sign-verify-throughput.js len=204800 keylen='2048' algo='SHA384' writes=500 1.34 % ±4.55% ±6.06% ±7.88%
crypto/rsa-sign-verify-throughput.js len=204800 keylen='2048' algo='SHA512' writes=500 1.37 % ±3.99% ±5.31% ±6.91%
crypto/rsa-sign-verify-throughput.js len=307200 keylen='2048' algo='SHA1' writes=500 -0.48 % ±4.05% ±5.38% ±7.01%
crypto/rsa-sign-verify-throughput.js len=307200 keylen='2048' algo='SHA224' writes=500 -0.14 % ±1.32% ±1.76% ±2.30%
crypto/rsa-sign-verify-throughput.js len=307200 keylen='2048' algo='SHA256' writes=500 0.84 % ±1.35% ±1.80% ±2.34%
crypto/rsa-sign-verify-throughput.js len=307200 keylen='2048' algo='SHA384' writes=500 * 2.64 % ±2.29% ±3.04% ±3.96%
crypto/rsa-sign-verify-throughput.js len=307200 keylen='2048' algo='SHA512' writes=500 -1.51 % ±2.28% ±3.03% ±3.95%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=10 sync='createHash' *** -43.58 % ±2.28% ±3.04% ±3.97%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=10 sync='subtle' -0.60 % ±2.08% ±2.78% ±3.64%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=100 sync='createHash' *** -44.72 % ±1.32% ±1.76% ±2.30%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=100 sync='subtle' ** -3.05 % ±1.96% ±2.61% ±3.42%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=20 sync='createHash' *** -44.19 % ±1.25% ±1.66% ±2.17%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=20 sync='subtle' *** -5.36 % ±3.01% ±4.00% ±5.22%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=50 sync='createHash' *** -44.24 % ±1.31% ±1.75% ±2.30%
crypto/webcrypto-digest.js n=1000 method='SHA-1' data=50 sync='subtle' ** -2.93 % ±1.83% ±2.44% ±3.19%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=10 sync='createHash' *** -42.57 % ±1.28% ±1.70% ±2.23%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=10 sync='subtle' * -1.78 % ±1.70% ±2.27% ±2.98%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=100 sync='createHash' *** -42.97 % ±1.51% ±2.02% ±2.66%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=100 sync='subtle' * -3.36 % ±3.15% ±4.20% ±5.50%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=20 sync='createHash' *** -43.62 % ±1.52% ±2.03% ±2.64%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=20 sync='subtle' -2.35 % ±2.55% ±3.39% ±4.42%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=50 sync='createHash' *** -43.50 % ±1.44% ±1.92% ±2.51%
crypto/webcrypto-digest.js n=1000 method='SHA-256' data=50 sync='subtle' -2.00 % ±2.51% ±3.35% ±4.36%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=10 sync='createHash' *** -42.36 % ±1.20% ±1.60% ±2.09%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=10 sync='subtle' * -2.35 % ±2.03% ±2.71% ±3.56%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=100 sync='createHash' *** -42.62 % ±1.37% ±1.83% ±2.39%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=100 sync='subtle' *** -4.31 % ±2.03% ±2.72% ±3.57%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=20 sync='createHash' *** -43.17 % ±1.49% ±1.98% ±2.58%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=20 sync='subtle' ** -3.43 % ±2.04% ±2.72% ±3.56%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=50 sync='createHash' *** -41.92 % ±1.24% ±1.65% ±2.17%
crypto/webcrypto-digest.js n=1000 method='SHA-384' data=50 sync='subtle' -0.20 % ±1.25% ±1.66% ±2.17%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=10 sync='createHash' *** -41.46 % ±1.35% ±1.80% ±2.35%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=10 sync='subtle' *** -2.91 % ±0.97% ±1.30% ±1.69%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=100 sync='createHash' *** -43.10 % ±1.61% ±2.14% ±2.78%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=100 sync='subtle' -1.73 % ±1.92% ±2.56% ±3.33%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=20 sync='createHash' *** -41.66 % ±1.24% ±1.64% ±2.14%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=20 sync='subtle' -2.11 % ±2.72% ±3.63% ±4.75%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=50 sync='createHash' *** -42.18 % ±1.56% ±2.08% ±2.72%
crypto/webcrypto-digest.js n=1000 method='SHA-512' data=50 sync='subtle' *** -3.77 % ±2.06% ±2.76% ±3.61%
Be aware that when doing many comparisons the risk of a false-positive
result increases. In this case, there are 654 comparisons, you can thus
expect the following amount of false-positive results:
32.70 false positives, when considering a 5% risk acceptance (*, **, ***),
6.54 false positives, when considering a 1% risk acceptance (**, ***),
0.65 false positives, when considering a 0.1% risk acceptance (***)

@ronag

Copy link
Copy Markdown
MemberAuthor

Hm, yea, that's unfortunate

@ronag

Copy link
Copy Markdown
MemberAuthor

Strangely enough the benchmark I added is actually "faster":

crypto/hash-stream-creation2.js algo='md5' n=10000 *** 17.47 % ±6.76% ±9.00% ±11.75%

No longer necessary given recent stream and event optimziations.
Refs: nodejs#50428
Refs: nodejs#50439
PR-URL: nodejs#50440
@ronagronag closed this Oct 30, 2023
@ronag

Copy link
Copy Markdown
MemberAuthor

The legacy api doesn't need the readable side. Which is why this will never be fast enough.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ronag@nodejs-github-bot@H4ad@jasnell@benjamingr