diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-12 20:13:34 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-13 16:43:08 -0400 |
commit | 7f691131eee0ca05e43958ca5fe8289550494f25 (patch) | |
tree | c85f8f26a2449ffae545575471845eca7fac1d00 /src/upd8.js | |
parent | eb12a115268671ad324aa437d91c170e5843f4bb (diff) |
cacheable-object: drop old stuff
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/upd8.js b/src/upd8.js index 713295a0..9a466ab9 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -440,14 +440,6 @@ async function main() { }, magick: {alias: 'magick-threads'}, - // This option is super slow and has the potential for bugs! It puts - // CacheableObject in a mode where every instance is a Proxy which will - // keep track of invalid property accesses. - 'show-invalid-property-accesses': { - help: `Report accesses at runtime to nonexistant properties on wiki data objects, at a dramatic performance cost\n(Internal/development use only)`, - type: 'flag', - }, - 'precache-mode': { help: `Change the way certain runtime-computed values are preemptively evaluated and cached\n\n` + @@ -566,7 +558,6 @@ async function main() { const showAggregateTraces = cliOptions['show-traces'] ?? false; const precacheMode = cliOptions['precache-mode'] ?? 'common'; - const showInvalidPropertyAccesses = cliOptions['show-invalid-property-accesses'] ?? false; // Makes writing nicer on the CPU and file I/O parts of the OS, with a // marginal performance deficit while waiting for file writes to finish @@ -1332,10 +1323,6 @@ async function main() { thumbsCache = {}; } - if (showInvalidPropertyAccesses) { - CacheableObject.DEBUG_SLOW_TRACK_INVALID_PROPERTIES = true; - } - Object.assign(stepStatusSummary.loadDataFiles, { status: STATUS_STARTED_NOT_DONE, timeStart: Date.now(), @@ -2694,7 +2681,6 @@ if (true || isMain(import.meta.url) || path.basename(process.argv[1]) === 'hsmus } decorateTime.displayTime(); - CacheableObject.showInvalidAccesses(); process.exit(0); })(); |