Email or username:

Password:

Forgot your password?
Top-level
Aral Balkan

Right, well, whatever the regression is, it doesn’t exist in Node 20.3.1.

To whit, the time it takes to run my SNICallback:

Node 12.16.2: ~10ms
Node 18.16.1: ~4,000ms
Node 20.3.1: ~10ms

So there’s been a *massive* regression in performance in something in Node 18 (LTS) – buffers/strings? – that appears to be fixed in Node 20 (but not backported) that’s affecting the ocsp module.

CC @indutny – if you get a chance, could you possibly let the right folks at Node core know about this? Thanks :)

1 comment
Aral Balkan

@indutny PS. Profiling the ocsp.request.generate() function in your (excellent/life saver) oscp module between Node versions 12 (I haven’t tested with >12 but <18) , 18, and 20 should reproduce the performance regresssion in Node 18.

Go Up