XLSForm / pyxform

A Python package to create XForms for ODK Collect.
BSD 2-Clause "Simplified" License
77 stars 134 forks source link

Investigate possible performance degradation following PR #706 #708

Open lindsay-stevens opened 3 weeks ago

lindsay-stevens commented 3 weeks ago

Software and hardware versions

pyxform v2.0.3 at 1599d1f, Python 3.10, 3.11, 3.12

Problem description

Changes in #706 seem to have resulted in rather slower test runs than before.

It's not clear whether this is due to slower execution of source or tests (or both).

Pre 706, actions, Post 706 actions runs were roughly:

Also in the performance test in test_translations.py, test times increased since last run in this commit (Jan 2022):

Possible reasons (scope of #706):

The performance test stats have additional factors that could explain the larger diffs:

Steps to reproduce the problem

Run the test suite, note longer execution time as described above.

Expected behavior

Little to no performance change (or improvement??).