5 ms·
Is there a reason why typing is so slow? It seems like it's really chugging away on something as I type. I would guess there's a 500ms or so delay between hitti
by marknutter 12y ago
Is there a reason why typing is so slow? It seems like it's really chugging away on something as I type. I would guess there's a 500ms or so delay between hitting a key and it ending up on the notepad. Same goes for clicking to change the cursor placement.
- ny2244111 12y agoIf you could tell me some of the specs of your system so I can check why it is so laggy that would be great. One thing that is hacky/a problem with the app is that I wanted to be able to hash tag notes and have the hashtags a different color. Also very soon i'd like to add the ability to highlight text. It's pretty hard to do that smoothly even with the contenteditable attribute. I decided on a transparent textarea over a div and I sync and transform the content. It is a bit clunky as you say but I anticipate it will get better.
- noir_lord 12y agoInput is noticeably slow for me as well. i5 3570K, 16GB DDR3, FF36 and Chrome 41, Xubuntu 14.04 input speed seems to be equally slow on both, very noticeable if you press and hold a key.
- inglor 12y agoSlow for me too - i7 3770k, 16gb ram, win 8
- hackerboos 12y agoSlow for me Mac Pro 2.6Ghz i5, 16GB ram, SSD. Run a JS profile on your code, I think there's some performance bugs.
- ny2244111 12y agoFrustrating. Not able to recreate. There are some unnecessary repaints but can't see much other than that.
- hackerboos 12y agoFixed now - whatever you did worked.
- bildung 12y agoHmm, its fast for me on a way older machine than the siblings have: Intel Core2 Duo T9600, 4G Ram, Debian 64bit, Chromium 35, adblock plus as the only extension. I just checked at chrome://gpu/ and I don't have WebGL or any other hardware acceleration feature for CSS etc. enabled. Perhaps the others experience some hardware acceleration gone wrong?
- chrisan 12y agoi7 16GB ram, latest chrome/ff/ie all work fine.. realize that doesnt help the cause but at least you aren't alone!
- edmccard 12y agoAs an extra data point, the typing speed is fine on my old 1.6 Ghz Athlon 2650e, 2G RAM (running FF 36.0.4 under Arch Linux)
- limeyx 12y agoIf you need "machine specs" for a simple note-taking app something more fundamental seems to be wrong. It's a note-taking app. It should run fine on a 1980s calculator
- ny2244111 12y agohttp://guysgirl.com/wp-content/uploads/2013/07/why-you-mad-tho1.jpg?5f677f http://guysgirl.com/wp-content/uploads/2013/07/why-you-mad-t...
- amelius 12y agoThe reason could be that React always revisits the entire virtual dom tree whenever something changes (even if it is only a very small change).
- teisman 12y agoCould it be that it is slow because localStorage is updated on every keypress?