One of my projects, with only stdlib imports:
$ cloc src/
14 text files.
14 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.74 T=0.02 s (685.2 files/s, 68712.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment
code
-------------------------------------------------------------------------------
Nim 14 212 60
1132
-------------------------------------------------------------------------------
SUM: 14 212 60
1132
-------------------------------------------------------------------------------
Run
$ time nim c -f -d:release src/gen.nim
...
Hint: 38356 LOC; 1.480 sec; 47.379MiB peakmem; Release build;
real 0m1.505s
user 0m1.501s
sys 0m0.100s
Run
$ time nim c -f -d:debug src/gen.nim
...
Hint: 38356 LOC; 0.706 sec; 47.379MiB peakmem; Debug build;
real 0m0.719s
user 0m0.722s
sys 0m0.073s
Run
on Nim 1.2.6, mobile i7 4-core processor
I haven't paid much attention to compile times so I can't really say what is
average, but at least you have one example