IBM/openapi-validator

Performance regression on node 16 and 18

Closed this issue · 2 comments

Running the openapi-validator version 0.96.0 for our schema takes ~10s on node 14 but ~7mins on node 16 and 18. This might be a recurrence of #347 ?

@rparini-intellegens thanks for the issue. I think this is probably separate from 347 but it is a known problem we are working on resolving. Unfortunately, our initial investigation has yielded some really strange results and we're having trouble identifying the source of the poor performance.

As a temporary workaround while we work on this, we've started including platform-specific binaries with our release assets that run with vastly improved performance.

Edit: this PR shows really promising results for me

Edit: The fix seems to have resolved the issue in all cases. Feel free to re-open if you're still experiencing the issues in 0.96.1 or later