]> git.kaiwu.me - njs.git/commit
Tests: add parser stress benchmarks
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 3 Sep 2026 00:39:41 +0000 (17:39 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 10 Sep 2026 03:11:04 +0000 (20:11 -0700)
commite90bdd14691b7a1ad67b83b5513da62f4e36a061
treedc3f0d4630ff30e1d0323d6e709d0889e6f22d39
parent71e09e9cdbf0a6626da3cec8f02cd637bbf8ae0e
Tests: add parser stress benchmarks

Add generated workloads for large array literals, declarations, references,
closures, and labels.  These tests are intended to expose catastrophic parser
scaling and compare compilation changes; source construction and Function()
compilation are both included in the measured interval.
src/test/njs_benchmark.c