remove debug timing

This commit is contained in:
Matt Walsh
2025-05-25 19:11:52 -05:00
parent 25626a98c9
commit 25ac2059a6

View File

@@ -12,7 +12,6 @@ const baseMapImages = new Promise((resolve) => {
fetchAsBlob('/images/maps/radar.webp').then((blob) => {
createImageBitmap(blob).then((imageBitmap) => {
// extract the black pixels to overlay on to the final image (boundaries)
console.time('radar-overlay');
const canvas = new OffscreenCanvas(imageBitmap.width, imageBitmap.height);
const context = canvas.getContext('2d');
context.drawImage(imageBitmap, 0, 0);
@@ -28,7 +27,6 @@ const baseMapImages = new Promise((resolve) => {
// write the image data back
context.putImageData(imageData, 0, 0);
console.timeEnd('radar-overlay');
resolve({
fullMap: imageBitmap,
overlay: canvas,