Date post: | 15-Aug-2015 |
Category: |
Technology |
Upload: | fabio-perrella |
View: | 171 times |
Download: | 0 times |
Profiling
Profiling is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the frequency and duration of function calls.
Wikipedia
Tipos de medição
- wall time (tempo real decorrido entre 2 momentos)
- process time- cpu time- object allocations- memory usage- garbage collection time- garbage collections runs
Recomendações (Rails)
- criar um environment “profile”- ligar cache de classes (como em prod)- utilizar massa de dados considerável- adicionar no config.ru: