Skip to content

neuecc/Jil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark of Jil vs Utf8Json borrowed from Jil benchmark.

Utf8Json aims optimization for real-case. In almost case, real-case is serialze to/from utf8 binary. This compare table is Object <-> byte[](Utf8), Object <-> Stream(Utf8) and Object <-> String(UTF16).

If target is UTF8(both byte[] and Stream), Utf8Json wins and memory allocated is extremely small.

First line is Jil, Second line is Utf8Json. Processor=Intel Core i7-6700K CPU 4.00GHz (Skylake), ProcessorCount=8, .NET Framework 4.7 (CLR 4.0.30319.42000), 64bit RyuJIT-v4.7.2110.0. Benchmark code exists in master/Benchmark.

Object <-> byte[](Utf8)

StackExchange.Redis's RedisValue, gRPC's in/out are byte[] and others for real-usecases.

Method Mean Error Gen 0 Allocated
SerializeAccessTokenWithJilSerializer 811.7 ns NA 0.2489 1048 B
SerializeAccessTokenWithUtf8JsonSerializer 467.1 ns NA 0.0358 152 B
DeserializeAccessTokenWithJilSerializer 711.9 ns NA 0.1440 608 B
DeserializeAccessTokenWithUtf8JsonSerializer 687.8 ns NA 0.0582 248 B
SerializeAccountMergeWithJilSerializer 621.4 ns NA 0.2565 1080 B
SerializeAccountMergeWithUtf8JsonSerializer 385.5 ns NA 0.0319 136 B
DeserializeAccountMergeWithJilSerializer 593.2 ns NA 0.0868 368 B
DeserializeAccountMergeWithUtf8JsonSerializer 421.6 ns NA 0.0110 48 B
SerializeAnswerWithJilSerializer 6,912.9 ns NA 2.5482 10699 B
SerializeAnswerWithUtf8JsonSerializer 4,961.9 ns NA 0.4425 1889 B
DeserializeAnswerWithJilSerializer 10,136.8 ns NA 1.4648 6192 B
DeserializeAnswerWithUtf8JsonSerializer 9,208.4 ns NA 0.4730 2048 B
SerializeBadgeWithJilSerializer 1,484.7 ns NA 0.6657 2800 B
SerializeBadgeWithUtf8JsonSerializer 1,014.1 ns NA 0.0992 424 B
DeserializeBadgeWithJilSerializer 2,175.2 ns NA 0.3357 1416 B
DeserializeBadgeWithUtf8JsonSerializer 2,065.2 ns NA 0.1144 488 B
SerializeCommentWithJilSerializer 2,602.0 ns NA 1.2093 5088 B
SerializeCommentWithUtf8JsonSerializer 1,856.2 ns NA 0.1793 768 B
DeserializeCommentWithJilSerializer 3,885.1 ns NA 0.6065 2560 B
DeserializeCommentWithUtf8JsonSerializer 3,653.9 ns NA 0.1869 792 B
SerializeErrorWithJilSerializer 444.0 ns NA 0.2174 912 B
SerializeErrorWithUtf8JsonSerializer 197.6 ns NA 0.0226 96 B
DeserializeErrorWithJilSerializer 423.4 ns NA 0.0968 408 B
DeserializeErrorWithUtf8JsonSerializer 367.3 ns NA 0.0319 136 B
SerializeEventWithJilSerializer 860.6 ns NA 0.3386 1424 B
SerializeEventWithUtf8JsonSerializer 528.7 ns NA 0.0391 168 B
DeserializeEventWithJilSerializer 750.8 ns NA 0.1326 560 B
DeserializeEventWithUtf8JsonSerializer 743.6 ns NA 0.0372 160 B
SerializeMobileFeedWithJilSerializer 12,675.6 ns NA 4.5013 18953 B
SerializeMobileFeedWithUtf8JsonSerializer 7,180.7 ns NA 0.7553 3202 B
DeserializeMobileFeedWithJilSerializer 26,383.7 ns NA 2.8687 12080 B
DeserializeMobileFeedWithUtf8JsonSerializer 16,645.6 ns NA 1.2207 5136 B
SerializeMobileQuestionWithJilSerializer 1,444.7 ns NA 0.5913 2488 B
SerializeMobileQuestionWithUtf8JsonSerializer 662.4 ns NA 0.0753 320 B
DeserializeMobileQuestionWithJilSerializer 1,800.6 ns NA 0.2556 1080 B
DeserializeMobileQuestionWithUtf8JsonSerializer 1,344.6 ns NA 0.0858 368 B
SerializeMobileRepChangeWithJilSerializer 867.1 ns NA 0.3462 1456 B
SerializeMobileRepChangeWithUtf8JsonSerializer 421.6 ns NA 0.0377 160 B
DeserializeMobileRepChangeWithJilSerializer 730.4 ns NA 0.1440 608 B
DeserializeMobileRepChangeWithUtf8JsonSerializer 662.6 ns NA 0.0515 216 B
SerializeMobileInboxItemWithJilSerializer 1,279.0 ns NA 0.4349 1832 B
SerializeMobileInboxItemWithUtf8JsonSerializer 612.0 ns NA 0.0677 288 B
DeserializeMobileInboxItemWithJilSerializer 1,331.6 ns NA 0.2365 1000 B
DeserializeMobileInboxItemWithUtf8JsonSerializer 1,105.1 ns NA 0.0839 360 B
SerializeMobileBadgeAwardWithJilSerializer 1,041.1 ns NA 0.4120 1736 B
SerializeMobileBadgeAwardWithUtf8JsonSerializer 572.4 ns NA 0.0601 256 B
DeserializeMobileBadgeAwardWithJilSerializer 1,120.0 ns NA 0.2060 872 B
DeserializeMobileBadgeAwardWithUtf8JsonSerializer 1,089.5 ns NA 0.0687 296 B
SerializeMobilePrivilegeWithJilSerializer 1,006.2 ns NA 0.4139 1744 B
SerializeMobilePrivilegeWithUtf8JsonSerializer 447.7 ns NA 0.0606 256 B
DeserializeMobilePrivilegeWithJilSerializer 1,108.9 ns NA 0.2060 872 B
DeserializeMobilePrivilegeWithUtf8JsonSerializer 917.1 ns NA 0.0658 280 B
SerializeMobileCommunityBulletinWithJilSerializer 1,563.4 ns NA 0.6390 2688 B
SerializeMobileCommunityBulletinWithUtf8JsonSerializer 803.4 ns NA 0.0887 376 B
DeserializeMobileCommunityBulletinWithJilSerializer 1,959.0 ns NA 0.3109 1312 B
DeserializeMobileCommunityBulletinWithUtf8JsonSerializer 1,541.9 ns NA 0.1144 488 B
SerializeMobileAssociationBonusWithJilSerializer 672.1 ns NA 0.2375 1000 B
SerializeMobileAssociationBonusWithUtf8JsonSerializer 297.8 ns NA 0.0281 120 B
DeserializeMobileAssociationBonusWithJilSerializer 565.3 ns NA 0.0982 416 B
DeserializeMobileAssociationBonusWithUtf8JsonSerializer 436.9 ns NA 0.0243 104 B
SerializeMobileCareersJobAdWithJilSerializer 836.4 ns NA 0.3633 1528 B
SerializeMobileCareersJobAdWithUtf8JsonSerializer 386.6 ns NA 0.0434 184 B
DeserializeMobileCareersJobAdWithJilSerializer 861.4 ns NA 0.1688 712 B
DeserializeMobileCareersJobAdWithUtf8JsonSerializer 796.1 ns NA 0.0639 272 B
SerializeMobileBannerAdWithJilSerializer 808.6 ns NA 0.3481 1464 B
SerializeMobileBannerAdWithUtf8JsonSerializer 417.5 ns NA 0.0415 176 B
DeserializeMobileBannerAdWithJilSerializer 931.6 ns NA 0.1688 712 B
DeserializeMobileBannerAdWithUtf8JsonSerializer 829.6 ns NA 0.0677 288 B
SerializeMobileUpdateNoticeWithJilSerializer 433.7 ns NA 0.2017 848 B
SerializeMobileUpdateNoticeWithUtf8JsonSerializer 176.3 ns NA 0.0265 112 B
DeserializeMobileUpdateNoticeWithJilSerializer 444.9 ns NA 0.1006 424 B
DeserializeMobileUpdateNoticeWithUtf8JsonSerializer 381.6 ns NA 0.0319 136 B
SerializeFlagOptionWithJilSerializer 1,495.3 ns NA 0.6886 2896 B
SerializeFlagOptionWithUtf8JsonSerializer 752.3 ns NA 0.1001 424 B
DeserializeFlagOptionWithJilSerializer 2,021.4 ns NA 0.3471 1472 B
DeserializeFlagOptionWithUtf8JsonSerializer 1,672.8 ns NA 0.1087 464 B
SerializeInboxItemWithJilSerializer 3,560.2 ns NA 1.2970 5448 B
SerializeInboxItemWithUtf8JsonSerializer 2,407.4 ns NA 0.2289 976 B
DeserializeInboxItemWithJilSerializer 5,639.5 ns NA 0.8621 3632 B
DeserializeInboxItemWithUtf8JsonSerializer 4,720.4 ns NA 0.3967 1672 B
SerializeInfoWithJilSerializer 4,204.1 ns NA 1.9531 8200 B
SerializeInfoWithUtf8JsonSerializer 3,013.0 ns NA 0.3052 1296 B
DeserializeInfoWithJilSerializer 6,849.0 ns NA 0.9308 3928 B
DeserializeInfoWithUtf8JsonSerializer 5,977.9 ns NA 0.4272 1816 B
SerializeNetworkUserWithJilSerializer 1,549.3 ns NA 0.6371 2680 B
SerializeNetworkUserWithUtf8JsonSerializer 1,097.3 ns NA 0.0935 400 B
DeserializeNetworkUserWithJilSerializer 2,005.2 ns NA 0.2594 1096 B
DeserializeNetworkUserWithUtf8JsonSerializer 1,554.7 ns NA 0.0591 256 B
SerializeNotificationWithJilSerializer 3,303.7 ns NA 1.2436 5224 B
SerializeNotificationWithUtf8JsonSerializer 2,293.3 ns NA 0.2098 896 B
DeserializeNotificationWithJilSerializer 5,255.0 ns NA 0.7935 3344 B
DeserializeNotificationWithUtf8JsonSerializer 4,600.6 ns NA 0.3662 1544 B
SerializePostWithJilSerializer 6,478.6 ns NA 2.4261 10193 B
SerializePostWithUtf8JsonSerializer 4,402.3 ns NA 0.4044 1704 B
DeserializePostWithJilSerializer 10,632.2 ns NA 1.3275 5592 B
DeserializePostWithUtf8JsonSerializer 8,094.0 ns NA 0.4120 1792 B
SerializePrivilegeWithJilSerializer 450.1 ns NA 0.2227 936 B
SerializePrivilegeWithUtf8JsonSerializer 191.8 ns NA 0.0246 104 B
DeserializePrivilegeWithJilSerializer 449.7 ns NA 0.1006 424 B
DeserializePrivilegeWithUtf8JsonSerializer 384.6 ns NA 0.0319 136 B
SerializeQuestionWithJilSerializer 22,965.3 ns NA 8.7891 36983 B
SerializeQuestionWithUtf8JsonSerializer 17,072.8 ns NA 1.4954 6365 B
DeserializeQuestionWithJilSerializer 44,609.4 ns NA 5.1880 21817 B
DeserializeQuestionWithUtf8JsonSerializer 31,905.5 ns NA 1.8921 8136 B
SerializeQuestionTimelineWithJilSerializer 2,582.6 ns NA 1.2054 5072 B
SerializeQuestionTimelineWithUtf8JsonSerializer 1,888.8 ns NA 0.1755 752 B
DeserializeQuestionTimelineWithJilSerializer 3,636.2 ns NA 0.5798 2448 B
DeserializeQuestionTimelineWithUtf8JsonSerializer 3,570.7 ns NA 0.1602 680 B
SerializeReputationWithJilSerializer 935.3 ns NA 0.4110 1728 B
SerializeReputationWithUtf8JsonSerializer 666.9 ns NA 0.0563 240 B
DeserializeReputationWithJilSerializer 1,041.6 ns NA 0.1678 712 B
DeserializeReputationWithUtf8JsonSerializer 1,019.2 ns NA 0.0420 184 B
SerializeReputationHistoryWithJilSerializer 905.5 ns NA 0.3614 1520 B
SerializeReputationHistoryWithUtf8JsonSerializer 528.7 ns NA 0.0467 200 B
DeserializeReputationHistoryWithJilSerializer 869.1 ns NA 0.1202 504 B
DeserializeReputationHistoryWithUtf8JsonSerializer 684.4 ns NA 0.0143 64 B
SerializeRevisionWithJilSerializer 2,298.7 ns NA 1.0834 4553 B
SerializeRevisionWithUtf8JsonSerializer 1,671.7 ns NA 0.1545 656 B
DeserializeRevisionWithJilSerializer 3,460.3 ns NA 0.5569 2344 B
DeserializeRevisionWithUtf8JsonSerializer 3,273.4 ns NA 0.2327 992 B
SerializeSearchExcerptWithJilSerializer 3,797.3 ns NA 1.3733 5793 B
SerializeSearchExcerptWithUtf8JsonSerializer 2,895.1 ns NA 0.2441 1040 B
DeserializeSearchExcerptWithJilSerializer 5,211.0 ns NA 0.7782 3272 B
DeserializeSearchExcerptWithUtf8JsonSerializer 4,940.1 ns NA 0.2365 1016 B
SerializeShallowUserWithJilSerializer 930.7 ns NA 0.4177 1752 B
SerializeShallowUserWithUtf8JsonSerializer 597.0 ns NA 0.0620 264 B
DeserializeShallowUserWithJilSerializer 1,159.2 ns NA 0.2060 872 B
DeserializeShallowUserWithUtf8JsonSerializer 1,126.6 ns NA 0.0610 264 B
SerializeSuggestedEditWithJilSerializer 2,340.0 ns NA 1.0338 4344 B
SerializeSuggestedEditWithUtf8JsonSerializer 1,667.6 ns NA 0.1392 592 B
DeserializeSuggestedEditWithJilSerializer 3,113.7 ns NA 0.4501 1904 B
DeserializeSuggestedEditWithUtf8JsonSerializer 2,759.2 ns NA 0.1602 680 B
SerializeTagWithJilSerializer 936.0 ns NA 0.3834 1616 B
SerializeTagWithUtf8JsonSerializer 600.2 ns NA 0.0544 232 B
DeserializeTagWithJilSerializer 1,113.1 ns NA 0.1888 800 B
DeserializeTagWithUtf8JsonSerializer 1,001.9 ns NA 0.0648 280 B
SerializeTagScoreWithJilSerializer 1,175.5 ns NA 0.5913 2488 B
SerializeTagScoreWithUtf8JsonSerializer 742.7 ns NA 0.0753 320 B
DeserializeTagScoreWithJilSerializer 1,594.7 ns NA 0.2403 1008 B
DeserializeTagScoreWithUtf8JsonSerializer 1,397.4 ns NA 0.0725 304 B
SerializeTagSynonymWithJilSerializer 1,080.4 ns NA 0.3605 1520 B
SerializeTagSynonymWithUtf8JsonSerializer 638.2 ns NA 0.0486 208 B
DeserializeTagSynonymWithJilSerializer 1,055.3 ns NA 0.1459 616 B
DeserializeTagSynonymWithUtf8JsonSerializer 809.4 ns NA 0.0401 168 B
SerializeTagWikiWithJilSerializer 2,594.7 ns NA 1.1826 4976 B
SerializeTagWikiWithUtf8JsonSerializer 1,790.0 ns NA 0.1717 728 B
DeserializeTagWikiWithJilSerializer 3,479.2 ns NA 0.5798 2440 B
DeserializeTagWikiWithUtf8JsonSerializer 3,202.2 ns NA 0.1793 760 B
SerializeTopTagWithJilSerializer 667.9 ns NA 0.3500 1472 B
SerializeTopTagWithUtf8JsonSerializer 379.7 ns NA 0.0415 176 B
DeserializeTopTagWithJilSerializer 798.8 ns NA 0.1268 536 B
DeserializeTopTagWithUtf8JsonSerializer 689.1 ns NA 0.0257 112 B
SerializeUserWithJilSerializer 3,484.6 ns NA 1.2627 5313 B
SerializeUserWithUtf8JsonSerializer 2,251.5 ns NA 0.2213 936 B
DeserializeUserWithJilSerializer 4,703.3 ns NA 0.5798 2464 B
DeserializeUserWithUtf8JsonSerializer 3,560.0 ns NA 0.1411 600 B
SerializeUserTimelineWithJilSerializer 1,248.4 ns NA 0.5741 2416 B
SerializeUserTimelineWithUtf8JsonSerializer 809.2 ns NA 0.0715 304 B
DeserializeUserTimelineWithJilSerializer 1,431.3 ns NA 0.2174 920 B
DeserializeUserTimelineWithUtf8JsonSerializer 1,336.2 ns NA 0.0591 256 B
SerializeWritePermissionWithJilSerializer 657.5 ns NA 0.3614 1520 B
SerializeWritePermissionWithUtf8JsonSerializer 395.3 ns NA 0.0472 200 B
DeserializeWritePermissionWithJilSerializer 788.2 ns NA 0.1392 584 B
DeserializeWritePermissionWithUtf8JsonSerializer 660.6 ns NA 0.0277 120 B
SerializeMobileBannerAdImageWithJilSerializer 428.2 ns NA 0.1621 680 B
SerializeMobileBannerAdImageWithUtf8JsonSerializer 202.2 ns NA 0.0205 88 B
DeserializeMobileBannerAdImageWithJilSerializer 384.5 ns NA 0.0801 336 B
DeserializeMobileBannerAdImageWithUtf8JsonSerializer 343.4 ns NA 0.0205 88 B
SerializeSiteWithJilSerializer 2,827.4 ns NA 1.1368 4776 B
SerializeSiteWithUtf8JsonSerializer 1,785.2 ns NA 0.1755 744 B
DeserializeSiteWithJilSerializer 4,174.0 ns NA 0.6943 2928 B
DeserializeSiteWithUtf8JsonSerializer 3,637.3 ns NA 0.3357 1424 B
SerializeRelatedSiteWithJilSerializer 486.5 ns NA 0.2298 968 B
SerializeRelatedSiteWithUtf8JsonSerializer 239.8 ns NA 0.0281 120 B
DeserializeRelatedSiteWithJilSerializer 524.6 ns NA 0.1202 504 B
DeserializeRelatedSiteWithUtf8JsonSerializer 511.6 ns NA 0.0448 192 B
SerializeClosedDetailsWithJilSerializer 1,660.3 ns NA 0.6943 2920 B
SerializeClosedDetailsWithUtf8JsonSerializer 1,022.2 ns NA 0.1106 472 B
DeserializeClosedDetailsWithJilSerializer 2,758.6 ns NA 0.4044 1704 B
DeserializeClosedDetailsWithUtf8JsonSerializer 2,201.5 ns NA 0.1640 704 B
SerializeNoticeWithJilSerializer 631.6 ns NA 0.2298 968 B
SerializeNoticeWithUtf8JsonSerializer 366.6 ns NA 0.0300 128 B
DeserializeNoticeWithJilSerializer 564.8 ns NA 0.0944 400 B
DeserializeNoticeWithUtf8JsonSerializer 459.8 ns NA 0.0224 96 B
SerializeMigrationInfoWithJilSerializer 3,171.9 ns NA 1.1902 5000 B
SerializeMigrationInfoWithUtf8JsonSerializer 2,106.7 ns NA 0.1945 824 B
DeserializeMigrationInfoWithJilSerializer 4,507.9 ns NA 0.7401 3128 B
DeserializeMigrationInfoWithUtf8JsonSerializer 4,193.1 ns NA 0.3433 1472 B
SerializeBadgeCountWithJilSerializer 335.0 ns NA 0.1602 672 B
SerializeBadgeCountWithUtf8JsonSerializer 207.0 ns NA 0.0207 88 B
DeserializeBadgeCountWithJilSerializer 383.2 ns NA 0.0663 280 B
DeserializeBadgeCountWithUtf8JsonSerializer 290.6 ns NA 0.0091 40 B
SerializeStylingWithJilSerializer 474.3 ns NA 0.2093 880 B
SerializeStylingWithUtf8JsonSerializer 175.1 ns NA 0.0284 120 B
DeserializeStylingWithJilSerializer 487.1 ns NA 0.1173 496 B
DeserializeStylingWithUtf8JsonSerializer 437.2 ns NA 0.0434 184 B
SerializeOriginalQuestionWithJilSerializer 483.1 ns NA 0.2375 1000 B
SerializeOriginalQuestionWithUtf8JsonSerializer 252.2 ns NA 0.0300 128 B
DeserializeOriginalQuestionWithJilSerializer 606.1 ns NA 0.1001 424 B
DeserializeOriginalQuestionWithUtf8JsonSerializer 434.8 ns NA 0.0224 96 B

Object <-> Stream(Utf8)

HTTP's Request/Response body is normally Stream such as ASP.NET Core MVC's formatter, or even FileOpen etc.

Method Mean Error Gen 0 Allocated
SerializeAccessTokenWithJilSerializer 1,016.3 ns NA 1.4057 5905 B
SerializeAccessTokenWithUtf8JsonSerializer 572.5 ns NA 0.1030 432 B
DeserializeAccessTokenWithJilSerializer 1,327.4 ns NA 0.8717 3664 B
DeserializeAccessTokenWithUtf8JsonSerializer 733.8 ns NA 0.0582 248 B
SerializeAccountMergeWithJilSerializer 884.5 ns NA 1.4067 5905 B
SerializeAccountMergeWithUtf8JsonSerializer 485.1 ns NA 0.1030 432 B
DeserializeAccountMergeWithJilSerializer 1,104.5 ns NA 0.8240 3464 B
DeserializeAccountMergeWithUtf8JsonSerializer 466.2 ns NA 0.0110 48 B
SerializeAnswerWithJilSerializer 7,395.0 ns NA 2.1744 9129 B
SerializeAnswerWithUtf8JsonSerializer 5,967.3 ns NA 0.4807 2048 B
DeserializeAnswerWithJilSerializer 19,560.4 ns NA 1.3733 5848 B
DeserializeAnswerWithUtf8JsonSerializer 9,411.5 ns NA 0.4730 2048 B
SerializeBadgeWithJilSerializer 1,830.0 ns NA 1.4381 6042 B
SerializeBadgeWithUtf8JsonSerializer 1,177.4 ns NA 0.1335 568 B
DeserializeBadgeWithJilSerializer 3,365.8 ns NA 0.9270 3905 B
DeserializeBadgeWithUtf8JsonSerializer 2,012.5 ns NA 0.1144 488 B
SerializeCommentWithJilSerializer 2,748.8 ns NA 1.5640 6577 B
SerializeCommentWithUtf8JsonSerializer 2,033.6 ns NA 0.2174 920 B
DeserializeCommentWithJilSerializer 5,911.5 ns NA 1.0452 4401 B
DeserializeCommentWithUtf8JsonSerializer 3,813.4 ns NA 0.1869 792 B
SerializeErrorWithJilSerializer 783.1 ns NA 1.4067 5905 B
SerializeErrorWithUtf8JsonSerializer 295.9 ns NA 0.1030 432 B
DeserializeErrorWithJilSerializer 922.1 ns NA 0.8459 3552 B
DeserializeErrorWithUtf8JsonSerializer 406.0 ns NA 0.0319 136 B
SerializeEventWithJilSerializer 984.5 ns NA 1.4057 5905 B
SerializeEventWithUtf8JsonSerializer 602.1 ns NA 0.1030 432 B
DeserializeEventWithJilSerializer 1,386.5 ns NA 0.8507 3577 B
DeserializeEventWithUtf8JsonSerializer 794.9 ns NA 0.0372 160 B
SerializeMobileFeedWithJilSerializer 12,360.3 ns NA 3.1738 13348 B
SerializeMobileFeedWithUtf8JsonSerializer 7,758.9 ns NA 0.7935 3345 B
DeserializeMobileFeedWithJilSerializer 37,627.3 ns NA 2.1362 9032 B
DeserializeMobileFeedWithUtf8JsonSerializer 15,263.4 ns NA 1.2207 5136 B
SerializeMobileQuestionWithJilSerializer 1,580.2 ns NA 1.4153 5945 B
SerializeMobileQuestionWithUtf8JsonSerializer 743.1 ns NA 0.1116 472 B
DeserializeMobileQuestionWithJilSerializer 2,331.4 ns NA 0.9003 3784 B
DeserializeMobileQuestionWithUtf8JsonSerializer 1,361.5 ns NA 0.0858 368 B
SerializeMobileRepChangeWithJilSerializer 1,052.6 ns NA 1.4057 5905 B
SerializeMobileRepChangeWithUtf8JsonSerializer 479.5 ns NA 0.1030 432 B
DeserializeMobileRepChangeWithJilSerializer 1,295.8 ns NA 0.8640 3632 B
DeserializeMobileRepChangeWithUtf8JsonSerializer 702.0 ns NA 0.0515 216 B
SerializeMobileInboxItemWithJilSerializer 1,417.6 ns NA 1.4076 5913 B
SerializeMobileInboxItemWithUtf8JsonSerializer 721.2 ns NA 0.1040 440 B
DeserializeMobileInboxItemWithJilSerializer 2,045.5 ns NA 0.8965 3776 B
DeserializeMobileInboxItemWithUtf8JsonSerializer 1,197.3 ns NA 0.0839 360 B
SerializeMobileBadgeAwardWithJilSerializer 1,212.8 ns NA 1.4057 5905 B
SerializeMobileBadgeAwardWithUtf8JsonSerializer 694.1 ns NA 0.1030 432 B
DeserializeMobileBadgeAwardWithJilSerializer 1,962.0 ns NA 0.8812 3713 B
DeserializeMobileBadgeAwardWithUtf8JsonSerializer 1,143.3 ns NA 0.0687 296 B
SerializeMobilePrivilegeWithJilSerializer 1,257.8 ns NA 1.4057 5905 B
SerializeMobilePrivilegeWithUtf8JsonSerializer 546.3 ns NA 0.1030 432 B
DeserializeMobilePrivilegeWithJilSerializer 1,786.9 ns NA 0.8793 3696 B
DeserializeMobilePrivilegeWithUtf8JsonSerializer 946.1 ns NA 0.0658 280 B
SerializeMobileCommunityBulletinWithJilSerializer 1,748.7 ns NA 1.4286 6000 B
SerializeMobileCommunityBulletinWithUtf8JsonSerializer 909.6 ns NA 0.1230 520 B
DeserializeMobileCommunityBulletinWithJilSerializer 2,939.5 ns NA 0.9270 3905 B
DeserializeMobileCommunityBulletinWithUtf8JsonSerializer 1,632.5 ns NA 0.1144 488 B
SerializeMobileAssociationBonusWithJilSerializer 889.4 ns NA 1.4067 5905 B
SerializeMobileAssociationBonusWithUtf8JsonSerializer 395.8 ns NA 0.1030 432 B
DeserializeMobileAssociationBonusWithJilSerializer 996.4 ns NA 0.8373 3520 B
DeserializeMobileAssociationBonusWithUtf8JsonSerializer 491.8 ns NA 0.0238 104 B
SerializeMobileCareersJobAdWithJilSerializer 1,190.3 ns NA 1.4057 5905 B
SerializeMobileCareersJobAdWithUtf8JsonSerializer 497.6 ns NA 0.1030 432 B
DeserializeMobileCareersJobAdWithJilSerializer 1,586.4 ns NA 0.8774 3689 B
DeserializeMobileCareersJobAdWithUtf8JsonSerializer 822.9 ns NA 0.0639 272 B
SerializeMobileBannerAdWithJilSerializer 1,096.9 ns NA 1.4057 5905 B
SerializeMobileBannerAdWithUtf8JsonSerializer 538.9 ns NA 0.1030 432 B
DeserializeMobileBannerAdWithJilSerializer 1,629.9 ns NA 0.8812 3704 B
DeserializeMobileBannerAdWithUtf8JsonSerializer 859.4 ns NA 0.0677 288 B
SerializeMobileUpdateNoticeWithJilSerializer 705.6 ns NA 1.3838 5809 B
SerializeMobileUpdateNoticeWithUtf8JsonSerializer 361.0 ns NA 0.1030 432 B
DeserializeMobileUpdateNoticeWithJilSerializer 922.0 ns NA 0.8459 3552 B
DeserializeMobileUpdateNoticeWithUtf8JsonSerializer 456.9 ns NA 0.0319 136 B
SerializeFlagOptionWithJilSerializer 1,544.2 ns NA 1.4629 6146 B
SerializeFlagOptionWithUtf8JsonSerializer 833.6 ns NA 0.1364 576 B
DeserializeFlagOptionWithJilSerializer 2,906.1 ns NA 0.9460 3977 B
DeserializeFlagOptionWithUtf8JsonSerializer 1,770.1 ns NA 0.1087 464 B
SerializeInboxItemWithJilSerializer 3,527.8 ns NA 1.5640 6569 B
SerializeInboxItemWithUtf8JsonSerializer 2,523.4 ns NA 0.2632 1120 B
DeserializeInboxItemWithJilSerializer 8,007.4 ns NA 1.2054 5088 B
DeserializeInboxItemWithUtf8JsonSerializer 4,788.5 ns NA 0.3967 1672 B
SerializeInfoWithJilSerializer 4,270.2 ns NA 2.1210 8914 B
SerializeInfoWithUtf8JsonSerializer 2,995.2 ns NA 0.3395 1440 B
DeserializeInfoWithJilSerializer 9,270.4 ns NA 1.2054 5065 B
DeserializeInfoWithUtf8JsonSerializer 6,226.7 ns NA 0.4272 1816 B
SerializeNetworkUserWithJilSerializer 1,674.4 ns NA 1.4324 6017 B
SerializeNetworkUserWithUtf8JsonSerializer 1,195.3 ns NA 0.1297 552 B
DeserializeNetworkUserWithJilSerializer 3,124.3 ns NA 0.8736 3673 B
DeserializeNetworkUserWithUtf8JsonSerializer 1,619.2 ns NA 0.0591 256 B
SerializeNotificationWithJilSerializer 3,412.4 ns NA 1.5450 6490 B
SerializeNotificationWithUtf8JsonSerializer 2,454.0 ns NA 0.2441 1040 B
DeserializeNotificationWithJilSerializer 7,216.4 ns NA 1.1749 4960 B
DeserializeNotificationWithUtf8JsonSerializer 4,580.4 ns NA 0.3662 1544 B
SerializePostWithJilSerializer 6,197.8 ns NA 2.1744 9129 B
SerializePostWithUtf8JsonSerializer 4,483.7 ns NA 0.4425 1864 B
DeserializePostWithJilSerializer 13,256.4 ns NA 1.3275 5592 B
DeserializePostWithUtf8JsonSerializer 8,207.5 ns NA 0.4120 1792 B
SerializePrivilegeWithJilSerializer 746.7 ns NA 1.4067 5905 B
SerializePrivilegeWithUtf8JsonSerializer 312.0 ns NA 0.1030 432 B
DeserializePrivilegeWithJilSerializer 824.5 ns NA 0.8459 3552 B
DeserializePrivilegeWithUtf8JsonSerializer 432.4 ns NA 0.0319 136 B
SerializeQuestionWithJilSerializer 22,693.7 ns NA 5.3101 22334 B
SerializeQuestionWithUtf8JsonSerializer 17,783.5 ns NA 1.5259 6513 B
DeserializeQuestionWithJilSerializer 66,296.7 ns NA 2.9297 12800 B
DeserializeQuestionWithUtf8JsonSerializer 31,605.0 ns NA 1.8921 8136 B
SerializeQuestionTimelineWithJilSerializer 2,575.3 ns NA 1.5640 6569 B
SerializeQuestionTimelineWithUtf8JsonSerializer 1,925.7 ns NA 0.2174 920 B
DeserializeQuestionTimelineWithJilSerializer 5,243.0 ns NA 1.0147 4288 B
DeserializeQuestionTimelineWithUtf8JsonSerializer 3,322.7 ns NA 0.1602 680 B
SerializeReputationWithJilSerializer 1,205.9 ns NA 1.4057 5905 B
SerializeReputationWithUtf8JsonSerializer 798.6 ns NA 0.1030 432 B
DeserializeReputationWithJilSerializer 1,781.1 ns NA 0.8564 3600 B
DeserializeReputationWithUtf8JsonSerializer 1,055.4 ns NA 0.0420 184 B
SerializeReputationHistoryWithJilSerializer 1,039.0 ns NA 1.4057 5905 B
SerializeReputationHistoryWithUtf8JsonSerializer 660.4 ns NA 0.1030 432 B
DeserializeReputationHistoryWithJilSerializer 1,626.1 ns NA 0.8278 3481 B
DeserializeReputationHistoryWithUtf8JsonSerializer 723.5 ns NA 0.0143 64 B
SerializeRevisionWithJilSerializer 2,395.5 ns NA 1.4915 6274 B
SerializeRevisionWithUtf8JsonSerializer 1,866.3 ns NA 0.1907 808 B
DeserializeRevisionWithJilSerializer 5,142.3 ns NA 1.0452 4408 B
DeserializeRevisionWithUtf8JsonSerializer 3,255.0 ns NA 0.2327 992 B
SerializeSearchExcerptWithJilSerializer 3,777.8 ns NA 1.6212 6817 B
SerializeSearchExcerptWithUtf8JsonSerializer 2,902.0 ns NA 0.2823 1192 B
DeserializeSearchExcerptWithJilSerializer 7,804.6 ns NA 1.0986 4624 B
DeserializeSearchExcerptWithUtf8JsonSerializer 4,716.6 ns NA 0.2365 1016 B
SerializeShallowUserWithJilSerializer 1,192.3 ns NA 1.4057 5905 B
SerializeShallowUserWithUtf8JsonSerializer 684.6 ns NA 0.1030 432 B
DeserializeShallowUserWithJilSerializer 1,964.2 ns NA 0.8736 3680 B
DeserializeShallowUserWithUtf8JsonSerializer 1,155.0 ns NA 0.0610 264 B
SerializeSuggestedEditWithJilSerializer 2,390.6 ns NA 1.4763 6200 B
SerializeSuggestedEditWithUtf8JsonSerializer 1,841.0 ns NA 0.1755 744 B
DeserializeSuggestedEditWithJilSerializer 4,662.1 ns NA 0.9689 4096 B
DeserializeSuggestedEditWithUtf8JsonSerializer 2,920.2 ns NA 0.1602 680 B
SerializeTagWithJilSerializer 1,252.6 ns NA 1.4057 5905 B
SerializeTagWithUtf8JsonSerializer 872.5 ns NA 0.1030 432 B
DeserializeTagWithJilSerializer 1,964.5 ns NA 0.8774 3696 B
DeserializeTagWithUtf8JsonSerializer 1,053.9 ns NA 0.0648 280 B
SerializeTagScoreWithJilSerializer 1,492.2 ns NA 1.4153 5945 B
SerializeTagScoreWithUtf8JsonSerializer 877.8 ns NA 0.1116 472 B
DeserializeTagScoreWithJilSerializer 2,490.3 ns NA 0.8850 3720 B
DeserializeTagScoreWithUtf8JsonSerializer 1,393.8 ns NA 0.0725 304 B
SerializeTagSynonymWithJilSerializer 1,227.1 ns NA 1.4057 5905 B
SerializeTagSynonymWithUtf8JsonSerializer 763.3 ns NA 0.1030 432 B
DeserializeTagSynonymWithJilSerializer 1,628.1 ns NA 0.8526 3585 B
DeserializeTagSynonymWithUtf8JsonSerializer 843.0 ns NA 0.0401 168 B
SerializeTagWikiWithJilSerializer 2,650.4 ns NA 1.5564 6538 B
SerializeTagWikiWithUtf8JsonSerializer 1,924.2 ns NA 0.2098 888 B
DeserializeTagWikiWithJilSerializer 4,956.3 ns NA 1.0376 4368 B
DeserializeTagWikiWithUtf8JsonSerializer 3,215.1 ns NA 0.1793 760 B
SerializeTopTagWithJilSerializer 961.6 ns NA 1.4067 5905 B
SerializeTopTagWithUtf8JsonSerializer 478.5 ns NA 0.1030 432 B
DeserializeTopTagWithJilSerializer 1,392.8 ns NA 0.8392 3528 B
DeserializeTopTagWithUtf8JsonSerializer 637.1 ns NA 0.0257 112 B
SerializeUserWithJilSerializer 3,130.7 ns NA 1.5526 6529 B
SerializeUserWithUtf8JsonSerializer 2,338.3 ns NA 0.2556 1088 B
DeserializeUserWithJilSerializer 7,210.6 ns NA 0.9460 4016 B
DeserializeUserWithUtf8JsonSerializer 3,576.4 ns NA 0.1411 600 B
SerializeUserTimelineWithJilSerializer 1,375.7 ns NA 1.4095 5920 B
SerializeUserTimelineWithUtf8JsonSerializer 893.6 ns NA 0.1087 456 B
DeserializeUserTimelineWithJilSerializer 2,262.8 ns NA 0.8736 3673 B
DeserializeUserTimelineWithUtf8JsonSerializer 1,376.9 ns NA 0.0591 256 B
SerializeWritePermissionWithJilSerializer 882.7 ns NA 1.4067 5905 B
SerializeWritePermissionWithUtf8JsonSerializer 456.8 ns NA 0.1030 432 B
DeserializeWritePermissionWithJilSerializer 1,364.0 ns NA 0.8411 3536 B
DeserializeWritePermissionWithUtf8JsonSerializer 690.5 ns NA 0.0277 120 B
SerializeMobileBannerAdImageWithJilSerializer 713.2 ns NA 1.4067 5905 B
SerializeMobileBannerAdImageWithUtf8JsonSerializer 310.4 ns NA 0.1030 432 B
DeserializeMobileBannerAdImageWithJilSerializer 777.8 ns NA 0.8354 3504 B
DeserializeMobileBannerAdImageWithUtf8JsonSerializer 382.9 ns NA 0.0205 88 B
SerializeSiteWithJilSerializer 2,865.6 ns NA 1.5068 6336 B
SerializeSiteWithUtf8JsonSerializer 1,879.0 ns NA 0.2098 888 B
DeserializeSiteWithJilSerializer 5,408.0 ns NA 1.1520 4840 B
DeserializeSiteWithUtf8JsonSerializer 3,657.7 ns NA 0.3357 1424 B
SerializeRelatedSiteWithJilSerializer 788.7 ns NA 1.4067 5905 B
SerializeRelatedSiteWithUtf8JsonSerializer 346.4 ns NA 0.1030 432 B
DeserializeRelatedSiteWithJilSerializer 923.6 ns NA 0.8593 3608 B
DeserializeRelatedSiteWithUtf8JsonSerializer 577.6 ns NA 0.0448 192 B
SerializeClosedDetailsWithJilSerializer 1,781.4 ns NA 1.4515 6096 B
SerializeClosedDetailsWithUtf8JsonSerializer 1,083.7 ns NA 0.1469 624 B
DeserializeClosedDetailsWithJilSerializer 4,330.6 ns NA 0.9766 4120 B
DeserializeClosedDetailsWithUtf8JsonSerializer 2,224.6 ns NA 0.1640 704 B
SerializeNoticeWithJilSerializer 949.0 ns NA 1.4067 5905 B
SerializeNoticeWithUtf8JsonSerializer 489.6 ns NA 0.1030 432 B
DeserializeNoticeWithJilSerializer 1,089.8 ns NA 0.8354 3513 B
DeserializeNoticeWithUtf8JsonSerializer 516.1 ns NA 0.0219 96 B
SerializeMigrationInfoWithJilSerializer 3,208.9 ns NA 1.5259 6418 B
SerializeMigrationInfoWithUtf8JsonSerializer 2,292.8 ns NA 0.2289 976 B
DeserializeMigrationInfoWithJilSerializer 7,813.9 ns NA 1.1597 4888 B
DeserializeMigrationInfoWithUtf8JsonSerializer 4,124.2 ns NA 0.3433 1472 B
SerializeBadgeCountWithJilSerializer 798.2 ns NA 1.4067 5905 B
SerializeBadgeCountWithUtf8JsonSerializer 315.3 ns NA 0.1030 432 B
DeserializeBadgeCountWithJilSerializer 857.4 ns NA 0.8230 3457 B
DeserializeBadgeCountWithUtf8JsonSerializer 327.0 ns NA 0.0091 40 B
SerializeStylingWithJilSerializer 802.2 ns NA 1.3838 5809 B
SerializeStylingWithUtf8JsonSerializer 317.4 ns NA 0.1030 432 B
DeserializeStylingWithJilSerializer 926.6 ns NA 0.8574 3600 B
DeserializeStylingWithUtf8JsonSerializer 493.3 ns NA 0.0429 184 B
SerializeOriginalQuestionWithJilSerializer 1,076.6 ns NA 1.4067 5905 B
SerializeOriginalQuestionWithUtf8JsonSerializer 392.6 ns NA 0.1030 432 B
DeserializeOriginalQuestionWithJilSerializer 1,083.5 ns NA 0.8354 3513 B
DeserializeOriginalQuestionWithUtf8JsonSerializer 529.1 ns NA 0.0219 96 B

Object <-> String(UTF16)

Method Mean Error Gen 0 Allocated
SerializeAccessTokenWithJilSerializer 589.1 ns NA 0.2146 904 B
SerializeAccessTokenWithUtf8JsonSerializer 566.6 ns NA 0.0658 280 B
DeserializeAccessTokenWithJilSerializer 604.2 ns NA 0.0811 344 B
DeserializeAccessTokenWithUtf8JsonSerializer 888.1 ns NA 0.0944 400 B
SerializeAccountMergeWithJilSerializer 493.2 ns NA 0.2260 952 B
SerializeAccountMergeWithUtf8JsonSerializer 466.1 ns NA 0.0563 240 B
DeserializeAccountMergeWithJilSerializer 458.5 ns NA 0.0343 144 B
DeserializeAccountMergeWithUtf8JsonSerializer 569.4 ns NA 0.0429 184 B
SerializeAnswerWithJilSerializer 4,741.8 ns NA 2.0981 8817 B
SerializeAnswerWithUtf8JsonSerializer 6,048.6 ns NA 0.8926 3769 B
DeserializeAnswerWithJilSerializer 8,874.5 ns NA 0.5951 2528 B
DeserializeAnswerWithUtf8JsonSerializer 11,047.0 ns NA 0.9308 3944 B
SerializeBadgeWithJilSerializer 978.8 ns NA 0.5608 2360 B
SerializeBadgeWithUtf8JsonSerializer 1,306.4 ns NA 0.1945 824 B
DeserializeBadgeWithJilSerializer 1,829.0 ns NA 0.1392 584 B
DeserializeBadgeWithUtf8JsonSerializer 2,538.2 ns NA 0.2174 912 B
SerializeCommentWithJilSerializer 2,088.1 ns NA 1.0338 4344 B
SerializeCommentWithUtf8JsonSerializer 2,280.9 ns NA 0.3548 1504 B
DeserializeCommentWithJilSerializer 3,230.0 ns NA 0.2556 1080 B
DeserializeCommentWithUtf8JsonSerializer 4,549.0 ns NA 0.3662 1552 B
SerializeErrorWithJilSerializer 321.4 ns NA 0.1922 808 B
SerializeErrorWithUtf8JsonSerializer 270.6 ns NA 0.0396 168 B
DeserializeErrorWithJilSerializer 341.6 ns NA 0.0548 232 B
DeserializeErrorWithUtf8JsonSerializer 474.8 ns NA 0.0548 232 B
SerializeEventWithJilSerializer 594.1 ns NA 0.3004 1264 B
SerializeEventWithUtf8JsonSerializer 613.1 ns NA 0.0734 312 B
DeserializeEventWithJilSerializer 602.6 ns NA 0.0601 256 B
DeserializeEventWithUtf8JsonSerializer 952.9 ns NA 0.0763 328 B
SerializeMobileFeedWithJilSerializer 9,240.9 ns NA 3.7537 15776 B
SerializeMobileFeedWithUtf8JsonSerializer 9,259.8 ns NA 1.5106 6355 B
DeserializeMobileFeedWithJilSerializer 22,200.1 ns NA 1.3428 5712 B
DeserializeMobileFeedWithUtf8JsonSerializer 19,203.4 ns NA 1.9836 8330 B
SerializeMobileQuestionWithJilSerializer 1,054.8 ns NA 0.5169 2176 B
SerializeMobileQuestionWithUtf8JsonSerializer 861.7 ns NA 0.1478 624 B
DeserializeMobileQuestionWithJilSerializer 1,347.6 ns NA 0.1087 464 B
DeserializeMobileQuestionWithUtf8JsonSerializer 1,552.8 ns NA 0.1621 688 B
SerializeMobileRepChangeWithJilSerializer 598.7 ns NA 0.3080 1296 B
SerializeMobileRepChangeWithUtf8JsonSerializer 465.3 ns NA 0.0701 296 B
DeserializeMobileRepChangeWithJilSerializer 640.4 ns NA 0.0734 312 B
DeserializeMobileRepChangeWithUtf8JsonSerializer 814.3 ns NA 0.0887 376 B
SerializeMobileInboxItemWithJilSerializer 933.2 ns NA 0.3672 1544 B
SerializeMobileInboxItemWithUtf8JsonSerializer 781.0 ns NA 0.1287 544 B
DeserializeMobileInboxItemWithJilSerializer 1,112.1 ns NA 0.1087 456 B
DeserializeMobileInboxItemWithUtf8JsonSerializer 1,450.7 ns NA 0.1526 648 B
SerializeMobileBadgeAwardWithJilSerializer 708.4 ns NA 0.3443 1448 B
SerializeMobileBadgeAwardWithUtf8JsonSerializer 825.6 ns NA 0.1154 488 B
DeserializeMobileBadgeAwardWithJilSerializer 914.4 ns NA 0.0925 392 B
DeserializeMobileBadgeAwardWithUtf8JsonSerializer 1,341.4 ns NA 0.1297 552 B
SerializeMobilePrivilegeWithJilSerializer 692.2 ns NA 0.3538 1488 B
SerializeMobilePrivilegeWithUtf8JsonSerializer 636.8 ns NA 0.1154 488 B
DeserializeMobilePrivilegeWithJilSerializer 1,014.6 ns NA 0.0877 376 B
DeserializeMobilePrivilegeWithUtf8JsonSerializer 1,294.1 ns NA 0.1259 536 B
SerializeMobileCommunityBulletinWithJilSerializer 1,181.2 ns NA 0.5398 2272 B
SerializeMobileCommunityBulletinWithUtf8JsonSerializer 1,055.3 ns NA 0.1755 744 B
DeserializeMobileCommunityBulletinWithJilSerializer 1,636.1 ns NA 0.1392 584 B
DeserializeMobileCommunityBulletinWithUtf8JsonSerializer 2,028.1 ns NA 0.2060 864 B
SerializeMobileAssociationBonusWithJilSerializer 464.1 ns NA 0.2093 880 B
SerializeMobileAssociationBonusWithUtf8JsonSerializer 354.4 ns NA 0.0510 216 B
DeserializeMobileAssociationBonusWithJilSerializer 447.4 ns NA 0.0472 200 B
DeserializeMobileAssociationBonusWithUtf8JsonSerializer 554.9 ns NA 0.0525 224 B
SerializeMobileCareersJobAdWithJilSerializer 653.2 ns NA 0.3214 1352 B
SerializeMobileCareersJobAdWithUtf8JsonSerializer 508.8 ns NA 0.0830 352 B
DeserializeMobileCareersJobAdWithJilSerializer 703.8 ns NA 0.0868 368 B
DeserializeMobileCareersJobAdWithUtf8JsonSerializer 1,015.3 ns NA 0.1087 456 B
SerializeMobileBannerAdWithJilSerializer 624.4 ns NA 0.3080 1296 B
SerializeMobileBannerAdWithUtf8JsonSerializer 540.0 ns NA 0.0753 320 B
DeserializeMobileBannerAdWithJilSerializer 743.0 ns NA 0.0906 384 B
DeserializeMobileBannerAdWithUtf8JsonSerializer 977.0 ns NA 0.1087 464 B
SerializeMobileUpdateNoticeWithJilSerializer 306.9 ns NA 0.1750 736 B
SerializeMobileUpdateNoticeWithUtf8JsonSerializer 263.9 ns NA 0.0453 192 B
DeserializeMobileUpdateNoticeWithJilSerializer 353.8 ns NA 0.0548 232 B
DeserializeMobileUpdateNoticeWithUtf8JsonSerializer 482.2 ns NA 0.0582 248 B
SerializeFlagOptionWithJilSerializer 864.4 ns NA 0.5884 2472 B
SerializeFlagOptionWithUtf8JsonSerializer 1,043.8 ns NA 0.1926 816 B
DeserializeFlagOptionWithJilSerializer 1,689.0 ns NA 0.1545 656 B
DeserializeFlagOptionWithUtf8JsonSerializer 2,139.4 ns NA 0.2098 888 B
SerializeInboxItemWithJilSerializer 2,525.9 ns NA 1.0719 4504 B
SerializeInboxItemWithUtf8JsonSerializer 3,056.6 ns NA 0.4539 1920 B
DeserializeInboxItemWithJilSerializer 4,804.3 ns NA 0.4196 1768 B
DeserializeInboxItemWithUtf8JsonSerializer 5,860.6 ns NA 0.6256 2640 B
SerializeInfoWithJilSerializer 3,229.9 ns NA 1.6899 7096 B
SerializeInfoWithUtf8JsonSerializer 3,776.0 ns NA 0.5646 2401 B
DeserializeInfoWithJilSerializer 5,835.4 ns NA 0.4120 1744 B
DeserializeInfoWithUtf8JsonSerializer 7,298.0 ns NA 0.6943 2944 B
SerializeNetworkUserWithJilSerializer 1,146.1 ns NA 0.5455 2296 B
SerializeNetworkUserWithUtf8JsonSerializer 1,352.4 ns NA 0.1812 768 B
DeserializeNetworkUserWithJilSerializer 1,734.8 ns NA 0.0820 352 B
DeserializeNetworkUserWithUtf8JsonSerializer 2,049.1 ns NA 0.1564 664 B
SerializeNotificationWithJilSerializer 2,407.1 ns NA 1.0414 4377 B
SerializeNotificationWithUtf8JsonSerializer 2,843.1 ns NA 0.4196 1768 B
DeserializeNotificationWithJilSerializer 4,435.0 ns NA 0.3891 1640 B
DeserializeNotificationWithUtf8JsonSerializer 5,399.1 ns NA 0.5722 2424 B
SerializePostWithJilSerializer 4,061.6 ns NA 2.0218 8489 B
SerializePostWithUtf8JsonSerializer 5,332.6 ns NA 0.8087 3402 B
DeserializePostWithJilSerializer 7,535.1 ns NA 0.5341 2272 B
DeserializePostWithUtf8JsonSerializer 9,589.8 ns NA 0.8240 3504 B
SerializePrivilegeWithJilSerializer 345.2 ns NA 0.1979 832 B
SerializePrivilegeWithUtf8JsonSerializer 264.7 ns NA 0.0453 192 B
DeserializePrivilegeWithJilSerializer 389.6 ns NA 0.0548 232 B
DeserializePrivilegeWithUtf8JsonSerializer 501.4 ns NA 0.0582 248 B
SerializeQuestionWithJilSerializer 17,926.6 ns NA 7.3242 30847 B
SerializeQuestionWithUtf8JsonSerializer 20,351.0 ns NA 2.9907 12680 B
DeserializeQuestionWithJilSerializer 39,006.9 ns NA 2.2583 9480 B
DeserializeQuestionWithUtf8JsonSerializer 38,056.9 ns NA 3.4180 14489 B
SerializeQuestionTimelineWithJilSerializer 1,725.2 ns NA 1.0281 4320 B
SerializeQuestionTimelineWithUtf8JsonSerializer 2,291.1 ns NA 0.3510 1488 B
DeserializeQuestionTimelineWithJilSerializer 2,963.0 ns NA 0.2289 968 B
DeserializeQuestionTimelineWithUtf8JsonSerializer 4,421.3 ns NA 0.3357 1432 B
SerializeReputationWithJilSerializer 704.5 ns NA 0.3614 1520 B
SerializeReputationWithUtf8JsonSerializer 886.0 ns NA 0.1001 424 B
DeserializeReputationWithJilSerializer 857.6 ns NA 0.0658 280 B
DeserializeReputationWithUtf8JsonSerializer 1,271.2 ns NA 0.0973 416 B
SerializeReputationHistoryWithJilSerializer 596.7 ns NA 0.3138 1320 B
SerializeReputationHistoryWithUtf8JsonSerializer 695.4 ns NA 0.0887 376 B
DeserializeReputationHistoryWithJilSerializer 737.1 ns NA 0.0372 160 B
DeserializeReputationHistoryWithUtf8JsonSerializer 916.0 ns NA 0.0601 256 B
SerializeRevisionWithJilSerializer 1,705.4 ns NA 0.9308 3912 B
SerializeRevisionWithUtf8JsonSerializer 2,023.5 ns NA 0.3014 1272 B
DeserializeRevisionWithJilSerializer 2,976.5 ns NA 0.2556 1088 B
DeserializeRevisionWithUtf8JsonSerializer 3,979.8 ns NA 0.3891 1648 B
SerializeSearchExcerptWithJilSerializer 2,780.7 ns NA 1.1482 4824 B
SerializeSearchExcerptWithUtf8JsonSerializer 3,760.8 ns NA 0.4883 2056 B
DeserializeSearchExcerptWithJilSerializer 4,540.3 ns NA 0.3052 1304 B
DeserializeSearchExcerptWithUtf8JsonSerializer 5,829.1 ns NA 0.4883 2056 B
SerializeShallowUserWithJilSerializer 705.2 ns NA 0.3519 1480 B
SerializeShallowUserWithUtf8JsonSerializer 805.3 ns NA 0.1211 512 B
DeserializeShallowUserWithJilSerializer 995.6 ns NA 0.0839 360 B
DeserializeShallowUserWithUtf8JsonSerializer 1,479.4 ns NA 0.1240 528 B
SerializeSuggestedEditWithJilSerializer 1,800.9 ns NA 0.8965 3768 B
SerializeSuggestedEditWithUtf8JsonSerializer 2,074.5 ns NA 0.2747 1168 B
DeserializeSuggestedEditWithJilSerializer 2,671.4 ns NA 0.1831 776 B
DeserializeSuggestedEditWithUtf8JsonSerializer 3,376.8 ns NA 0.3014 1272 B
SerializeTagWithJilSerializer 716.6 ns NA 0.3309 1392 B
SerializeTagWithUtf8JsonSerializer 762.1 ns NA 0.1040 440 B
DeserializeTagWithJilSerializer 944.7 ns NA 0.0887 376 B
DeserializeTagWithUtf8JsonSerializer 1,290.0 ns NA 0.1202 512 B
SerializeTagScoreWithJilSerializer 802.2 ns NA 0.5159 2168 B
SerializeTagScoreWithUtf8JsonSerializer 945.4 ns NA 0.1440 608 B
DeserializeTagScoreWithJilSerializer 1,313.6 ns NA 0.0935 400 B
DeserializeTagScoreWithUtf8JsonSerializer 1,899.3 ns NA 0.1469 624 B
SerializeTagSynonymWithJilSerializer 820.2 ns NA 0.3138 1320 B
SerializeTagSynonymWithUtf8JsonSerializer 764.7 ns NA 0.0906 384 B
DeserializeTagSynonymWithJilSerializer 776.0 ns NA 0.0620 264 B
DeserializeTagSynonymWithUtf8JsonSerializer 1,028.3 ns NA 0.0877 376 B
SerializeTagWikiWithJilSerializer 1,815.9 ns NA 1.0090 4240 B
SerializeTagWikiWithUtf8JsonSerializer 2,233.5 ns NA 0.3395 1432 B
DeserializeTagWikiWithJilSerializer 2,846.7 ns NA 0.2480 1048 B
DeserializeTagWikiWithUtf8JsonSerializer 4,138.0 ns NA 0.3510 1496 B
SerializeTopTagWithJilSerializer 491.0 ns NA 0.3085 1296 B
SerializeTopTagWithUtf8JsonSerializer 487.0 ns NA 0.0777 328 B
DeserializeTopTagWithJilSerializer 642.0 ns NA 0.0486 208 B
DeserializeTopTagWithUtf8JsonSerializer 758.5 ns NA 0.0677 288 B
SerializeUserWithJilSerializer 2,310.5 ns NA 1.0490 4416 B
SerializeUserWithUtf8JsonSerializer 2,768.4 ns NA 0.4311 1824 B
DeserializeUserWithJilSerializer 3,978.6 ns NA 0.1602 696 B
DeserializeUserWithUtf8JsonSerializer 4,535.1 ns NA 0.3586 1528 B
SerializeUserTimelineWithJilSerializer 910.6 ns NA 0.5045 2120 B
SerializeUserTimelineWithUtf8JsonSerializer 982.2 ns NA 0.1354 576 B
DeserializeUserTimelineWithJilSerializer 1,159.7 ns NA 0.0820 352 B
DeserializeUserTimelineWithUtf8JsonSerializer 1,699.3 ns NA 0.1316 560 B
SerializeWritePermissionWithJilSerializer 464.2 ns NA 0.3181 1336 B
SerializeWritePermissionWithUtf8JsonSerializer 496.2 ns NA 0.0868 368 B
DeserializeWritePermissionWithJilSerializer 630.3 ns NA 0.0515 216 B
DeserializeWritePermissionWithUtf8JsonSerializer 846.1 ns NA 0.0734 312 B
SerializeMobileBannerAdImageWithJilSerializer 272.0 ns NA 0.1407 592 B
SerializeMobileBannerAdImageWithUtf8JsonSerializer 269.7 ns NA 0.0358 152 B
DeserializeMobileBannerAdImageWithJilSerializer 355.1 ns NA 0.0434 184 B
DeserializeMobileBannerAdImageWithUtf8JsonSerializer 441.8 ns NA 0.0415 176 B
SerializeSiteWithJilSerializer 2,092.7 ns NA 0.9613 4048 B
SerializeSiteWithUtf8JsonSerializer 2,326.7 ns NA 0.3433 1456 B
DeserializeSiteWithJilSerializer 3,501.5 ns NA 0.3586 1520 B
DeserializeSiteWithUtf8JsonSerializer 4,777.7 ns NA 0.5112 2160 B
SerializeRelatedSiteWithJilSerializer 407.6 ns NA 0.2017 848 B
SerializeRelatedSiteWithUtf8JsonSerializer 327.4 ns NA 0.0491 208 B
DeserializeRelatedSiteWithJilSerializer 421.7 ns NA 0.0682 288 B
DeserializeRelatedSiteWithUtf8JsonSerializer 657.0 ns NA 0.0744 312 B
SerializeClosedDetailsWithJilSerializer 1,107.4 ns NA 0.5856 2464 B
SerializeClosedDetailsWithUtf8JsonSerializer 1,342.9 ns NA 0.2117 896 B
DeserializeClosedDetailsWithJilSerializer 2,312.5 ns NA 0.1869 800 B
DeserializeClosedDetailsWithUtf8JsonSerializer 2,738.8 ns NA 0.2785 1176 B
SerializeNoticeWithJilSerializer 506.2 ns NA 0.2012 848 B
SerializeNoticeWithUtf8JsonSerializer 448.5 ns NA 0.0529 224 B
DeserializeNoticeWithJilSerializer 447.8 ns NA 0.0453 192 B
DeserializeNoticeWithUtf8JsonSerializer 607.2 ns NA 0.0525 224 B
SerializeMigrationInfoWithJilSerializer 2,306.8 ns NA 0.9995 4209 B
SerializeMigrationInfoWithUtf8JsonSerializer 2,563.2 ns NA 0.3815 1616 B
DeserializeMigrationInfoWithJilSerializer 4,027.6 ns NA 0.3662 1568 B
DeserializeMigrationInfoWithUtf8JsonSerializer 4,979.3 ns NA 0.5417 2296 B
SerializeBadgeCountWithJilSerializer 244.5 ns NA 0.1392 584 B
SerializeBadgeCountWithUtf8JsonSerializer 276.1 ns NA 0.0339 144 B
DeserializeBadgeCountWithJilSerializer 304.9 ns NA 0.0319 136 B
DeserializeBadgeCountWithUtf8JsonSerializer 387.3 ns NA 0.0300 128 B
SerializeStylingWithJilSerializer 391.1 ns NA 0.1807 760 B
SerializeStylingWithUtf8JsonSerializer 293.1 ns NA 0.0510 216 B
DeserializeStylingWithJilSerializer 407.5 ns NA 0.0663 280 B
DeserializeStylingWithUtf8JsonSerializer 557.7 ns NA 0.0725 304 B
SerializeOriginalQuestionWithJilSerializer 345.5 ns NA 0.2074 872 B
SerializeOriginalQuestionWithUtf8JsonSerializer 333.7 ns NA 0.0548 232 B
DeserializeOriginalQuestionWithJilSerializer 458.3 ns NA 0.0453 192 B
DeserializeOriginalQuestionWithUtf8JsonSerializer 540.4 ns NA 0.0525 224 B

About

Benchmark of Jil vs Utf8Json

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%