BigW Consortium Gitlab
Previously we'd create a separate Metric instance for every method call that would exceed the method call threshold. This is problematic because it doesn't provide us with information to accurately get the _total_ execution time of a particular method. For example, if the method "Foo#bar" was called 4 times with a runtime of ~10 milliseconds we'd end up with 4 different Metric instances. If we were to then get the average/95th percentile/etc of the timings this would be roughly 10 milliseconds. However, the _actual_ total time spent in this method would be around 40 milliseconds. To solve this problem we now create a single Metric instance per method. This Metric instance contains the _total_ real/CPU time and the call count for every instrumented method.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
README.md | Loading commit data... | |
architecture.md | Loading commit data... | |
ci_setup.md | Loading commit data... | |
code_review.md | Loading commit data... | |
db_dump.md | Loading commit data... | |
doc_styleguide.md | Loading commit data... | |
gitlab_diagram_overview.odg | Loading commit data... | |
gitlab_diagram_overview.png | Loading commit data... | |
gotchas.md | Loading commit data... | |
instrumentation.md | Loading commit data... | |
licensing.md | Loading commit data... | |
migration_style_guide.md | Loading commit data... | |
omnibus.md | Loading commit data... | |
performance.md | Loading commit data... | |
profiling.md | Loading commit data... | |
rake_tasks.md | Loading commit data... | |
scss_styleguide.md | Loading commit data... | |
shared_files.md | Loading commit data... | |
shell_commands.md | Loading commit data... | |
sidekiq_debugging.md | Loading commit data... | |
sql.md | Loading commit data... | |
testing.md | Loading commit data... | |
ui_guide.md | Loading commit data... |