label} took ${t1 - t0}ms.`);
      }

      document.getElementById("btn-greet").addEventListener("click", () => {
        measure("greet and hash", () => {
          const name = document.getElementById("name").value;

          console.log(wasm.greet(name));

          console.log(wasm.blake2b(`this is a hashing input for ${name}`));
        });
      });

      measure("initial greet and hash", () => {
        console.log(wasm.greet("Daniel"));

        console.log(
          wasm.blake2b("This is just s