-
Notifications
You must be signed in to change notification settings - Fork 0
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
Performance tests may not be capturing file open time in brackets-shell #12192
Comments
Comment by pthiess Hi |
Comment by peterflynn
However, IMHO we shouldn't really trust any of these performance measurements :-) Because they capture so little of the rendering/layout cost, which can be substantial. I think the camera tests suggested that these file-open measurements inaccurate by 10-30%, depending on file size. |
Comment by pthiess Agreed, we probably have no handle on being accurate about the layout cost, maybe using a set of files to calculate a compound average could minimize the experimental variance. |
Comment by pthiess
|
Comment by pthiess Reviewed |
Comment by jasonsanjose I'm not seeing any functional issues in the perf instrumentation as-is. I traced through and debugged the call stack to be sure that we do add the editor to the DOM synchronously before we stop our perf timer. I didn't notice the disk slowdown that |
Comment by pthiess
|
Comment by lkcampbell
|
Comment by pthiess
|
Issue by peterflynn
Tuesday Sep 18, 2012 at 22:31 GMT
Originally opened as adobe/brackets#1687
Looking at our file-open performance data:
https://docs.google.com/spreadsheet/ccc?key=0Aras0diokeHxdEc5RGtOeVI0V0xGU3FPUXBuX3ZYTlE#gid=5
There was a dramatic drop in the recorded time to open large files when we cut over to brackets-shell. There's now almost no difference between different file sizes.
That seems a little suspicious given that most disk operations have seemed slightly slower in -shell. I'm wondering if the greater degree of asynchronicity could be exposing a bug in where we've placed the instrumentation. Seems worth investigating.
The text was updated successfully, but these errors were encountered: