Skip to content

Commit 73ba6b8

Browse files
committed
improve
1 parent 1ba653e commit 73ba6b8

3 files changed

Lines changed: 35 additions & 35 deletions

File tree

profile-admin.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
'purs' 'compile' '--source-globs-file' '.spago/sources.txt' +RTS '-N' '-A256m' '-n16m' '-sprofile.txt'
2-
764,684,334,200 bytes allocated in the heap
3-
66,592,890,256 bytes copied during GC
4-
5,965,029,568 bytes maximum residency (7 sample(s))
5-
55,635,776 bytes maximum slop
6-
19931 MiB total memory in use (0 MB lost due to fragmentation)
2+
615,026,369,264 bytes allocated in the heap
3+
62,526,339,128 bytes copied during GC
4+
4,808,133,160 bytes maximum residency (7 sample(s))
5+
30,469,184 bytes maximum slop
6+
16158 MiB total memory in use (0 MiB lost due to fragmentation)
77

88
Tot time (elapsed) Avg pause Max pause
9-
Gen 0 344 colls, 344 par 109.657s 24.231s 0.0704s 0.9072s
10-
Gen 1 7 colls, 6 par 27.205s 6.308s 0.9011s 2.6484s
9+
Gen 0 239 colls, 239 par 59.390s 7.687s 0.0322s 0.1657s
10+
Gen 1 7 colls, 6 par 17.637s 4.178s 0.5969s 1.2704s
1111

12-
Parallel GC work balance: 87.29% (serial 0%, perfect 100%)
12+
Parallel GC work balance: 91.91% (serial 0%, perfect 100%)
1313

14-
TASKS: 61 (1 bound, 60 peak workers (60 total), using -N10)
14+
TASKS: 67 (1 bound, 65 peak workers (66 total), using -N10)
1515

1616
SPARKS: 7516 (7516 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
1717

18-
INIT time 0.003s ( 0.153s elapsed)
19-
MUT time 345.596s ( 91.867s elapsed)
20-
GC time 136.862s ( 30.539s elapsed)
21-
EXIT time 0.170s ( 0.001s elapsed)
22-
Total time 482.631s (122.559s elapsed)
18+
INIT time 0.151s ( 0.151s elapsed)
19+
MUT time 304.986s ( 90.340s elapsed)
20+
GC time 77.027s ( 11.865s elapsed)
21+
EXIT time 0.249s ( 0.009s elapsed)
22+
Total time 382.413s (102.365s elapsed)
2323

24-
Alloc rate 2,212,653,609 bytes per MUT second
24+
Alloc rate 2,016,569,461 bytes per MUT second
2525

26-
Productivity 71.6% of total user, 75.0% of total elapsed
26+
Productivity 79.8% of total user, 88.3% of total elapsed
2727

profile.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
'purs' 'compile' '--source-globs-file' '.spago/sources.txt' +RTS '-N' '-A256m' '-n16m' '-sprofile.txt'
2-
1,514,656,409,184 bytes allocated in the heap
3-
98,339,524,248 bytes copied during GC
4-
3,076,113,760 bytes maximum residency (13 sample(s))
5-
48,308,232 bytes maximum slop
6-
11349 MiB total memory in use (0 MB lost due to fragmentation)
2+
1,239,641,572,944 bytes allocated in the heap
3+
92,117,540,648 bytes copied during GC
4+
2,525,848,440 bytes maximum residency (16 sample(s))
5+
41,515,920 bytes maximum slop
6+
9680 MiB total memory in use (0 MiB lost due to fragmentation)
77

88
Tot time (elapsed) Avg pause Max pause
9-
Gen 0 697 colls, 697 par 202.812s 43.916s 0.0630s 0.6948s
10-
Gen 1 13 colls, 12 par 32.681s 4.654s 0.3580s 0.5375s
9+
Gen 0 462 colls, 462 par 98.367s 12.592s 0.0273s 0.1880s
10+
Gen 1 16 colls, 15 par 26.135s 3.701s 0.2313s 0.3772s
1111

12-
Parallel GC work balance: 83.67% (serial 0%, perfect 100%)
12+
Parallel GC work balance: 90.30% (serial 0%, perfect 100%)
1313

14-
TASKS: 69 (1 bound, 66 peak workers (68 total), using -N10)
14+
TASKS: 70 (1 bound, 69 peak workers (69 total), using -N10)
1515

1616
SPARKS: 7516 (7516 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
1717

18-
INIT time 0.003s ( 0.157s elapsed)
19-
MUT time 702.424s (133.463s elapsed)
20-
GC time 235.493s ( 48.571s elapsed)
21-
EXIT time 0.067s ( 0.008s elapsed)
22-
Total time 937.987s (182.199s elapsed)
18+
INIT time 0.174s ( 0.173s elapsed)
19+
MUT time 612.239s (126.344s elapsed)
20+
GC time 124.502s ( 16.293s elapsed)
21+
EXIT time 0.107s ( 0.009s elapsed)
22+
Total time 737.021s (142.819s elapsed)
2323

24-
Alloc rate 2,156,328,748 bytes per MUT second
24+
Alloc rate 2,024,767,533 bytes per MUT second
2525

26-
Productivity 74.9% of total user, 73.3% of total elapsed
26+
Productivity 83.1% of total user, 88.5% of total elapsed
2727

purescript.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ common defaults
163163
aeson-better-errors >=0.9.1.3 && <0.10,
164164
ansi-terminal >=0.11.3 && <1.1,
165165
array >=0.5.4.0 && <0.6,
166-
intern ==0.9.4,
166+
intern,
167167
base >=4.16.2.0 && <4.19,
168168
blaze-html >=0.9.1.2 && <0.10,
169169
bower-json >=1.1.0.0 && <1.2,
@@ -206,7 +206,7 @@ common defaults
206206
semigroups ==0.20.*,
207207
serialise >=0.2.5.0 && <0.3,
208208
sourcemap >=0.1.7 && <0.2,
209-
sqlite-simple ==0.4.18.2,
209+
sqlite-simple,
210210
stm >=2.5.0.2 && <2.6,
211211
stringsearch >=0.3.6.6 && <0.4,
212212
template-haskell >=2.18.0.0 && <2.21,
@@ -416,7 +416,7 @@ executable purs
416416
import: defaults
417417
hs-source-dirs: app
418418
main-is: Main.hs
419-
ghc-options: -fno-warn-unused-do-bind -threaded -rtsopts -with-rtsopts=-N -Wno-unused-packages -eventlog
419+
ghc-options: -fno-warn-unused-do-bind -threaded -rtsopts -with-rtsopts=-N -Wno-unused-packages
420420
build-depends:
421421
prettyprinter >=1.6 && <1.8,
422422
prettyprinter-ansi-terminal >=1.1.1 && <1.2,

0 commit comments

Comments
 (0)