Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

high CPU usage https://jhildenbiddle.github.io/docsify-themeable/ #2

Closed
2p4g0 opened this issue Jun 22, 2018 · 3 comments
Closed

high CPU usage https://jhildenbiddle.github.io/docsify-themeable/ #2

2p4g0 opened this issue Jun 22, 2018 · 3 comments
Labels

Comments

@2p4g0
Copy link

2p4g0 commented Jun 22, 2018

screen shot 2018-06-22 at 4 15 46 pm

docsify-themeable js script is the cause of this.

Any way I can fix this?

@jhildenbiddle
Copy link
Owner

jhildenbiddle commented Jun 22, 2018

HI @2p4g0.

Happy to help, but I'll need a little more to work with than just an Activity Monitor screenshot.

  • What browser(s) / OS are you seeing this behavior with?
  • Do you have any browser extensions installed?

Thanks for creating the issue, @2p4g0. Hope to get this resolved quickly.

@2p4g0
Copy link
Author

2p4g0 commented Jun 23, 2018

macOS 10.13.3 High Sierra / Safari Version 11.0.3 (13604.5.6)
No any extensions installed.

Everything works smooth in Firefox and Chrome, this only happens in Safari. I also checked it in Safari Technology Preview, loads cpu 100%. So this is definitely a Safari-related bug.

@jhildenbiddle
Copy link
Owner

jhildenbiddle commented Jun 23, 2018

Great catch, @2p4g0.

Turns out Safari didn't like the combination of a background image and transition: all on the search field. Removing the transition (which wasn't being used anyway) solved the issue.

safari cpu

The fix is in 0.1.2, which I published tonight. Assuming you're linking to the latest version on unpkg.com (as listed in the docs) you should pick up the fix automatically.

Thanks for taking the time to report it. Very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants