Skip to content

Commit bb84077

Browse files
committed
chore: add comment to explain results storing in .codspeed folder
1 parent e8498e4 commit bb84077

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pytest_codspeed/plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ def pytest_sessionfinish(session: pytest.Session, exitstatus):
300300
if plugin.profile_folder:
301301
result_path = plugin.profile_folder / "results" / f"{os.getpid()}.json"
302302
else:
303+
# Default to a .codspeed folder in the root of the project.
304+
# Storing the results will be later used for features such as
305+
# local comparison between runs.
303306
result_path = (
304307
session.config.rootpath / f".codspeed/results_{time() * 1000:.0f}.json"
305308
)

0 commit comments

Comments
 (0)