File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments