Home

PLF C++ Library - plf::stack - Core2 MSVC 2015 Benchmark results

Last updated 21-11-2016 v1.05

The test setup is a Haswell-class Xeon (E3-1241) on an Intel motherboard, 16GB ECC ram, running MSVC 2015 update 3 x64 as compiler. Build settings are x64 release, "/O2 /Oi /Ot /Oy /GL".

Construction + Push

Click images or hover over to see results at linear scale instead

test result graph
test result graph
test result graph
test result graph
test result graph

Back + Pop + Destruction

Click images or hover over to see results at linear scale instead

test result graph
test result graph
test result graph
test result graph
test result graph

Total Time

Click images or hover over to see results at linear scale instead

test result graph
test result graph
test result graph
test result graph
test result graph

Conclusion

Simply put, plf::stack out-performs both std::stack (std::deque) and std::vector under MSVC 2015 once both push and pop time are taken into account, except for char with more than 1000 elements, where vector has a performance advantage. We can also see that the larger the stored type is, the greater the performance advantage is.

Contact: contact
plf:: library and this site Copyright (c) 2021, Matthew Bentley