eugene yokota
d199f86a44
Merge pull request #7878 from eed3si9n/wip/scalainstance
...
[2.x] Use ScalaInstance from update
2024-11-14 23:50:08 -05:00
Eugene Yokota
d1b6609a33
Mark tests pending
2024-11-14 23:37:30 -05:00
Eugene Yokota
29c77f6f5f
Merge branch 'develop' into wip/scalainstance
2024-11-14 22:02:10 -05:00
Eugene Yokota
5329029768
Mark jvm-sandwich pending
2024-11-14 22:01:30 -05:00
adpi2
87e6f66bf8
Merge pull request #7882 from adpi2/2.x-fuse-info
...
[2.x] Remove instances of `Info` and `BasicAttributeMap`
2024-11-14 06:39:28 +01:00
adpi2
4c66e5a907
Merge branch 'develop' into 2.x-fuse-info
2024-11-13 17:08:37 +01:00
adpi2
f82336d385
Merge pull request #7879 from adpi2/2.x-refactor-settings
...
[2.x] Refactor `Settings` and optimize indexing of aggregate keys
2024-11-13 17:08:09 +01:00
Adrien Piquerez
0ccf3325c8
Optimize indexing of aggregate keys
...
To build the index of all aggregate keys, we were computing the reverse
aggregation of each key, before indexing them.
And so each aggregate key was indexed many times, once for each
aggregated project. It was parallelized to reduce the latency.
In this PR, we compute the reverse aggregation of all the keys at once,
removing all duplication. We cannot parallelize this process anymore
but we don't need to, because it is a lot faster. It reduces the total
CPU time by 12%. The impact for the user depends on its number of cores.
2024-11-13 12:25:31 +01:00
Adrien Piquerez
f4f185a1c1
Settings as a Map[ScopedKey[x], x]
...
Settings0 used to be a Map[Scope, AttributeMap], and is now a
Map[ScopedKey[x], x].
This is better because we don't need to decompose all ScopedKey[x]
into a Scope and an AttributeKey[x], for recomposing it back later,
which duplicates all ScopedKey[x]. It reduces the number of long-living
ScopedKey[x] by 8%, and the total number of instances by 1.4%.
Also it improves the performance of Settings0, which was responsible of
2.95% of the total CPU time, and is now responsible of 0.41%.
2024-11-13 12:25:31 +01:00
Adrien Piquerez
327d05e28f
Remove unused Structure.taskToKey
2024-11-13 11:22:53 +01:00
Adrien Piquerez
6fbe032517
AttributeMap as an opaque type
2024-11-13 11:09:23 +01:00
Adrien Piquerez
d54647a46c
Use referential equality on Task
2024-11-13 10:55:29 +01:00
Eugene Yokota
cfbc5c078a
Merge branch 'develop' into wip/scalainstance
2024-11-13 00:31:53 -05:00
eugene yokota
661f1fa216
Merge pull request #7880 from adpi2/2.x-settings
...
[2.x] Reduce creation of `Setting` and `Initialize`
2024-11-12 22:41:42 -05:00
Adrien Piquerez
e5cedbe56b
Fuse Info in Task to reduce instances
2024-11-12 17:05:20 +01:00
Adrien Piquerez
6c226a2afd
Reduce settings created by Defaults
2024-11-12 11:51:42 +01:00
Adrien Piquerez
8406fc86a8
Reduce settings created by ProjectMatrix
2024-11-12 11:51:42 +01:00
Adrien Piquerez
07ac8625e5
Reduce settings created by dependency-tree plugins
2024-11-12 11:51:31 +01:00
Adrien Piquerez
c838094672
Optimize Previous
2024-11-12 10:56:31 +01:00
Eugene Yokota
258a831b03
Use ScalaInstance from update
...
**Problem**
doc task currently doesn't work.
**Solution**
For now turn off the optimized ScalaInstance
2024-11-12 03:44:52 -05:00
eugene yokota
f7160ba8d8
Merge pull request #7875 from eed3si9n/wip/slash-tests
2024-11-07 12:33:16 -05:00
eugene yokota
583939fc3c
Merge pull request #7874 from xuwei-k/ClassLoaderWarmup-scala-2-universe
...
[2.x] update ClassLoaderWarmup.scala
2024-11-06 03:47:09 -05:00
Eugene Yokota
a34bb4756c
Resurrect property-based testing for slash syntax
2024-11-06 03:43:39 -05:00
adpi2
aa5e252d22
Merge pull request #7866 from adpi2/2.x-reduce-heap
...
[2.x] Reduce number of long-living instances to speed up loading
2024-11-06 08:44:03 +01:00
xuwei-k
6e4c2ea275
update ClassLoaderWarmup.scala
2024-11-06 14:17:13 +09:00
Adrien Piquerez
2f726cddf0
Add comments
2024-11-05 11:36:18 +01:00
eugene yokota
af22a5cf0f
Merge pull request #7864 from xuwei-k/delete-deprecated-since-0-x
2024-11-04 10:00:36 -05:00
Adrien Piquerez
9382fc99b7
Use caching in Project.transform
2024-11-04 10:43:42 +01:00
Adrien Piquerez
8b5eaa2cd5
Cache delegates during Load
2024-11-04 10:43:42 +01:00
Adrien Piquerez
5bbe871882
Cleaning Scope
2024-11-04 10:43:42 +01:00
Adrien Piquerez
2015c5d41a
Add ThisBuildScope
2024-11-04 10:43:42 +01:00
Adrien Piquerez
a28428f96c
Pre-compute hashCode
2024-11-04 10:43:42 +01:00
Adrien Piquerez
4a429b2fe2
Add uniqueness cache on Scope
2024-11-04 10:43:28 +01:00
xuwei-k
07ae450e14
delete deprecated methods
2024-11-04 17:26:55 +09:00
eugene yokota
8c8cc430a8
Merge pull request #7834 from eed3si9n/wip/bump_scala
...
[2.x] deps: Update to Scala 3.5.2
2024-11-02 16:41:54 -04:00
Adrien Piquerez
b63aa36601
Avoid wrapping KeyedInitialize in GetValue
2024-10-31 15:06:54 +01:00
Eugene Yokota
ff2489b227
deps: Update to Scala 3.5.2
2024-10-28 00:34:10 -04:00
eugene yokota
f997553a89
Merge pull request #7837 from eed3si9n/wip/bump_scala_change
...
[2.x] refactor: Update Scala 3 syntax
2024-10-28 00:22:39 -04:00
Eugene Yokota
130853277b
Remove -Ykind-projector
2024-10-28 00:01:51 -04:00
Eugene Yokota
56941dac04
refactor: Update Scala 3 syntax
2024-10-27 23:55:30 -04:00
eugene yokota
54dd965d99
Merge pull request #7836 from eed3si9n/wip/bump_contraband
...
[2.x] refactor: Contraband 0.7.0
2024-10-27 16:48:51 -04:00
Eugene Yokota
14f7d29afc
Contraband 0.7.0
2024-10-27 16:21:18 -04:00
eugene yokota
70c28dac84
Merge pull request #7832 from xuwei-k/extension-implicit-class
...
[2.x] use `extension` instead of `implicit class`
2024-10-26 02:55:18 -04:00
xuwei-k
6922915949
use extension instead of implicit class
2024-10-26 09:05:27 +09:00
eugene yokota
b564b5114e
Merge pull request #7821 from xuwei-k/extension-OptionSyntax
...
[2.x] use `extension` in `OptionSyntax`
2024-10-23 00:58:41 -04:00
xuwei-k
7ecae27b3d
use extension in OptionSyntax
2024-10-23 13:29:30 +09:00
eugene yokota
fc18a7e4fe
Merge pull request #7818 from xuwei-k/toIntOption-toLongOption-toDoubleOption
...
[2.x] use `to{Int, Long, Double}Option` methods
2024-10-22 23:52:41 -04:00
eugene yokota
efc41bd8d8
Merge pull request #7815 from xuwei-k/CompatParColls
...
[2.x] delete `sbt.internal.CompatParColls`
2024-10-22 23:52:14 -04:00
eugene yokota
c2a0f162ee
Merge pull request #7817 from xuwei-k/sbt-on-command
...
[2.x] fix deprecated colon syntax in build.sbt
2024-10-22 23:51:43 -04:00
eugene yokota
267305b758
Merge pull request #7814 from xuwei-k/cleanup-if-scalaBinaryVersion-3
...
[2.x] cleanup dependency settings
2024-10-22 23:51:19 -04:00