EmptyFileCollectionSnapshotTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename Snapshot -> Fingerprint

Where applicable.

    • -69
    • +0
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 43 more files in changeset.
Move *Fingerprint to org.gradle.internal.fingerprint

    • -1
    • +1
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 36 more files in changeset.
Separate fingerprints and snapshots (#5927)

This de-tangles FileContentSnapshot (and removes it) from NormalizedFileSnapshots.

Also it makes clear that only PhysicalSnapshots can be used to check if a file changed the timestamp.

    • -8
    • +8
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 87 more files in changeset.
Separate {Current,Historical}FileCollectionFingerprint

    • -5
    • +5
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 41 more files in changeset.
Retain hierarchical structure in file system mirror (#5844)

The `FileSystemSnapshotter` now returns a root for each snapshotted file, possible containing all the children in hierarchy as the directory would no the file system.

This PR also contains some performance related changes:

- Stop interning path segments: That was only necessary when we stored the same path segments in many RelativePath objects. We don't do this any more, so interning should not be necessary and make things faster.

Actually, up-to-date assemble on largeMonolithicJavaProject (parallel false)

is about 40ms faster with this change (2.5 %).

- Don't use IndexedNormalizedFileSnapshots: It seems like there are no real performance gains by using IndexedNormalizedFileSnapshots.

    • -6
    • +6
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 131 more files in changeset.
Rename accept -> visitChangesSince on FileCollectionSnapshot

    • -1
    • +1
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 5 more files in changeset.
Use visitor for file collection changes

    • -6
    • +14
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 8 more files in changeset.
Fix test

    • -12
    • +12
    ./EmptyFileCollectionSnapshotTest.groovy
Report snapshot changes properly

    • -0
    • +61
    ./EmptyFileCollectionSnapshotTest.groovy
  1. … 1 more file in changeset.