]> zoso.dev Git - libnemo.git/commitdiff
Remove more extraneous logging.
authorChris Duncan <chris@zoso.dev>
Sun, 1 Dec 2024 07:17:29 +0000 (23:17 -0800)
committerChris Duncan <chris@zoso.dev>
Sun, 1 Dec 2024 07:17:29 +0000 (23:17 -0800)
src/lib/pool.ts

index edb5b3784fb2f2fddb98587b5f7f7fb091843fd0..2b079cc3685b54aba15d85a14195a802a98bc5dc 100644 (file)
@@ -55,7 +55,6 @@ export class Pool {
                if (next.length > 0) {
                        thread.isBusy = true
                        const buf = new TextEncoder().encode(JSON.stringify(next)).buffer
-                       console.log(`posting to thread (${performance.now()})`)
                        thread.worker.postMessage(buf, [buf])
                }
        }
@@ -71,7 +70,6 @@ export class Pool {
        }
 
        async work (data: object[]): Promise<any> {
-               console.log(`pool.work (${performance.now()})`)
                if (!Array.isArray(data)) data = [data]
                return new Promise(resolve => {
                        this.#queue = data