Skip to content

Commit

Permalink
fixup! perf: hash data files during combining to avoid unneeded work. #…
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Nov 7, 2022
1 parent 331ab7d commit b034f53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions coverage/sqldata.py
Expand Up @@ -4,7 +4,6 @@
"""SQLite coverage data."""

import collections
import datetime
import functools
import glob
import itertools
Expand Down Expand Up @@ -56,7 +55,6 @@
-- 'has_arcs' boolean -- Is this data recording branches?
-- 'sys_argv' text -- The coverage command line that recorded the data.
-- 'version' text -- The version of coverage.py that made the file.
-- 'when' text -- Datetime when the file was created.
);
CREATE TABLE file (
Expand Down Expand Up @@ -305,7 +303,6 @@ def _init_db(self, db):
[
("sys_argv", str(getattr(sys, "argv", None))),
("version", __version__),
#("when", datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")),
]
)

Expand Down
3 changes: 1 addition & 2 deletions doc/dbschema.rst
Expand Up @@ -70,7 +70,6 @@ This is the database schema:
-- 'has_arcs' boolean -- Is this data recording branches?
-- 'sys_argv' text -- The coverage command line that recorded the data.
-- 'version' text -- The version of coverage.py that made the file.
-- 'when' text -- Datetime when the file was created.
);
CREATE TABLE file (
Expand Down Expand Up @@ -116,7 +115,7 @@ This is the database schema:
foreign key (file_id) references file (id)
);
.. [[[end]]] (checksum: cfce1df016afbb43a5ff94306db56657)
.. [[[end]]] (checksum: 9d87794485a9aa6d9064b735972a3447)
.. _numbits:
Expand Down

0 comments on commit b034f53

Please sign in to comment.