Bug Hunting Session
Bug 95092 - convert the ucalc performance test to an in-build performance test
Summary: convert the ucalc performance test to an in-build performance test
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillCpp, topicCleanup
Depends on:
Blocks:
 
Reported: 2015-10-15 17:11 UTC by Markus Mohrhard
Modified: 2017-02-14 08:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Mohrhard 2015-10-15 17:11:39 UTC
The ucalc performance test (Test::testPerf) in sc/qa/unit/ucalc.cxx is an old performance test. We should port that to our new in-build performance tests.

See https://mmohrhard.wordpress.com/2015/09/08/performance-tests-are-now-executed-regularly-in-libreoffice/ for some details.

We should use a new test and a new namespace ("sc-core") for this test.

Copy sc/CppunitTest_sc_perfobj.mk to sc/CppunitTest_sc_perfcore.mk. Replace the sc_perfobj and scperfobj references with sc_perfcore and scperfcore.
Add the new makefile to sc/Module_sc.mk
Copy sc/qa/perf/scperfobj.cxx to sc/qa/perf/scperfcore.cxx and remove everything that is unnecessary.
Comment 1 Robinson Tryon (qubit) 2015-12-10 11:41:08 UTC Comment hidden (obsolete)
Comment 2 Robinson Tryon (qubit) 2016-02-18 14:52:21 UTC Comment hidden (obsolete)
Comment 3 Markus Mohrhard 2016-07-30 01:09:21 UTC
I think I removed it already.