]> git.kaiwu.me - njs.git/commitdiff
Removed leftover String.prototype.toBytes() from benchmark test.
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 20 May 2023 04:29:23 +0000 (21:29 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Sat, 20 May 2023 04:29:23 +0000 (21:29 -0700)
The String.prototype.toBytes() and friends were removed in
4df790f42ce7.

src/test/njs_benchmark.c

index 2c2c1b651de848ffb5db9e8a5f1ee51a66f80e8d..da5c6681dfca6f3e16555a947fe0dacc83ae8f43 100644 (file)
@@ -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)"