11 comments

  • anematode 2 days ago

    Hi, I work on Stockfish! Likely what's going on is that your Lichess instance is running in MultiPV mode, which displays the top N moves (5 by default, iirc). This can be useful for analysis, but it leads to more time exploring disfavored lines, and therefore lower depth. The desktop version defaults to MultiPV = 1.

    • Viren6 2 days ago

      I also work on Stockfish, that is not the reason. The reason is because the SF17.1 is functionally different, there is no way to get these to match without changing the net option to be the same as the stockfish binary.

      See https://tests.stockfishchess.org/tests/view/69515c60572093c1... and https://github.com/lichess-org/lila/pull/18671

      • anematode 2 days ago

        Viren's been around a lot longer than I have, so I'd trust him instead ;) You can actually run the large net in Lichess (by selecting the larger engine in the dropdown) which would be dispositive.

      • tsoj 2 days ago

        I don't work on Stockfish, but I can suggest using ShashChess instead. It is Stockfosh, but on top of that, it has been improved to capture the spirit of the human ingenuity and creativity.

  • frenchtoast8 2 days ago

    Most of Lichess is open source, have you tried looking there to see how Lichess interacts with Stockfish? https://github.com/lichess-org

  • y-curious 2 days ago

    Confirm in the network tab that you are going 100% local on lichess. My shot in the dark (I don’t contribute to their codebase) is that you’re offloading some analysis to Fishnet[1]

    I would rule that out first

    1: https://lichess.org/get-fishnet

  • Viren6 2 days ago

    Lichess uses a smaller net by default. Default lichess net is custom made by stockfish to be small

  • grumpopotamus a day ago

    Have you compared the versions of Stockfish in each?

    In Lichess I think you can also choose different eval nets. There's a small one and a big one. That will affect N/s.

    Have you compared how many threads each are using?

    Furthermore, Lichess Stockfish is a WASM build while your local Stockfish is a native binary executable.

    Many have already mentioned number of variations will significantly affect time to a certain depth.

  • eterm 2 days ago

    The lichess one might be in "multi-line" mode

  • agalunar 2 days ago

    You may want to ask in the Stockfish discord: https://discord.com/invite/GWDRS3kU6R