Welcome! Log In Create A New Profile

Advanced

[njs] Removed irrelevant overhead in clone/destroy benchmark.

November 11, 2016 10:14AM
details: http://hg.nginx.org/njs/rev/91640c0405f4
branches:
changeset: 253:91640c0405f4
user: Igor Sysoev <igor@sysoev.ru>
date: Fri Nov 11 18:12:13 2016 +0300
description:
Removed irrelevant overhead in clone/destroy benchmark.

diffstat:

njs/test/njs_unit_test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 9f66db825663 -r 91640c0405f4 njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c Fri Nov 11 17:28:47 2016 +0300
+++ b/njs/test/njs_unit_test.c Fri Nov 11 18:12:13 2016 +0300
@@ -6198,8 +6198,8 @@ main(int argc, char **argv)
{
nxt_bool_t disassemble;

- static nxt_str_t script = nxt_string("1");
- static nxt_str_t result = nxt_string("1");
+ static nxt_str_t script = nxt_string("null");
+ static nxt_str_t result = nxt_string("null");

static nxt_str_t fibo_number = nxt_string(
"function fibo(n) {"

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed irrelevant overhead in clone/destroy benchmark.

Igor Sysoev 667 November 11, 2016 10:14AM



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

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready