This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const napa = require('napajs'); | |
const NS_PER_SEC = 1e9; | |
const MS_PER_NS = 1e6; | |
const NAPA_WORKERS = 6; | |
const ITEMS = 100000; | |
const data = getData(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Update this list with all libraries/global variables you DONT want to see. For instance if you DO want to see jQuery, remove it from this list. | |
const keysToFilter = ["$","jQuery","Modernizr","SS","ZeroClipboard","Hammer","CobrowserChatApi","_cobrowserapi","GoogleAnalyticsObject","ga","gaplugins","gaGlobal","scan","external","chrome","document","speechSynthesis","caches","ondeviceorientationabsolute","ondevicelight","localStorage","sessionStorage","webkitStorageInfo","indexedDB","webkitIndexedDB","ondeviceorientation","ondevicemotion","crypto","postMessage","blur","focus","close","onautocompleteerror","onautocomplete","onunhandledrejection","onrejectionhandled","applicationCache","performance","onunload","onstorage","onpopstate","onpageshow","onpagehide","ononline","onoffline","onmessage","onlanguagechange","onhashchange","onbeforeunload","onwaiting","onvolumechange","ontoggle","ontimeupdate","onsuspend","onsubmit","onstalled","onshow","onselect","onseeking","onseeked","onscroll","onresiz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const NS_PER_SEC = 1e9; | |
const MS_PER_NS = 1e6; | |
const ITEMS = 100000; | |
const data = getData(); | |
run(); | |
runWithTemplate(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const NS_PER_SEC = 1000000000; | |
const NS_PER_MS = 1000000; | |
function getTimer() { | |
const time = process.hrtime(); | |
return { | |
elapsed() { | |
const [seconds, nanoseconds] = process.hrtime(time); | |
return (seconds * NS_PER_SEC + nanoseconds) / NS_PER_MS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste into browser console and hover elements. | |
(function checkElementCount() { | |
let current = null; | |
let counter = null; | |
function init() { | |
document.body.addEventListener('mouseover', onMouseOver); | |
updateCounter(getChildElementCount(document)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste the following code in the console on the desired colors page: | |
[...document.querySelectorAll('.color')].map(color => { | |
const name = color.textContent | |
.trim() | |
.toLowerCase() | |
.replace(/\s+/g, '-') | |
.replace(/[^a-zA-Z0-9-]+/g, ''); | |
const value = color.style.backgroundColor; | |
return `$color-${name}: ${value};`; |
- Copy config.txt contents.
- In Krunker go to settings > Import.
- Paste the config.
- Go to mods and install philzgoodmod.
- Adjust the sensitivity to match your preference.
- Adjust the resolution to match your computers performance.
Preferable run Krunker using the Windows, macOS or Linux client to get maximum FPS. Try to get as much FPS as possible by adjusting the resolution without looking blurry/pixelated.