Closed imrying 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=77s
-DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.72
-DCD run_tests.sh Maximum resident set size (kbytes): 46096
+DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.76
+DCD run_tests.sh Maximum resident set size (kbytes): 45332
short requests: (230x)
- min request time = 0.009ms
- 10th percentile = 0.135ms
- median time = 0.493ms
- 90th percentile = 0.794ms
- max request time = 1.584ms
+ min request time = 0.008ms
+ 10th percentile = 0.148ms
+ median time = 0.461ms
+ 90th percentile = 0.807ms
+ max request time = 1.789ms
long requests over 10ms: (51x)
- min request time = 19.067ms
- 10th percentile = 19.966ms
- median time = 21.050ms
- 90th percentile = 24.058ms
- max request time = 30.784ms
+ min request time = 18.607ms
+ 10th percentile = 19.690ms
+ median time = 21.397ms
+ 90th percentile = 25.113ms
+ max request time = 31.488ms
top 5 GC sources in server:
bytes allocated, allocations, type, function, file:line
- 78384128 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
+ 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
Changed the places using
/bin/bash
to/usr/bin/env bash
. This is important for OS'es which do not have bash located here such as NixOS.