Anking deck takes forever (15 seconds) to flip card after clicking show answer

Hi, I’ve been using the anking deck for over a year now and over the past month the cards take 15+ seconds to flip now and studying takes forever. I’ve tried downgrading, switching my video driver, using apple intel anki instead of silicon, disabling addons, using a new mac profile, quite literally everything and nothing works. I downloaded a random language learning deck and tried that and the cards flip instantly. Any ideas why my anking deck takes forever to flip cards?

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

I’ll help you troubleshoot the slow card flipping issue with your AnKing deck. Let’s search for any similar issues in the community first.

Search

Found 1 result for 'tags:official slow cards flip delay anking status:public'

Search

Found 0 results for 'tags:official card slow response time status:public'

Search

Found 1 result for 'tags:official performance issues cards status:public'

Read topic

Reading: AnKing Step Deck Wiki

Search

Found 1 result for 'tags:official card flip delay status:public'

Search

Found 5 results for 'tags:official slow anki performance status:public'

Hi there! I understand how frustrating it can be when your cards take so long to flip, especially when you’re trying to study efficiently with the AnKing deck.

Based on your description, you’re experiencing a significant delay (15+ seconds) specifically with the AnKing deck, while other decks work fine. Since you’ve already tried many troubleshooting steps including downgrading Anki, switching video drivers, using different versions of Anki, and disabling add-ons, we need to look at some other potential causes.

Here are some things to try:

1. Check your database

Run Tools > Check Database to ensure your collection doesn’t have any issues. This is a basic maintenance step that can sometimes resolve performance problems.

2. Look for large fields with complex content

The AnKing deck contains many cards with images, complex HTML, and rich formatting. Try:

  • Browse your collection and look at a few of the slow cards
  • See if they contain large images or complex formatting in specific fields
  • Try temporarily hiding some fields (especially image-heavy ones) to see if performance improves

3. Consider card template complexity

The AnKing deck uses more complex card templates than simpler language decks. You could:

  • Try simplifying the card template temporarily (remove some conditional formatting or JavaScript)
  • See if performance changes with different note types within the AnKing deck

4. Check your memory usage

The AnKing deck is resource-intensive. When studying:

  • Check if your computer’s RAM is being heavily used
  • Close other applications to free up resources
  • Restart Anki and try studying with only Anki open

5. Try a clean profile

Create a new Anki profile with just the AnKing deck to see if the issue persists without any of your customizations or other decks.

If you continue to experience issues, it might be helpful to share more specific details about:

  • Which specific cards are slowest
  • How much RAM your computer has
  • Whether the delay is consistent or varies between cards

Let me know if any of these suggestions help!

I’ve checked my database multiple times, I’ve deleted unused media, I’ve run anki with no other apps running and have 16gb of ram, all cards even if they are simple text or have images take at least 10-15 seconds to flip,

I understand how frustrating this situation must be, especially when you’ve already tried so many troubleshooting steps. Let’s look at some more specific solutions for your AnKing deck delay issue.

Additional troubleshooting steps to try:

1. Timer settings

The AnKing deck might have specific timer settings that could be affecting performance:

  • Go to the deck options for your AnKing deck
  • Check the “Timer” section and try disabling “Show answer timer” and “Stop timer on answer”
  • This won’t affect card scheduling but might help with the flip delay

2. Card template JavaScript

Some AnKing cards have JavaScript that runs when you flip cards:

  • Browse your collection and select a slow card
  • Click on Cards… to view the template
  • Look for any JavaScript code in the template (often between <script> tags)
  • Temporarily comment out sections to see if it improves performance

3. Reset card styling

Try temporarily simplifying the card styling:

  • In the Browse window, select several problem cards
  • Go to Cards… > Styling section
  • Make a backup of the current styling
  • Try a minimal styling temporarily to see if performance improves

4. Media file issues

The AnKing deck has many media files that could be causing issues:

  • Try studying in a mode where media isn’t displayed (you can try protecting media fields temporarily)
  • Check if there’s a difference in flip time when cards contain media vs. text-only cards

5. Try different Anki study settings

  • Try changing the number of new cards and review cards per day to a smaller number
  • See if studying in a filtered deck with just a few cards behaves differently

Since you’ve already tried many standard solutions including checking the database, ensuring adequate RAM, and trying different Anki versions, this might be a specific issue with how the AnKing deck interacts with your system. If these steps don’t help, it might be worth reaching out directly to the AnKing team as they might have encountered similar specific issues with their deck’s performance.

My CPU % usage jumps by 10% when i press flip card and goes back down to normal after the card finally flips

Looking at your CPU usage spike when flipping cards in the AnKing deck is a very helpful clue! This strongly suggests there’s some intensive processing happening during the card flip.

Based on this new information, here are some targeted solutions to try:

1. Check for JavaScript in the card template

The AnKing deck often contains JavaScript that runs when cards are flipped. This could be causing the CPU spike:

  • Go to Browse → select an AnKing card → click “Cards…”
  • Look at the Front Template, Back Template, and Styling sections
  • Look for any <script> tags that might be running intensive operations
  • Try temporarily commenting out JavaScript sections to see if it improves performance

2. Disable the Anki timer function

According to the Anki manual, the timer function monitors how long you take to answer cards:

  • Go to Deck Options → Timer section
  • Try disabling “Show answer timer” and “Stop timer on answer”
  • This might reduce the processing load when flipping cards

3. Try a more basic card template temporarily

You could try copying some of your AnKing content to a basic card template to see if it’s the template itself causing issues:

  • Create a new note type with minimal styling
  • Copy content from a few AnKing cards to this new type
  • See if these simplified cards flip faster

4. Check for large image rendering

The CPU spike could be related to image rendering:

  • Try studying with cards that have no images vs. cards with images
  • See if there’s a performance difference

5. Reduce card rendering complexity

Try temporarily disabling some of the more complex formatting features:

  • In the card template, look for CSS that might be causing rendering issues
  • Temporarily simplify the styling to see if performance improves

If none of these solutions work, this might be a specific compatibility issue between the AnKing deck’s template design and your system. You might consider reaching out to the AnKing team directly through their support channels as they may have encountered similar issues with specific hardware/software combinations.

I reset the javascript settings to default and that made anki work like normal, but all my cards are messed up now, so I resynced my account and got my cards back and anki is going slow again, is there a place i can find a normal javascript that makes my cards flip quicker but doesnt mess up the cards

I’m glad you identified that the JavaScript is causing the slowdown, but it’s frustrating that your cards get messed up when you modify it. Let’s find a better solution that preserves your card formatting while improving performance.

Targeted JavaScript Solution

The AnKing deck uses custom JavaScript to enhance functionality, but we can try to optimize it rather than removing it completely. Here are some steps to try:

1. Make a backup first

Before making any changes:

  • Export your deck (File > Export) with scheduling information included
  • This ensures you can restore everything if needed

2. Check which specific JavaScript is causing issues

To narrow down the problematic code:

Search

Found 0 results for 'tags:official anking javascript performance status:public'

Search

Found 0 results for 'tags:official anking template slow status:public'

Search

Found 2 results for 'tags:official anking card template status:public'

It sounds like you’ve identified the issue - the JavaScript in the AnKing deck templates is causing the slow card flipping, but modifying it affected your card formatting. This is a common issue with complex deck templates like AnKing’s.

Here’s what you can do:

Optimizing the JavaScript Without Breaking Card Formatting

  1. Make a backup first:

    • Before making any changes, export your deck or a small portion of it so you have a backup
  2. Edit the template carefully:

    • Go to Browse → select an AnKing card → click “Cards…”
    • Look for JavaScript code between <script> tags
    • Instead of completely removing JavaScript, look for specific functions that might be performance-heavy
  3. Try these specific optimizations:

    • Look for functions that might be calculating or manipulating elements on the page
    • Add timing limits to any animation effects
    • Check for repeated DOM queries that could be optimized
    • Look for loops or heavy calculations that run on card flip
  4. Incremental testing:

    • Make small changes one at a time
    • Test after each change to see if performance improves without breaking formatting

Unfortunately, without seeing the exact JavaScript in your specific AnKing template version, it’s difficult to provide more specific code modifications. The AnKing deck templates are complex and can vary between versions.

Alternative Solutions

If modifying the JavaScript feels too risky:

  1. Contact AnKing directly:

    • The AnKing team offers individualized help through their VIP subscription or tutoring service
    • They would have the most specific knowledge about optimizing their template code
  2. Consider a simplified template:

    • You could create a simplified version of the AnKing template that keeps essential functionality but removes performance-heavy features
    • This would require some work to transfer your cards, but might be worth it for faster study sessions
  3. Try AnKing’s official channels:

    • Check their Reddit community r/medicalschoolanki
    • Other users may have found solutions to similar performance issues

Would you like me to help with any specific part of this approach? Or would you prefer to explore one of these options in more detail?

Ok i finally fixed it, the back template had pages and pages worth of code for some reason so i went to the github and copied the back template code from there and pasted it into mine and cards flip instantly now. thank you

2 Likes

We got a similar report last month. We’re not yet sure what’s causing it though.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.