(rawData)
| 184 | } |
| 185 | |
| 186 | async function testDecode(rawData) { |
| 187 | console.group("Testing decode") |
| 188 | let t1 = performance.now() |
| 189 | let gz = dataToBase64TD(rawData) |
| 190 | let t2 = performance.now() |
| 191 | console.log("textdecode", gz.length, Math.round((t2 - t1)*1000)); |
| 192 | let xz = await dataToBase64FR(rawData); |
| 193 | let t3 = performance.now() |
| 194 | console.log("reader", xz.length, Math.round((t3 - t2)*1000)); |
| 195 | } |
| 196 | |
| 197 | async function testCompression(rawData) { |
| 198 | console.group("Testing compression") |
nothing calls this directly
no test coverage detected