change dir stucture

This commit is contained in:
Zutatensuppe 2021-05-01 00:16:08 +02:00
parent e18b8d3b98
commit 62f8991e11
26 changed files with 8718 additions and 804 deletions

View file

@ -1,25 +0,0 @@
import { logger } from '../common/Util.js'
const log = logger('Debug.js')
let _pt = 0
let _mindiff = 0
const checkpoint_start = (mindiff) => {
_pt = performance.now()
_mindiff = mindiff
}
const checkpoint = (label) => {
const now = performance.now()
const diff = now - _pt
if (diff > _mindiff) {
log.log(label + ': ' + (diff))
}
_pt = now
}
export default {
checkpoint_start,
checkpoint,
}