[
{"begin":-1,"ender":-1,"lexer":"script","lines":0,"stack":"global","token":"apps","types":"word"},
{"begin":-1,"ender":-1,"lexer":"script","lines":0,"stack":"global","token":".","types":"separator"},
{"begin":-1,"ender":-1,"lexer":"script","lines":0,"stack":"global","token":"performance","types":"word"},
{"begin":-1,"ender":-1,"lexer":"script","lines":1,"stack":"global","token":"=","types":"operator"},
{"begin":-1,"ender":-1,"lexer":"script","lines":1,"stack":"global","token":"function","types":"word"},
{"begin":-1,"ender":-1,"lexer":"script","lines":1,"stack":"global","token":"node_apps_performance","types":"reference"},
{"begin":-1,"ender":7,"lexer":"script","lines":0,"stack":"global","token":"(","types":"start"},
{"begin":6,"ender":7,"lexer":"script","lines":0,"stack":"arguments","token":")","types":"end"},
{"begin":-1,"ender":108,"lexer":"script","lines":1,"stack":"global","token":"{","types":"start"},
{"begin":8,"ender":108,"lexer":"script","lines":2,"stack":"function","token":"if","types":"word"},
{"begin":8,"ender":18,"lexer":"script","lines":1,"stack":"function","token":"(","types":"start"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":"process","types":"word"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":".","types":"separator"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":"argv","types":"word"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":".","types":"separator"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":"length","types":"word"},
{"begin":10,"ender":18,"lexer":"script","lines":1,"stack":"expression","token":"<","types":"operator"},
{"begin":10,"ender":18,"lexer":"script","lines":1,"stack":"expression","token":"1","types":"number"},
{"begin":10,"ender":18,"lexer":"script","lines":0,"stack":"expression","token":")","types":"end"},
{"begin":8,"ender":52,"lexer":"script","lines":1,"stack":"function","token":"{","types":"start"},
{"begin":19,"ender":52,"lexer":"script","lines":2,"stack":"if","token":"return","types":"word"},
{"begin":19,"ender":52,"lexer":"script","lines":1,"stack":"if","token":"apps","types":"word"},
{"begin":19,"ender":52,"lexer":"script","lines":0,"stack":"if","token":".","types":"separator"},
{"begin":19,"ender":52,"lexer":"script","lines":0,"stack":"if","token":"errout","types":"word"},
{"begin":19,"ender":50,"lexer":"script","lines":0,"stack":"if","token":"(","types":"start"},
{"begin":24,"ender":49,"lexer":"script","lines":0,"stack":"method","token":"[","types":"start"},
{"begin":25,"ender":30,"lexer":"script","lines":2,"stack":"array","token":"`The ${","types":"template_string_start"},
{"begin":26,"ender":30,"lexer":"script","lines":0,"stack":"template_string","token":"text","types":"word"},
{"begin":26,"ender":30,"lexer":"script","lines":0,"stack":"template_string","token":".","types":"separator"},
{"begin":26,"ender":30,"lexer":"script","lines":0,"stack":"template_string","token":"angry","types":"word"},
{"begin":26,"ender":34,"lexer":"script","lines":0,"stack":"template_string","token":"}performance${","types":"template_string_else"},
{"begin":30,"ender":34,"lexer":"script","lines":0,"stack":"template_string","token":"text","types":"word"},
{"begin":30,"ender":34,"lexer":"script","lines":0,"stack":"template_string","token":".","types":"separator"},
{"begin":30,"ender":34,"lexer":"script","lines":0,"stack":"template_string","token":"none","types":"word"},
{"begin":30,"ender":34,"lexer":"script","lines":0,"stack":"template_string","token":"} command requires a complete task to perform.`","types":"template_string_end"},
{"begin":25,"ender":49,"lexer":"script","lines":0,"stack":"array","token":",","types":"separator"},
{"begin":25,"ender":40,"lexer":"script","lines":2,"stack":"array","token":"`Example: ${","types":"template_string_start"},
{"begin":36,"ender":40,"lexer":"script","lines":0,"stack":"template_string","token":"text","types":"word"},
{"begin":36,"ender":40,"lexer":"script","lines":0,"stack":"template_string","token":".","types":"separator"},
{"begin":36,"ender":40,"lexer":"script","lines":0,"stack":"template_string","token":"cyan","types":"word"},
{"begin":36,"ender":44,"lexer":"script","lines":0,"stack":"template_string","token":"}prettydiff performance ${","types":"template_string_else"},
{"begin":40,"ender":44,"lexer":"script","lines":0,"stack":"template_string","token":"text","types":"word"},
{"begin":40,"ender":44,"lexer":"script","lines":0,"stack":"template_string","token":".","types":"separator"},
{"begin":40,"ender":44,"lexer":"script","lines":0,"stack":"template_string","token":"bold","types":"word"},
{"begin":40,"ender":48,"lexer":"script","lines":0,"stack":"template_string","token":"}node js/services beautify js/services.js${","types":"template_string_else"},
{"begin":44,"ender":48,"lexer":"script","lines":0,"stack":"template_string","token":"text","types":"word"},
{"begin":44,"ender":48,"lexer":"script","lines":0,"stack":"template_string","token":".","types":"separator"},
{"begin":44,"ender":48,"lexer":"script","lines":0,"stack":"template_string","token":"none","types":"word"},
{"begin":44,"ender":48,"lexer":"script","lines":0,"stack":"template_string","token":"}`","types":"template_string_end"},
{"begin":25,"ender":49,"lexer":"script","lines":2,"stack":"array","token":"]","types":"end"},
{"begin":24,"ender":50,"lexer":"script","lines":0,"stack":"method","token":")","types":"end"},
{"begin":19,"ender":52,"lexer":"script","lines":0,"stack":"if","token":";","types":"separator"},
{"begin":19,"ender":52,"lexer":"script","lines":2,"stack":"if","token":"}","types":"end"},
{"begin":8,"ender":108,"lexer":"script","lines":2,"stack":"function","token":"let","types":"word"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"index","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"11","types":"number"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"total","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"0","types":"number"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"low","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"0","types":"number"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"high","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"0","types":"number"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"start","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"end","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":";","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":2,"stack":"function","token":"const","types":"word"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"store","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":78,"lexer":"script","lines":1,"stack":"function","token":"[","types":"start"},
{"begin":77,"ender":78,"lexer":"script","lines":0,"stack":"array","token":"]","types":"end"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":",","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"interval","types":"reference"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"=","types":"operator"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"function","types":"word"},
{"begin":8,"ender":108,"lexer":"script","lines":1,"stack":"function","token":"node_apps_performance_interval","types":"reference"},
{"begin":8,"ender":85,"lexer":"script","lines":0,"stack":"function","token":"(","types":"start"},
{"begin":84,"ender":85,"lexer":"script","lines":0,"stack":"arguments","token":")","types":"end"},
{"begin":8,"ender":102,"lexer":"script","lines":1,"stack":"function","token":"{","types":"start"},
{"begin":86,"ender":102,"lexer":"script","lines":2,"stack":"function","token":"console","types":"word"},
{"begin":86,"ender":102,"lexer":"script","lines":0,"stack":"function","token":".","types":"separator"},
{"begin":86,"ender":102,"lexer":"script","lines":0,"stack":"function","token":"log","types":"word"},
{"begin":86,"ender":99,"lexer":"script","lines":0,"stack":"function","token":"(","types":"start"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":"process","types":"word"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":".","types":"separator"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":"argv","types":"word"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":".","types":"separator"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":"join","types":"word"},
{"begin":90,"ender":98,"lexer":"script","lines":0,"stack":"method","token":"(","types":"start"},
{"begin":96,"ender":98,"lexer":"script","lines":0,"stack":"method","token":"\" \"","types":"string"},
{"begin":96,"ender":98,"lexer":"script","lines":0,"stack":"method","token":")","types":"end"},
{"begin":90,"ender":99,"lexer":"script","lines":0,"stack":"method","token":")","types":"end"},
{"begin":86,"ender":102,"lexer":"script","lines":0,"stack":"function","token":";","types":"separator"},
{"begin":86,"ender":102,"lexer":"script","lines":2,"stack":"function","token":"/* node.child(process.argv.join(\" \"),\n   function\nnode_apps_performance_interval_child(err:Error,\n   stdout:string, stderr:string):void {\n   if (err !== null) {\n        apps.errout([err.toString()]);\n        return;\n    }\n    if (stderr !== \"\") {\n        apps.errout([stderr]);\n        return;\n    }\n    index = index - 1;\n    if (index > -1) {\n        start = process.hrtime();\n        end = process.hrtime(start);\n        store.push((end[0] * 1e9) + end[1]);\n        // specifying a delay between intervals allows for garbage collection without interference to the performance testing\n        setTimeout(node_apps_performance_interval, 400);\n    } else {\n        console.log(\"\");\n        store.forEach(function node_apps_performance_total(value:number, index:number) {\n            if (index > 0) {\n                if (index < 10) {\n                    console.log(`${text.yellow + index + text.none}:  ${value}`);\n                } else {\n                    console.log(`${text.yellow + index + text.none}: ${value}`);\n                }\n                total = total + value;\n                if (value > high) {\n                    high = value;\n                } else if (value < low) {\n                    low = value;\n                }\n            } else {\n                console.log(`${text.yellow}0:${text.none} ${value} ${text.red}(first run is ignored)${text.none}`);\n            }\n        });\n        console.log(\"\");\n        console.log(`[${text.bold + text.green + (total / 1e7) + text.none}] Milliseconds, \\u00b1${text.cyan + ((((high - low) / total) / 2) * 100).toFixed(2) + text.none}%`);\n        console.log(`[${text.cyan + apps.comma(stdout.length) + text.none}] Character size of task's output to terminal.`);\n        console.log(\"\");\n    }\n   }); */","types":"comment"},
{"begin":86,"ender":102,"lexer":"script","lines":2,"stack":"function","token":"}","types":"end"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":";","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":2,"stack":"function","token":"interval","types":"reference"},
{"begin":8,"ender":106,"lexer":"script","lines":0,"stack":"function","token":"(","types":"start"},
{"begin":105,"ender":106,"lexer":"script","lines":0,"stack":"method","token":")","types":"end"},
{"begin":8,"ender":108,"lexer":"script","lines":0,"stack":"function","token":";","types":"separator"},
{"begin":8,"ender":108,"lexer":"script","lines":2,"stack":"function","token":"}","types":"end"},
{"begin":-1,"ender":-1,"lexer":"script","lines":0,"stack":"global","token":";","types":"separator"}
]