Two chemical species diffusing along a line, solved by OrdinaryDiffEq's Rodas5P in
your browser. Each step factorizes W = I/(γ·dt) − J and solves with it; which of LinearSolve's
pure-Julia solvers does that is yours to pick. All of it is Julia compiled to WebAssembly, the
integrators built at compile time and serialized into the module.
Each solver re-solves the problem above five times; the time is the median. The counts agree because Rodas5P takes the same steps whichever solver it uses; GMRES solves W only to its tolerance, so its answer differs from the factorizations' by about that much.
| Solver | WebAssembly | Native Julia, defaults | Steps | W | Solves | max |u − uLU| |
|---|---|---|---|---|---|---|
| Dense LUGenericLUFactorization | – | – | – | – | – | – |
| Sparse KLUPureKLUFactorization | – | – | – | – | – | – |
| Krylov GMRESKrylovJL_GMRES | – | – | – | – | – | – |