Skip to content

Commit 3e71b72

Browse files
committed
Add instructions for local benchmarking in HeatConduction2DPerformanceTest.html
1 parent 8d3ccf1 commit 3e71b72

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tutorials/HeatConduction2DPerfomanceTest.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ <h1>FEAScript Performance Test</h1>
5555
</div>
5656

5757
<h2>Run Performance Test</h2>
58+
<p>
59+
For best benchmark results, download the FEAScript library and use a local import (<code
60+
>import { FEAScriptModel, plotSolution } from "path/to/index.js";</code
61+
>) instead of loading from the remote server.
62+
</p>
5863
<p>
5964
<label for="solverSelect">Select solver:</label>
6065
<select id="solverSelect">
@@ -79,7 +84,7 @@ <h2>Run Performance Test</h2>
7984

8085
<script type="module">
8186
import { FEAScriptModel, plotSolution } from "https://core.feascript.com/dist/feascript.esm.js";
82-
// import { FEAScriptModel, plotSolution } from "../../FEAScript-core/src/index.js";
87+
// import { FEAScriptModel, plotSolution } from "../../FEAScript-core/src/index.js"; // Use this when running locally
8388

8489
function runSpeedTest(selectedSolver) {
8590
const numElementsX = parseInt(document.getElementById("numElementsX").value);

0 commit comments

Comments
 (0)