Closed ryuukk closed 1 year ago
✅ This PR fixes following deprecations:
../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/unpacker.d(18,26): Deprecation: using `in` parameters with `extern(C)` functions is deprecated
Total deprecations: 110
Total warnings: 4
Build statistics:
statistics (-before, +after)
client size=1048544 bin/dcd-client
server size=3085624 bin/dcd-server
rough build time=93s
-DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.26
-DCD run_tests.sh Maximum resident set size (kbytes): 43184
+DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.41
+DCD run_tests.sh Maximum resident set size (kbytes): 45560
short requests: (230x)
min request time = 0.009ms
- 10th percentile = 0.141ms
- median time = 0.531ms
- 90th percentile = 0.901ms
- max request time = 2.562ms
+ 10th percentile = 0.140ms
+ median time = 0.537ms
+ 90th percentile = 0.940ms
+ max request time = 1.890ms
long requests over 10ms: (51x)
- min request time = 20.519ms
- 10th percentile = 20.837ms
- median time = 22.620ms
- 90th percentile = 26.394ms
- max request time = 34.895ms
+ min request time = 22.043ms
+ 10th percentile = 22.348ms
+ median time = 24.341ms
+ 90th percentile = 28.007ms
+ max request time = 36.153ms
top 5 GC sources in server:
bytes allocated, allocations, type, function, file:line
78109696 843 void[] std.array.Appender!(const(TokenStructure!(ubyte, "import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.105.3/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
15257216 476788 void[] core.lifetime._d_newitemT!(Data)._d_newitemT /opt/hostedtoolcache/dc/dmd-2.105.3/x64/dmd2/linux/bin64/../../src/druntime/import/core/lifetime.d:2833
14316800 164422 void[] std.array.Appender!(DSymbol*[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.105.3/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
9773344 305417 Data std.array.Appender!string.Appender.this /opt/hostedtoolcache/dc/dmd-2.105.3/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3509
7371616 281 ubyte[] msgpack.unpacker.Unpacker.InternalBuffer!().initializeBuffer ../../../.dub/packages/msgpack-d/1.0.4/msgpack-d/src/msgpack/common.d:628
Also who the f imports a module to do a foreach?
This allows to get the symbol definition, reducing the need of a extra request/computation when passing:
--extended | -x