← Back to team overview

kicad-developers team mailing list archive

Re: Regression & performance testing

 

2015-10-12 23:50 GMT+02:00 Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>:
> On 12.10.2015 19:47, Markus Hitter wrote:
>>
>> As I'm shortly before providing my first commit I wonder what the
>> testing procedures are to make sure a patch doesn't unintentionally
>> break something else. Is there a recommended / required procedure?
>>
> Hi Markus,
>
> There's not much progress on regression tests side. Miguel was working
> on a python-driven test suite.

This is in the qa folder in the source tree. But keep in mind that it
is near zero code coverage. The scripts there are only testing loading
a file and saving it and show how one could use it to make test cases
with. I guess no one have had the urge or time to extend it.

>> The other question is, what is the recommended procedure to roughly
>> measure graphics performance? For example, Cairo canvas vs. software
>> OpenGL canvas. Simply load larger and larger layouts until it feels slow?
>>
> There's a simple timer measuring the frame render time. Compile Kicad in
> debug mode and add -DPROFILE to build options.
>
> Tom
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References