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=63s
+rough build time=62s
-DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.00
-DCD run_tests.sh Maximum resident set size (kbytes): 45516
+DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:07.94
+DCD run_tests.sh Maximum resident set size (kbytes): 43324
short requests: (230x)
min request time = 0.012ms
- 10th percentile = 0.143ms
- median time = 0.370ms
- 90th percentile = 0.656ms
- max request time = 1.641ms
+ 10th percentile = 0.128ms
+ median time = 0.359ms
+ 90th percentile = 0.635ms
+ max request time = 1.594ms
long requests over 10ms: (51x)
- min request time = 12.589ms
- 10th percentile = 13.549ms
- median time = 15.170ms
- 90th percentile = 17.837ms
- max request time = 22.314ms
+ min request time = 12.502ms
+ 10th percentile = 13.560ms
+ median time = 15.001ms
+ 90th percentile = 16.137ms
+ max request time = 22.158ms
top 5 GC sources in server:
bytes allocated, allocations, type, function, file:line
- 79818752 841 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
+ 140931072 852 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
15255712 476741 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
9772896 305403 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
As per the comment, it is no longer needed
Before:
After: