diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-02 13:08:06 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-03 17:17:41 +0200 |
| commit | 012fe8fa9be1676b8eef0cce795738a00c4260c0 (patch) | |
| tree | 34238f56af20f0eb697f25ad5a700bab7fa4d6fb /opendc-simulator/opendc-simulator-compute/src/test | |
| parent | 081221684fb826ab5a00c1d8cc5a9886b9e2203c (diff) | |
perf(compute): Optimize telemetry collection
This change optimizes the telemetry collection in the SimHost class.
Previously, there was significant overhead in collecting the metrics of
this and associated classes due large `Attributes` object that did not
cache accesses to `hashCode()`. We now wrap this object and manually
cache the hash code.
Diffstat (limited to 'opendc-simulator/opendc-simulator-compute/src/test')
0 files changed, 0 insertions, 0 deletions
