Closed SteveBronder closed 1 month ago
Name | Old Result | New Result | Ratio | Performance change( 1 - new / old ) |
---|---|---|---|---|
arma/arma.stan | 0.19 | 0.22 | 0.85 | -17.54% slower |
low_dim_corr_gauss/low_dim_corr_gauss.stan | 0.01 | 0.01 | 0.96 | -4.38% slower |
gp_regr/gen_gp_data.stan | 0.02 | 0.02 | 1.02 | 2.32% faster |
gp_regr/gp_regr.stan | 0.11 | 0.11 | 1.04 | 3.79% faster |
sir/sir.stan | 78.55 | 77.84 | 1.01 | 0.9% faster |
irt_2pl/irt_2pl.stan | 3.81 | 3.84 | 0.99 | -0.83% slower |
eight_schools/eight_schools.stan | 0.05 | 0.05 | 1.06 | 5.73% faster |
pkpd/sim_one_comp_mm_elim_abs.stan | 0.25 | 0.23 | 1.05 | 5.2% faster |
pkpd/one_comp_mm_elim_abs.stan | 17.86 | 17.01 | 1.05 | 4.8% faster |
garch/garch.stan | 0.46 | 0.42 | 1.09 | 8.5% faster |
low_dim_gauss_mix/low_dim_gauss_mix.stan | 2.73 | 2.67 | 1.02 | 2.22% faster |
arK/arK.stan | 1.61 | 1.54 | 1.05 | 4.91% faster |
gp_pois_regr/gp_pois_regr.stan | 2.43 | 2.38 | 1.02 | 2.21% faster |
low_dim_gauss_mix_collapse/low_dim_gauss_mix_collapse.stan | 9.01 | 8.66 | 1.04 | 3.91% faster |
performance.compilation | 178.66 | 176.84 | 1.01 | 1.02% faster |
Mean result: 1.0186464604149377
Jenkins Console Log Blue Ocean Commit hash: 74d88b4080bb5f5b95c7483ebaa07a94e89cfb14
Summary
use tbb::concurrent_unordered_map instead of std::map so data races do not happen when multiple threads attempt to write to the map
Tests
No new tests added
Release notes
Use
tbb::concurrent_unordered_map
for profilingChecklist
[x] Copyright holder: Simon's Foundation
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
[x] the basic tests are passing
./runTests.py test/unit
)make test-headers
)make test-math-dependencies
)make doxygen
)make cpplint
)[x] the code is written in idiomatic C++ and changes are documented in the doxygen
[x] the new changes are tested