Option to choose the number of cpus for analysis does not appear when you use board editor -> analysis.
Steps to reproduce:
Compare to going to https://lichess.org/analysis straight away
Tested on Chrome and Firefox.
I don't have this setting if I go to /analysis straight away either.
Don't think I've ever seen it..
Latest Firefox.
https://github.com/ornicar/lila/issues/5719#issue-532815869: The multi-threaded Stockfish build is currently not capable of analysing some impossible positions (for example with more than 32 pieces). So to be safe, it is not used for positions coming from the editor. This could of course be improved: Simply test if the position is reasonable first.
https://github.com/ornicar/lila/issues/5719#issuecomment-561836966: This depends on support for SharedArrayBuffer, which is disabled in Firefox due to Sprectre and related attacks. It can be manually enabled in about:config, by setting javascript.options.shared_memory to true. But this is a slight security risk.
Chrome already implemented the necessary tab isolation and enabled it by default.
With support in Firefox 79 and Chrome SAB now seems stable enough to attempt a multi-variant port.
Most helpful comment
https://github.com/ornicar/lila/issues/5719#issue-532815869: The multi-threaded Stockfish build is currently not capable of analysing some impossible positions (for example with more than 32 pieces). So to be safe, it is not used for positions coming from the editor. This could of course be improved: Simply test if the position is reasonable first.
https://github.com/ornicar/lila/issues/5719#issuecomment-561836966: This depends on support for
SharedArrayBuffer, which is disabled in Firefox due to Sprectre and related attacks. It can be manually enabled inabout:config, by settingjavascript.options.shared_memorytotrue. But this is a slight security risk.Chrome already implemented the necessary tab isolation and enabled it by default.