Skip to content

Conversation

hia3
Copy link

@hia3 hia3 commented May 24, 2018

This adds performance test that can work in two modes:

  1. When executed without command line arguments, it prints on stdout:

Inserting 5000 elements into deferred_vector<deferred_ptr> is 1226 times slower than into vector<unique_ptr>

  1. When executed with one command line argument (html file name), it outputs html file with performance comparison between deferred_vector<deferred_ptr>, std::vectorstd::unique_ptr and std::vectorstd::shared_ptr (uses Google Line Chart https://developers.google.com/chart/interactive/docs/gallery/linechart )

Here is an example of output it can produce:

image

This adds performance test that can work in two modes:

1) When executed without command line arguments, it prints on stdout:

Inserting 5000 elements into deferred_vector<deferred_ptr> is 1226 times slower than into vector<unique_ptr>

2) When executed with one command line argument (html file name), it outputs html file with performance comparison of deferred_vector<deferred_ptr>, std::vector<std::unique_ptr> and std::vector<std::shared_ptr> (uses Google Line Chart https://developers.google.com/chart/interactive/docs/gallery/linechart )
@CLAassistant
Copy link

CLAassistant commented May 24, 2018

CLA assistant check
All committers have signed the CLA.

@hia3 hia3 mentioned this pull request May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants