-
Notifications
You must be signed in to change notification settings - Fork 314
Reduce DI Allocations #288
Comments
Resolves aspnet#288
Question should |
No, has no state, is pointer to current object's function |
Updated images @rynowak are they displaying? |
See aspnet/HttpAbstractions#402 (comment) for details on server run improvements (61.5k rps -> 1.49M rps) |
Tests were actually done for 2000 plaintext responses, so results are worse than reported at top. @davidfowl wanted some more details so breakdown for bytes as follows: |
Updated top numbers for actual requests performed |
All change... will update the figures from both sides |
Closing this due to 49520a2a73251a9f718743df4a43d26514021767 Reopen if you find more actionable work here. |
49520a2a73251a9f718743df4a43d26514021767 is an inscrutable reason... I assume you mean bbb9acf101d4f9b3b818834c60572f67ec16ac63 😀 |
For 2000 plantext requests DI allocates 16,009 objects:
Clocking in at 788,304 bytes:
Which would mean if you were performing 1M rps the GC would have to flush 8,004,500 objects and 394 Mbytes per second, 788 Mbytes per second for 2M rps and 2.76GBytes (56M objects) per second for 7M rps (~10GbE saturation)
The text was updated successfully, but these errors were encountered: