Sha256: c208f7a3fe02c02d95e4f5da018a8707c7c80672e8167c7cba8c19375562b625
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
## Benchmarking & Performance Timber was designed with an obsessive focus on performance and resource usage. In the `/benchmark` folder you'll find benchmarking tests. ```console +---------------------------+------------+-----------------+--------------+ | Timber benchmarking. 10 requests per test. Times are "real" CPU time. | +---------------------------+------------+-----------------+--------------+ | | Total | Per request avg | Per log line | +---------------------------+------------+-----------------+--------------+ | Control | 0.0077939 | 0.00077939 | 2.598e-05 | | Timber probes only | 0.00694394 | 0.00069439 | 2.315e-05 | | Timber probes and logging | 0.00897193 | 0.00089719 | 2.991e-05 | +---------------------------+------------+-----------------+--------------+ ``` 1. `Control` - This is vanilla rails app without Timber installed. 2. `Timber probels only` - The same rails app but with *only* the `Timber::Probes` installed, isolating probes performance. 3. `Timber probes and logging` - Testing the full Timber library, probes and adding context to each log line. The benchmark can be run yourself via: ```console $ appraisal ruby benchmark/rails_request.rb ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
timberio-1.0.0.beta1 | benchmark/README.md |