Basel’s built in caching requires you build the test (even with cached this takes a bit to love the bites) then you can figure out your already have the result.
You save a large amount of time if you can tell Bazel only to evaluate the part of the tree you know a change effects.