Closed WebFreak001 closed 11 months 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: 107
Total warnings: 4
Build statistics:
statistics (-before, +after)
client size=1055840 bin/dcd-client
server size=3069184 bin/dcd-server
rough build time=99s
-DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.37
-DCD run_tests.sh Maximum resident set size (kbytes): 44388
+DCD run_tests.sh Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.29
+DCD run_tests.sh Maximum resident set size (kbytes): 44056
-short requests: (228x)
- min request time = 0.015ms
- 10th percentile = 0.160ms
- median time = 0.562ms
- 90th percentile = 1.010ms
- max request time = 3.667ms
+short requests: (234x)
+ min request time = 0.018ms
+ 10th percentile = 0.170ms
+ median time = 0.555ms
+ 90th percentile = 0.988ms
+ max request time = 1.877ms
long requests over 10ms: (51x)
- min request time = 19.974ms
- 10th percentile = 22.238ms
- median time = 24.291ms
- 90th percentile = 28.268ms
- max request time = 38.395ms
+ min request time = 18.830ms
+ 10th percentile = 20.753ms
+ median time = 24.021ms
+ 90th percentile = 26.697ms
+ max request time = 32.438ms
top 5 GC sources in server:
bytes allocated, allocations, type, function, file:line
- 91748352 839 void[] std.array.Appender!(const(TokenStructure!(ubyte, "import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
- 14241024 163616 void[] std.array.Appender!(DSymbol*[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
- 9770208 305319 std.array.Appender!(immutable(char)[]).Appender.Data std.array.Appender!string.Appender.this /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3509
- 7371104 279 ubyte[] msgpack.unpacker.Unpacker.InternalBuffer!().initializeBuffer ../../../.dub/packages/msgpack-d-1.0.4/msgpack-d/src/msgpack/common.d:628
+ 94269440 857 void[] std.array.Appender!(const(TokenStructure!(ubyte, "import dparse.lexer:TokenTriviaFields,TriviaToken; mixin TokenTriviaFields;"))[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
+ 14479488 166184 void[] std.array.Appender!(DSymbol*[]).Appender.ensureAddable.__lambda9 /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3634
+ 9781056 305658 std.array.Appender!(immutable(char)[]).Appender.Data std.array.Appender!string.Appender.this /opt/hostedtoolcache/dc/dmd-2.104.0/x64/dmd2/linux/bin64/../../src/phobos/std/array.d:3509
+ 7372880 285 ubyte[] msgpack.unpacker.Unpacker.InternalBuffer!().initializeBuffer ../../../.dub/packages/msgpack-d-1.0.4/msgpack-d/src/msgpack/common.d:628
7101600 5918 immutable(char)[][immutable(char)[]] dsymbol.ufcs.typeWillBeUpcastedTo dsymbol/src/dsymbol/ufcs.d:292
there would be support for nested typeof in second.d, but would need some bigger adjustments in the initialize visitor to support types as well, so not doing that for now. (so still need to implement
auto x = typeof(foo).member;
)what works now:
typeof(x) someFunction() {}
,typeof(x) y;
partially implements #235