You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In #535 and adjacent issues, a compatibility layer with python-xdist has been implemented (thanks by the way!). One problem remains though: the snapshots are now collected in memory to be written at once at the end of the session. This is sensible for Amber files with multiple results, however, with large snapshots (e.g. images/screenshots), the memory footprint rises fast -- and there is probably no need to delay snapshot writing for anything derived from SingleFileSnapshotExtension, since there is only once process/thread writing to that single file.
Describe the solution you'd like
Restrict in-memory snapshot collection to certain extensions, e.g. by providing a flag and setting this flag appropriately on built-in extensions.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In #535 and adjacent issues, a compatibility layer with
python-xdist
has been implemented (thanks by the way!). One problem remains though: the snapshots are now collected in memory to be written at once at the end of the session. This is sensible for Amber files with multiple results, however, with large snapshots (e.g. images/screenshots), the memory footprint rises fast -- and there is probably no need to delay snapshot writing for anything derived fromSingleFileSnapshotExtension
, since there is only once process/thread writing to that single file.Describe the solution you'd like
Restrict in-memory snapshot collection to certain extensions, e.g. by providing a flag and setting this flag appropriately on built-in extensions.
The text was updated successfully, but these errors were encountered: