Commit 450845d
committed
Remove unnecessary includes
Manual removal of includes based on include-what-you-use's output,
filtered for includes that should be removed. The goal is to avoid
unnecessary build dependencies, reducing the amount of code that needs
to be rebuilt during incremental builds. The build time for fresh
rebuilds decreases by about 7% as the following experiment shows:
```
rm -rf build && ccache -C
cmake -H. -Bbuild -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld -Wl,--threads"
/usr/bin/time -v ninja -C build -j32
```
Repeated execution for both develop and this branch producing the
following data, which less than 1s of variation across multiple runs:
develop:
```
Command being timed: "ninja -C build -j32"
User time (seconds): 2714.02
System time (seconds): 203.75
Percent of CPU this job got: 2833%
Elapsed (wall clock) time (h:mm:ss or m:ss): 1:42.96
```
this PR:
```
Command being timed: "ninja -C build -j32"
User time (seconds): 2507.14
System time (seconds): 189.95
Percent of CPU this job got: 2822%
Elapsed (wall clock) time (h:mm:ss or m:ss): 1:35.56
```1 parent e2af83f commit 450845d
File tree
864 files changed
+1310
-1869
lines changed- jbmc
- src
- janalyzer
- java_bytecode
- jbmc
- jdiff
- unit
- java-testing-utils
- java_bytecode
- goto-programs
- java_bytecode_convert_class
- java_bytecode_convert_method
- java_bytecode_instrument
- java_bytecode_language
- java_bytecode_parse_lambdas
- java_bytecode_parser
- java_object_factory
- java_replace_nondet
- java_static_initializers
- java_string_library_preprocess
- java_virtual_functions
- solvers/strings
- string_constraint_instantiation
- string_refinement
- regression/invariants
- scripts
- src
- analyses
- variable-sensitivity
- ansi-c
- literals
- assembler
- cbmc
- cpp
- goto-analyzer
- goto-cc
- goto-checker
- goto-diff
- goto-harness
- goto-instrument
- accelerate
- wmm
- goto-programs
- goto-symex
- jsil
- json-symtab-language
- langapi
- linking
- memory-analyzer
- pointer-analysis
- solvers
- flattening
- floatbv
- lowering
- prop
- qbf
- refinement
- sat
- smt2
- strings
- statement-list
- converters
- symtab2gb
- util
- xmllang
- unit
- analyses
- ai
- does_remove_const
- variable-sensitivity
- abstract_object
- constant_abstract_value
- full_array_abstract_object
- full_struct_abstract_object
- interval_abstract_value
- value_set_abstract_object
- goto-programs
- goto-symex
- interpreter
- pointer-analysis
- solvers
- sat
- strings
- array_pool
- string_constraint_generator_valueof
- string_refinement
- testing-utils
- util
- expr_cast
- interval
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
864 files changed
+1310
-1869
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 22 | | |
28 | 23 | | |
29 | | - | |
30 | 24 | | |
31 | 25 | | |
32 | 26 | | |
| |||
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
39 | | - | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
| |||
52 | 45 | | |
53 | 46 | | |
54 | 47 | | |
55 | | - | |
56 | 48 | | |
57 | 49 | | |
58 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | 114 | | |
118 | | - | |
119 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | | - | |
22 | 18 | | |
| 19 | + | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 16 | | |
21 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
22 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 18 | | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
0 commit comments