sonicop 26.8.110-aarch64-linux → 26.8.111-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.ja.md +10 -7
- data/README.md +11 -8
- data/lib/sonicop/version.rb +1 -1
- data/libexec/sonicop +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffcd9e8d5b49e4930702c201f4214fa4a3aca12d2d50c3307422488ea484fced
|
|
4
|
+
data.tar.gz: 0b25ee38f12c33914700b1f05e2628e494845ac2dc7b1c2538d2ae1ec128b4ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1c2e822a493f07a7a887872dce6fbc5ee8b92aa5bb73a28d3c3b945a957da25c6baff4f3261fb4b7fa960a128faab4be59ad3a93d3668292c22364cc6ff04b5
|
|
7
|
+
data.tar.gz: 0a4aa06496d5a46b91ce0a4994d02ca969ef3c481fd9e1a6a5e136bb440f9c893dc012b97e561b4e6e7facf567ea50013f94bf8343badb16cd648429731043b0
|
data/README.ja.md
CHANGED
|
@@ -165,13 +165,13 @@ Mastodon でバイト単位に一致します。この 2 つは死守ライン
|
|
|
165
165
|
|
|
166
166
|
| コーパス | ファイル | RuboCop 並列 | Sonicop 並列 | RuboCop 単一 | Sonicop 単一 |
|
|
167
167
|
|---|---:|---:|---:|---:|---:|
|
|
168
|
-
| rubocop/rubocop | 1,765 |
|
|
169
|
-
| mastodon/mastodon | 3,290 |
|
|
170
|
-
| Homebrew/brew | 2,179 | 20
|
|
171
|
-
| rails/rails | 3,551 |
|
|
172
|
-
| ruby/ruby | 7,466 |
|
|
168
|
+
| rubocop/rubocop | 1,765 | 12.71 秒 | **4.59 秒** | 42.74 秒 | **13.75 秒** |
|
|
169
|
+
| mastodon/mastodon | 3,290 | 29.95 秒 | **6.48 秒** | 37.60 秒 | **15.88 秒** |
|
|
170
|
+
| Homebrew/brew | 2,179 | 18.20 秒 | **4.31 秒** | 38.72 秒 | **11.67 秒** |
|
|
171
|
+
| rails/rails | 3,551 | 52.55 秒 | **16.88 秒** | 162.55 秒 | **63.97 秒** |
|
|
172
|
+
| ruby/ruby | 7,466 | 132.17 秒 | **43.10 秒** | 199.78 秒 | **76.07 秒** |
|
|
173
173
|
|
|
174
|
-
差は並列で 2.
|
|
174
|
+
差は並列で 2.8〜4.6 倍、単一プロセスで 2.4〜3.3 倍と幅があり、1 コーパスでは代表できません。
|
|
175
175
|
**単一プロセスの列を読み、並列は目安として扱ってください。** 同じ 2 つのバイナリを 1 日に
|
|
176
176
|
3 回測ったところ、単一プロセスの値は毎回 16% 以内に収まったのに対し、RuboCop 自身のツリーでの
|
|
177
177
|
並列の倍率は、マシンが他に何をしていたかだけで 3.3 倍から 9.2 倍まで動きました。単一プロセスは
|
|
@@ -198,7 +198,10 @@ sonicop --force-default-config --format quiet
|
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
測定機は Apple M2(8 コア)、Ruby 4.0.6(YJIT 利用可)、RubyGems 導入の RuboCop 1.89.0。
|
|
201
|
-
1 分平均のロードアベレージは、計測開始時が
|
|
201
|
+
1 分平均のロードアベレージは、計測開始時が 4.0、終了時が 3.1 でした。**アイドル状態ではありません**。
|
|
202
|
+
RuboCop 自身のツリーだけは後から単独で測り直しています(負荷 3.7 → 4.0)。1 回目はリリース
|
|
203
|
+
ビルドの終わりがけに走ってしまい、値が 60% ほど高く出たためです。**負荷の違う 1 行を同じ表に
|
|
204
|
+
並べることはできません**。
|
|
202
205
|
両者を同じ条件で測っているため倍率は保たれますが、秒数そのものは下限ではなく、静かなマシンなら
|
|
203
206
|
より速く出ます。コアを奪い合うものが動いていると両者とも膨らみ、その度合いは一致しません。それが
|
|
204
207
|
並列の列があれだけ動く理由です。秒数そのものが重要なときは、他に負荷のない状態で測り、**実行の
|
data/README.md
CHANGED
|
@@ -171,13 +171,13 @@ warmed runs.
|
|
|
171
171
|
|
|
172
172
|
| Corpus | Files | RuboCop parallel | Sonicop parallel | RuboCop single | Sonicop single |
|
|
173
173
|
|---|---:|---:|---:|---:|---:|
|
|
174
|
-
| rubocop/rubocop | 1,765 |
|
|
175
|
-
| mastodon/mastodon | 3,290 |
|
|
176
|
-
| Homebrew/brew | 2,179 | 20
|
|
177
|
-
| rails/rails | 3,551 |
|
|
178
|
-
| ruby/ruby | 7,466 |
|
|
174
|
+
| rubocop/rubocop | 1,765 | 12.71 s | **4.59 s** | 42.74 s | **13.75 s** |
|
|
175
|
+
| mastodon/mastodon | 3,290 | 29.95 s | **6.48 s** | 37.60 s | **15.88 s** |
|
|
176
|
+
| Homebrew/brew | 2,179 | 18.20 s | **4.31 s** | 38.72 s | **11.67 s** |
|
|
177
|
+
| rails/rails | 3,551 | 52.55 s | **16.88 s** | 162.55 s | **63.97 s** |
|
|
178
|
+
| ruby/ruby | 7,466 | 132.17 s | **43.10 s** | 199.78 s | **76.07 s** |
|
|
179
179
|
|
|
180
|
-
The gap is 2.
|
|
180
|
+
The gap is 2.8x to 4.6x in parallel and 2.4x to 3.3x single-process, so no single corpus summarizes
|
|
181
181
|
it. **Read the single-process column and treat the parallel one as indicative.** Measuring the same
|
|
182
182
|
two binaries three times over a day put the single-process figures within 16% of each other every
|
|
183
183
|
time, while the parallel ratio on RuboCop's own tree moved between 3.3x and 9.2x purely with what
|
|
@@ -204,8 +204,11 @@ sonicop --force-default-config --format quiet
|
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
Machine: Apple M2 (8 cores), Ruby 4.0.6 with YJIT available, RubyGems-installed RuboCop 1.89.0.
|
|
207
|
-
The one-minute load average was
|
|
208
|
-
in use, not idle.
|
|
207
|
+
The one-minute load average was 4.0 when the run started and 3.1 when it finished — the machine was
|
|
208
|
+
in use, not idle. RuboCop's own tree was re-measured on its own afterwards, at load 3.7 rising to 4.0,
|
|
209
|
+
because the first pass over it ran while a release build was still finishing and its numbers came out
|
|
210
|
+
60% high; a row measured under a different load cannot sit in the same table as the others. Both tools
|
|
211
|
+
ran under the same conditions, so the ratios hold, but the absolute
|
|
209
212
|
seconds are not a floor: expect better on a quiet machine. Anything competing for cores inflates
|
|
210
213
|
both sides, and not by the same factor on each, which is what makes the parallel column move as much
|
|
211
214
|
as it does. If the absolute numbers matter to you, measure on an idle machine and record the load
|
data/lib/sonicop/version.rb
CHANGED
data/libexec/sonicop
CHANGED
|
Binary file
|