Searched refs:num_elements (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/
H A Dobject-test.h181 const size_t num_elements = 10000; local
187 std::vector<Inkscape::XML::Node *> elements(num_elements, NULL);
190 for (size_t i = 0; i < num_elements; ++i) {
201 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to write " << num_elements << " elements into a group\n";
211 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to ungroup a <g> with " << num_elements << " elements\n";
216 for (size_t i = num_elements - 1; i >= 1; --i) {
221 std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to remove " << num_elements << " elements\n";

Completed in 37 milliseconds