huggingface / transformers.js-benchmarking
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
0% | 26% | 37% | 18% | 18%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
js0% | 38% | 32% | 8% | 20%
py0% | 0% | 42% | 45% | 12%
ts0% | 0% | 100% | 0% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
packages0% | 36% | 35% | 7% | 20%
scripts0% | 0% | 42% | 45% | 12%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
68 4 0
65 4 0
55 4 0
53 4 0
48 4 0
47 4 0
47 4 0
37 5 0
31 9 3
29 10 3
26 3 1
24 4 2
22 12 2
21 1 0
19 2 6
19 6 2
18 7 5
17 6 3
17 3 2
13 5 2
13 2 1
12 3 2
12 1 2
11 4 1
11 1 2
10 4 1
10 1 2
10 2 2
9 1 2
8 4 7
8 1 2
7 2 1
7 1 2
6 1 1
6 1 2
6 1 1
6 1 1
6 1 1
6 1 1
6 1 1
6 1 1
6 1 3
6 1 1
5 1 0
5 1 3
4 1 2
3 1 1
3 1 1
3 1 1
3 2 2