huggingface / inference-benchmarker
Unit Size

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

Intro
Learn more...
Unit Size Overall
30% | 15% | 27% | 10% | 15%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py63% | 0% | 28% | 0% | 8%
rs19% | 20% | 27% | 14% | 17%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
extra63% | 0% | 28% | 0% | 8%
src20% | 21% | 28% | 12% | 17%
ROOT0% | 0% | 0% | 78% | 21%
Alternative Visuals
Longest Units
Top 48 longest units
Unit# linesMcCabe index# params
154 23 3
140 5 3
81 1 0
64 1 2
49 1 2
44 5 0
42 1 3
41 4 3
35 1 2
30 8 1
24 10 3
18 2 0
17 4 1
15 3 3
15 1 2
13 1 2
12 2 1
11 3 4
10 1 2
10 4 1
10 6 1
8 1 1
8 2 3
7 1 2
7 1 0
6 1 1
6 2 1
6 1 3
5 1 2
5 1 1
5 2 2
5 2 0
4 1 1
4 1 1
3 2 1
3 1 1
3 1 1
3 1 1
3 1 0
3 1 0
3 1 2
3 1 0
3 1 1
3 1 2
3 1 1
3 1 1
2 1 3
1 1 3