<head>
<link rel="icon" href="./favicon.ico">
+ <!-- Comment out local build if testing published package -->
<script type="module" src="./dist/main.min.js"></script>
- <!-- Comment out nano-pow from CDN if testing locally -->
- <script type="module" src="https://cdn.jsdelivr.net/npm/nano-pow@1.2.0/dist/global.min.js"></script>
- <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@1.1.1/nano-webgl-pow.js"></script>
+ <!-- Comment out CDN package link if testing locally -->
+ <script type="module" src="https://cdn.jsdelivr.net/npm/nano-pow@latest/dist/global.min.js"></script>
+ <!-- Comment out nano-webgl-pow if uninterested in speed comparison -->
+ <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@latest/nano-webgl-pow.js"></script>
<script type="module">
import { NanoPow, NanoPowGl, NanoPowGpu } from './dist/main.min.js'
const COUNT = 0x20
<p>NanoPowGl uses WebGL 2.0 and is a fallback option in the NanoPow package.</p>
<p>nano-webgl-pow is the original package from which NanoPow was inspired and optimized.</p>
<p>Times below are in milliseconds and summarized by various averaging methods.</p>
- <hr/>
+ <hr />
<h3 id="status">TESTING IN PROGRESS</h3>
- <hr/>
+ <hr />
<pre id="summary"></pre>
- <hr/>
+ <hr />
<pre id="output"></pre>
</body>