0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools
Ben Noordhuis e4290dec2d src,tools: speed up startup by 2.5%
Use zero-copy external string resources for storing the built-in JS
source code.  Saves a few hundred kilobyte of memory and consistently
speeds up `benchmark/misc/startup.js` by 2.5%.

Everything old is new again!  Commit 74954ce ("Add string class that
uses ExternalAsciiStringResource.") from 2011 did the same thing but
I removed that in 2013 in commit 34b0a36 ("src: don't use NewExternal()
with unaligned strings") because of a limitation in the V8 API.

V8 no longer requires that strings are aligned if they are one-byte
strings so it should be safe to re-enable external strings again.

PR-URL: https://github.com/nodejs/node/pull/5458
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
2016-10-25 13:16:16 +02:00
..
configure.d tools: remove unnecessary imports and assignments 2016-07-08 20:17:08 +05:30
doc doc: highlight deprecated API in ToC 2016-10-14 07:30:38 +02:00
eslint tools: update ESLint to v3.8.0 2016-10-18 15:28:21 -07:00
eslint-rules tools: replace custom lint rule for getter/setter 2016-10-21 07:37:10 -07:00
gyp deps: float gyp patch for long filenames 2016-08-08 22:49:11 +02:00
icu build: don't build icu with -fno-rtti 2016-10-03 12:53:24 +02:00
msvs win,msi: mark INSTALLDIR property as secure 2016-10-10 17:36:05 +01:00
osx-pkg.pmdoc
pkgsrc
rpm
certdata.txt tools: update certdata.txt 2016-06-23 09:24:16 +02:00
check-imports.py
compress_json.py src: add /json/protocol endpoint to inspector 2016-09-23 18:51:47 +02:00
cpplint.py tools: allow cpplint to run outside git repo 2016-06-28 21:21:21 +02:00
create_android_makefiles
create_expfile.sh build: fix dependencies on AIX 2016-08-29 16:20:18 -04:00
genv8constants.py
getmoduleversion.py build: configure --shared 2016-06-28 17:48:22 -04:00
getnodeversion.py build: configure --shared 2016-06-28 17:48:22 -04:00
gyp_node.py
install.py build: add correct shared library naming on OS X 2016-08-09 11:55:01 -04:00
js2c.py src,tools: speed up startup by 2.5% 2016-10-25 13:16:16 +02:00
jslint.js
license2rtf.js tools: favor === over == in license2rtf.js 2016-08-14 11:03:09 +02:00
license-builder.sh tools: update license-builder.sh for v8_inspector 2016-07-27 07:29:42 -07:00
lsan_suppressions.txt
make-v8.sh
Makefile
mk-ca-bundle.pl tools: output include guards in mk-ca-bundle.pl 2016-06-23 09:25:30 +02:00
mkssldef.py build: export zlib symbols on Windows 2016-08-08 15:15:48 +02:00
osx-codesign.sh
osx-pkg-postinstall.sh
osx-productsign.sh
release.sh tools: fix release script on macOS 10.12 2016-10-20 09:57:43 -07:00
run-valgrind.py
sign.bat win,build: try multiple timeservers when signing 2016-10-19 00:11:02 +11:00
specialize_node_d.py tools: remove unnecessary imports and assignments 2016-07-08 20:17:08 +05:30
test-npm.sh
test.py inspector: introduce a smoke test 2016-09-19 12:40:16 -07:00
update-authors.sh
utils.py