diff options
Diffstat (limited to 'src/object-test.h')
| -rw-r--r-- | src/object-test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object-test.h b/src/object-test.h index d6a9dbbd3..4fd3d67b5 100644 --- a/src/object-test.h +++ b/src/object-test.h @@ -178,7 +178,7 @@ public: Inkscape::XML::Document *xml_doc = node->document(); TS_TRACE("Benchmarking groups..."); - const size_t num_elements = 10000; + const size_t num_elements = 2000; Inkscape::XML::Node *new_group = xml_doc->createElement("svg:g"); Inkscape::GC::release(new_group); @@ -208,6 +208,7 @@ public: end = clock(); std::cout << "Took " << double(end - begin) / double(CLOCKS_PER_SEC) << " seconds to ungroup a <g> with " << num_elements << " elements\n"; + std::cout << " Note: sp_item_group_ungroup_handle_clones() is responsible\n for most of the time as it is linear in number of elements\n which results in quadratic behavior for ungrouping." << std::endl; begin = clock(); // Remove those elements |
