{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/385","labels_url":"https://api.github.com/repos/aspnet/Hosting/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Hosting/issues/385/comments","events_url":"https://api.github.com/repos/aspnet/Hosting/issues/385/events","html_url":"https://github.com/aspnet/Hosting/pull/385","id":109812872,"number":385,"title":"requestId ticks seed, reduced GenerateRequestId allocs","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Hosting/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T14:47:49Z","updated_at":"2015-10-05T16:09:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Hosting/pulls/385","html_url":"https://github.com/aspnet/Hosting/pull/385","diff_url":"https://github.com/aspnet/Hosting/pull/385.diff","patch_url":"https://github.com/aspnet/Hosting/pull/385.patch"},"body":"Seed requestId with DateTime.UtcNow.Ticks rather than Random\r\nReduced allocs in GenerateRequestId\r\n\r\n/cc @DamianEdwards "},"comment":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/comments/145584483","html_url":"https://github.com/aspnet/Hosting/pull/385#issuecomment-145584483","issue_url":"https://api.github.com/repos/aspnet/Hosting/issues/385","id":145584483,"user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T16:09:49Z","updated_at":"2015-10-05T16:09:49Z","body":"```ini\r\nBenchmarkDotNet=v0.7.8.0\r\nOS=Microsoft Windows NT 6.2.9200.0\r\nProcessor=Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz, ProcessorCount=8\r\nHostCLR=MS.NET 4.0.30319.42000, Arch=32-bit\r\nType=LongToString  Mode=Throughput  .NET=HostFramework\r\n```\r\n\r\n                     Method | Platform |       Jit |    AvrTime |    StdDev |           op/s |\r\n--------------------------- |--------- |---------- |----------- |---------- |--------------- |\r\nLongToString |      X86 | LegacyJit | 48.6370 ns | 0.5701 ns |  20,560,474.66 |\r\nRequestIdCharHeap |      X86 | LegacyJit |  7.9431 ns | 0.1111 ns | 125,896,043.99 |\r\nRequestIdCharStack |      X86 | LegacyJit |  9.6136 ns | 0.1804 ns | 104,019,793.55 |\r\nLongToString |      X64 |    RyuJit | 21.9177 ns | 0.7149 ns |  45,625,348.42 |\r\nRequestIdCharHeap |      X64 |    RyuJit |  7.7770 ns | 0.0258 ns | 128,584,042.38 |\r\nRequestIdCharStack |      X64 |    RyuJit |  7.2523 ns | 0.0137 ns | 137,887,101.48 |\r\n\r\nAllocations aside, is a little slower on x86, but faster on x64 and x64 is faster than x86"}}