Welcome! Log In Create A New Profile

Advanced

[njs] Removed leftover String.prototype.toBytes() from benchmark test.

Dmitry Volyntsev
May 20, 2023 12:32AM
details: https://hg.nginx.org/njs/rev/e7aedbc18246
branches:
changeset: 2128:e7aedbc18246
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Fri May 19 21:29:23 2023 -0700
description:
Removed leftover String.prototype.toBytes() from benchmark test.

The String.prototype.toBytes() and friends were removed in
4df790f42ce7.

diffstat:

src/test/njs_benchmark.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)

diffs (21 lines):

diff -r 9b4d3514d68d -r e7aedbc18246 src/test/njs_benchmark.c
--- a/src/test/njs_benchmark.c Fri May 19 20:22:16 2023 -0700
+++ b/src/test/njs_benchmark.c Fri May 19 21:29:23 2023 -0700
@@ -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)"
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed leftover String.prototype.toBytes() from benchmark test.

Dmitry Volyntsev 197 May 20, 2023 12:32AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready