Page Comparison - Getting Started with Timeline Profiling (v.28 vs v.29)

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


As an example, we’ll use a small app used to reverse lines (e.g., "ABC" > "CBA") in text files. Briefly: With the Select Files button, a user specifies text files to be processed. The Process Files button runs a separate BackgroundWorker thread which reverses lines in the files. The progress of file processing is displayed in a label on the main window. After the processing is finished, the label shows the "All files were successfully processed" message.
The source code of the app is available here.


* The algorithm of fixing UI freezes shown in this tutorial contains some unnecessary steps and may seem you suboptimal. This is made intentionally as the main goal of the tutorial is to acquaint you with Timeline as maximally as possible.