Skip to content

Commit 9c604ea

Browse files
jincopybara-github
authored andcommitted
Update Skyfocus documentation to use --experimental_active_directories.
The flag for specifying the active directories in Skyfocus has been renamed from `--experimental_working_set` to `--experimental_active_directories`. This change updates the documentation to reflect the correct flag name. PiperOrigin-RevId: 891550757 Change-Id: I7f112157f07d5ac41cec9b16d6206d4207754156
1 parent 45ea1f0 commit 9c604ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/advanced/performance/memory.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ changes to files outside of the working set will be disallowed, until you issue
5959
`bazel clean` or restart the Bazel server.
6060

6161
If you want to specify an exact set of files or directories, use the
62-
`--experimental_working_set` flag, like so:
62+
`--experimental_active_directories` flag, like so:
6363

6464
```sh
6565
bazel build //pkg:target --experimental_enable_skyfocus
66-
--experimental_working_set=path/to/another/dir,path/to/tests/dir
66+
--experimental_active_directories=path/to/another/dir,path/to/tests/dir
6767
```
6868

6969
You can also pass `--experimental_skyfocus_dump_post_gc_stats` to show the
@@ -72,7 +72,7 @@ memory reduction amount:
7272
Putting it altogether, you should see something like this:
7373

7474
```none
75-
$ bazel test //pkg:target //tests/... --experimental_enable_skyfocus --experimental_working_set dir1,dir2,dir3/subdir --experimental_skyfocus_dump_post_gc_stats
75+
$ bazel test //pkg:target //tests/... --experimental_enable_skyfocus --experimental_active_directories=dir1,dir2,dir3/subdir --experimental_skyfocus_dump_post_gc_stats
7676
INFO: --experimental_enable_skyfocus is enabled. Blaze will reclaim memory not needed to build the working set. Run 'blaze dump --skyframe=working_set' to show the working set, after this command.
7777
WARNING: Changes outside of the working set will cause a build error.
7878
INFO: Analyzed 149 targets (4533 packages loaded, 169438 targets configured).

0 commit comments

Comments
 (0)