# 🐞 On Anki 2.1.50, computing stats takes way much longer time than on Anki 2.1.49

**URL:** <https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336>\
**Category:** Help\
**Created:** [April 22, 2022, 7:29pm UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336 "2022-04-22T19:29:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oakkitten](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/oakkitten/32/10465_2.png) [@oakkitten](https://forums.ankiweb.net/u/oakkitten)\
**Post date:** [April 22, 2022, 7:29pm UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336/1 "2022-04-22T19:29:23Z")

</div>

On Anki 2.1.50, when I open stats by clicking on the Stats button, I can observe the “loading” spinner for some 8-9 seconds before anything is shown. I am aware that there are some issues with web views being slow at the moment, but even recomputing the stats via clicking one of the “deck, collection, last 12 months, all history” radio buttons takes 8.5 seconds (as measured using a stopwatch).

The same on Anki 2.1.49 takes 2.5 seconds, so I suspect some kind of regression took place somewhere. (2.5 seconds is an awful lot still though?)

Windows 10 21H2 (OS Build 19044.1586)  
Anki ⁨2.1.50 (26d40c3a)⁩, Python 3.9.7 Qt 6.2.2 PyQt 6.2.2

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 25, 2022, 9:01am UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336/2 "2022-04-25T09:01:48Z")

</div>

I can’t reproduce this - 2.1.52rc1 and 2.1.49 both appear to render the stats of your AnkiWeb collection in approximately the same amount of time for me. If you built Anki from source, did you make sure to do an optimized build? If you’re using the packaged version, do you get the same behaviour in 52rc1? Do you use an antivirus/VPN/proxy program?

 ![2022-04-25T14:27:32,670048970+10:00](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/8/8268b05c3f17641f076ac70398debc73201c7b79.png)  
 ![2022-04-25T14:28:47,502067862+10:00](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/7/7ed6d5528ad10615e422728d8741987bf4348e81.png)

---

<div class="post-metadata">

**Author:** ![oakkitten](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/oakkitten/32/10465_2.png) [@oakkitten](https://forums.ankiweb.net/u/oakkitten)\
**Post date:** [April 25, 2022, 5:29pm UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336/3 "2022-04-25T17:29:41Z")

</div>

I’m using the builds downloaded from the official website. I didn’t see a link to download Anki 2.1.52rc1, but I tried 2.1.51 and it has the same issue. I tried profiling via setting `QTWEBENGINE_REMOTE_DEBUGGING`, but whenever i click on the record button, Anki instantly crashes with no error message.

I have some half a million reviews in total, as reported by stats. Perhaps the issue only manifests itself when you’ve got a lot of reviews?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 26, 2022, 7:56am UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336/4 "2022-04-26T07:56:43Z")

</div>

I was testing with a single deck, but with the entire collection/all history there’s still not much of a difference between them for me. I tested on a Windows machine and don’t see the issue either. I’m afraid I’m not sure what the problem might be, and will need to wait for more people to report it / someone who is affected by it who is willing to dig into the issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:23am UTC](https://forums.ankiweb.net/t/on-anki-2-1-50-computing-stats-takes-way-much-longer-time-than-on-anki-2-1-49/19336/5 "2023-05-01T04:23:30Z")

</div>


