Key pressing slows down program execution?
|
08-05-2018, 02:06 PM
(This post was last modified: 08-05-2018 02:16 PM by komame.)
Post: #1
|
|||
|
|||
Key pressing slows down program execution?
Hi,
I noticed that pressing the keys slows down the program execution even if there is no check if any key was pressed. Here is a simple example of drawing a color table and taking a time measurement of this drawing. You need real hardware to perform this test. I tried this on newest FW 2.0.0.13865 (2018 07 06). Code: EXPORT PERF_TEST() My Prime shows about 260ms measurement in no key is pressed and about 330ms when pressed. Pressing the key slows down the program execution by 25% in this case. That's quite a lot of time considering the fact that the program does not even have a test for pressing a key. What is the reason? Piotr Kowalewski |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Key pressing slows down program execution? - komame - 08-05-2018 02:06 PM
RE: Key pressing slows down program execution? - Tyann - 08-05-2018, 03:31 PM
RE: Key pressing slows down program execution? - komame - 08-05-2018, 07:39 PM
RE: Key pressing slows down program execution? - Tim Wessman - 08-06-2018, 01:09 AM
RE: Key pressing slows down program execution? - toml_12953 - 08-06-2018, 05:00 PM
RE: Key pressing slows down program execution? - Steve Simpkin - 08-06-2018, 07:22 PM
RE: Key pressing slows down program execution? - komame - 08-06-2018, 07:41 AM
RE: Key pressing slows down program execution? - cyrille de brébisson - 08-07-2018, 06:05 AM
|
User(s) browsing this thread: 1 Guest(s)