From: Dmitry Volyntsev Date: Sat, 20 May 2023 04:29:23 +0000 (-0700) Subject: Removed leftover String.prototype.toBytes() from benchmark test. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3cf640f5a041bada0d39d32a27494ffe024767ef;p=njs.git Removed leftover String.prototype.toBytes() from benchmark test. The String.prototype.toBytes() and friends were removed in 4df790f42ce7. --- diff --git a/src/test/njs_benchmark.c b/src/test/njs_benchmark.c index 2c2c1b65..da5c6681 100644 --- a/src/test/njs_benchmark.c +++ b/src/test/njs_benchmark.c @@ -259,17 +259,6 @@ static njs_benchmark_test_t njs_test[] = njs_str("3524578"), 1 }, - { "fibobench byte strings", - njs_str("var a = '\\x80'.toBytes();" - "function fibo(n) {" - " if (n > 1)" - " return fibo(n - 1) + fibo(n - 2);" - " return 'a'" - "}" - "fibo(32).length"), - njs_str("3524578"), - 1 }, - { "fibobench utf8 strings", njs_str("function fibo(n) {" " if (n > 1)"