Commit 6f2d256
committed
Remove caching for enforcer, formatter and impsort plugins
Because:
1. Retrieving something from the remote cache takes significantly
more time than simply executing these goals,
so caching remotely is hurtful.
2. These goals don't take much time to execute,
so even caching locally is questionable.
3. In the case of the formatter and impsort plugins, we don't run the
same goals on CI vs. local, so remote caching only helps on CI,
and hurts locally.
See for example https://ge.hibernate.org/s/zb7extrhgxneg/timeline?cacheability=cacheable&goal-execution=engine&outcome=success,failed&view=by-type
* `enforcer:enforce (enforce-dependency-convergence) @ Hibernate Search Engine`
108ms to query the cache (miss), 112ms total, 1ms fingerprinting,
so 3ms execution.
* `enforcer:enforce (enforce-common-rules) @ Hibernate Search Engine`
91ms to query the cache (miss), 94ms total, 0ms fingerprinting,
so 3 ms execution.
* `enforcer:enforce (enforce-banned-dependencies-rules) @ Hibernate Search Engine`
91ms to query the cache (miss), 93ms total, 0ms fingerprinting,
so 2 ms execution.
* `formatter:format (code-formatting) @ Hibernate Search Engine`
89ms to query the cache (miss), 7ms fingerprinting, 99ms total,
so 3 ms execution.
* `impsort:sort (import-sorting) @ Hibernate Search Engine`
92ms to query the cache (miss), 14ms fingerprinting, 107ms total,
so 1 ms execution.1 parent 9152db8 commit 6f2d256
File tree
4 files changed
+0
-204
lines changed- src/main/java/org/hibernate/search/develocity
- plugins
4 files changed
+0
-204
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
| |||
Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 0 additions & 75 deletions
This file was deleted.
0 commit comments