patch benchmark to ensure strings are flattened
Contributed-by: Santiago Pericas-Geertsen
This commit is contained in:
parent
cf0a3a67c5
commit
dbf0ae61b3
@ -370,6 +370,7 @@
|
||||
<apply-diff src="test/simple" mod="${test.dir}/crypto" name="test-crypto-stream.js"/>
|
||||
<!-- benchmark -->
|
||||
<apply-diff src="benchmark" mod="${benchmark.dir}" name="common.js"/>
|
||||
<apply-diff src="benchmark" mod="${benchmark.dir}" name="http_simple.js"/>
|
||||
<!-- pummel -->
|
||||
<apply-diff src="test/pummel" mod="${test.dir}/crypto" name="test-crypto-dh.js"/>
|
||||
<apply-diff src="test/pummel" mod="${test.dir}/pummel" name="test-dh-regr.js"/>
|
||||
@ -474,6 +475,7 @@
|
||||
<apply-patch-file target="${test.dir}/crypto" dir="test/crypto" name="test-crypto-stream.js"/>
|
||||
<!-- benchmark -->
|
||||
<apply-patch-file target="${benchmark.dir}" dir="benchmark" name="common.js"/>
|
||||
<apply-patch-file target="${benchmark.dir}" dir="benchmark" name="http_simple.js"/>
|
||||
<!-- pummel -->
|
||||
<apply-patch-file target="${test.dir}/pummel" dir="test/crypto" name="test-crypto-dh.js"/>
|
||||
<apply-patch-file target="${test.dir}/pummel" dir="test/pummel" name="test-dh-regr.js"/>
|
||||
|
11
patches/benchmark/http_simple.js.patch
Normal file
11
patches/benchmark/http_simple.js.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- /home/akhil/ws/node/benchmark/http_simple.js 2013-08-08 17:10:54.026705328 -0700
|
||||
+++ /home/akhil/ws/avatar-js/benchmark/http_simple.js 2014-04-30 15:38:48.461377326 -0700
|
||||
@@ -111,7 +111,7 @@
|
||||
while (s.length < size) {
|
||||
s += c;
|
||||
}
|
||||
- return s;
|
||||
+ return s.toString(); // ensure nashorn cons strings are flattened
|
||||
}
|
||||
|
||||
server.listen(port, function () {
|
Loading…
Reference in New Issue
Block a user