About Flip Performance Guide
The Performance Guide is a serie of guides intented for flip developers to assist into tuning their model performances while keeping the desired level of concurrency.
How to Use This Document
This guide describes a typical model implementation and is getting refined chapters after chapters. Therefore it is meant to be read in chapter natural order.
Prerequisites
You should be already familiar with Flip development.
See Also
See Flip Framework Reference for details on Flip classes.
Content
This guide presents the following content in a didactic order.
- The first chapter, Problem Description describes the problem and one way to modelize it,
- Then, the chapter Refining Arms, exposes a first easy and quite common optimisation
- Next, the chapter Refining Jobs, exposes a more subtle optimisation related to model redundancy
- Then, the chapter Refining Commands, exposes an important technique that can bring better concurrency as well as
stdkind of performances - Finally, the chapter Results, shows the optimisation results with bar charts for various operations.
The code for each iteration of the model is implemented in different files named with by the iteration number of the model, starting from 1.
Then, PerfGuide will execute every of them and collect statistics, and produce the svg bar charts for this documentation.
flip/ |
test/ |
perf/ |
PerfGuide.cpp |
PerfGuide.h |
PerfGuideModel1.cpp |
PerfGuideModel1.h |
PerfGuideModel2.cpp |
PerfGuideModel2.h |
PerfGuideModel3.cpp |
PerfGuideModel3.h |
PerfGuideModel4.cpp |
PerfGuideModel4.h |
PerfGuideModel5.cpp |
PerfGuideModel5.h |
This guide is intended to be read in its natural chapter order. The first chapter, Problem Description will expose quickly the problem and give one way to modelize it.