Comments (4)
The regex is part of the ECMAScript, thus the performance is caused by v8 rather than node
You can test that when using d8 to check if that happens in v8 as well
from node.
FYI @nodejs/v8
from node.
You can test that when using d8 to check if that happens in v8 as well
It does happen on d8. On a Macbook with M2 chip (Arm64), I am able to compile for x64 and for Arm64.
The same performance difference for the gist code is verified - arm64 much slower than x64.
When profiling:
- ARM64: Statistical profiling result from v8.log, (1384 ticks, 1383 unaccounted, 0 excluded)
- x64: Statistical profiling result from v8.log, (66 ticks, 26 unaccounted, 0 excluded).
from node.
If so, than there is nothing much for us to do, you can open an issue in v8 issue tracking page
from node.
Related Issues (20)
- why is the first argument to an http.Server's upgrade event listener called response? HOT 4
- test node.js
- ../deps/v8/src/codegen/riscv/assembler-riscv.h:289:60: error: βTaggedβ has not been declared HOT 2
- Enhanced Object Introspection and Help in the Node.js REPL HOT 4
- ProcessInitializationFlags::Flags Assertion `(err) == (0)'
- Cannot be notified of Node.js version updates via Slack HOT 5
- childprocess kill() results in -4048 EPERM error on windows since update to v21.6.2 HOT 8
- MessageEvent cannot be prevented even if cancelable is true HOT 4
- test_runner: print failed tests with dot reporter
- test_runner: make the dot reporter colored HOT 1
- Flaky test `test-zlib-brotli-16GB` HOT 4
- readdirSync cannot read files properly when using { recursive: true, withFileTypes: true } HOT 5
- Centos7 uses the n command to install nodejs 18.19.1, but runs with the following error message.
- Ambiguous wording at loading order description HOT 2
- Support remote sourceMap HOT 3
- `http.Server.close` return value mismatch between the documentation and the implementation.
- Add tests for filenames with surrogate pairs on Windows HOT 11
- consider allowing libnode.h (libnode.a/ libnode.lib) and libnode.wasm for nodejs HOT 1
- deepStrictEqual and notDeepStrictEqual do not compare Error causes nor AggregateError errors arrays HOT 6
- `crypto.randomInt` is slower than `Math.random` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.