Files
node/lib/internal
James M Snell 0f146aac2c lib: make navigator properties lazy
Noticed in some benchmarking/profiling that the Navigator object
constructor was rather expensive and slow due to initialization
of properties during construction. It makes more sense for these
to be lazily initialized on first access.

PR-URL: https://github.com/nodejs/node/pull/53649
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2024-07-16 12:01:08 +02:00
..
2024-06-25 11:17:06 +02:00
2024-06-20 14:45:27 +02:00
2024-04-29 22:46:31 +02:00
…
2024-06-07 10:37:15 -03:00
…
2024-07-06 13:30:12 -03:00
…
…
2024-06-20 14:40:37 +02:00
…
2024-06-20 14:40:45 +02:00
2024-02-19 01:19:44 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.