sebastienros / jint

Javascript Interpreter for .NET
BSD 2-Clause "Simplified" License
4.04k stars 558 forks source link

Max Statements and general recommendations for limits #1821

Closed niemyjski closed 5 months ago

niemyjski commented 5 months ago

Is your feature request related to a problem? Please describe.

It would be nice if there was a general recommendations around the limits and further discussing how limits are calculated and how they are cleaned up / decremented.

Describe the solution you'd like

A clear and concise description of constraints and some general guidances / load / memory usage (I get that every consumer is a bit different)

Describe alternatives you've considered

Looked through code via search, didn't see anything clear cut.

niemyjski commented 5 months ago

Also, it would be really nice to have hooks / tracing / metrics so one could reasonably see various counts to make better decisions.