- Clone it
$ git clone [email protected]:userpixel/sudoku-esm.git && cd sudoku-esm
- Install NPM dependencies
$ npm i
- Run
$ npm start
to see 3 solutions to a sample board
Batteries included. Just press F5
- Run:
$ npm run inspect
- Open
about:inspect
in Chrome - Click on the Node that's waiting to be inspected
- Run:
$ npm run perf
- It'll find 100K answers to a partial board 3 times (without printing the solutions)
- You'll see the times for these 3 computations
- Run:
$ npm run inspect
- On chrome open about://inspect
- Click
inspect
on the instance that is waiting to open Chrome DevTools - In the Profiler tab press Start
- Click Stop after a few seconds
- Investigate stats in the Profiler tab