{"id":23663630,"url":"https://github.com/bervproject/stringbuilderperformance","last_synced_at":"2025-12-06T11:30:16.495Z","repository":{"id":186455178,"uuid":"674901322","full_name":"bervProject/StringBuilderPerformance","owner":"bervProject","description":"String Builder Performance","archived":false,"fork":false,"pushed_at":"2024-08-12T10:45:51.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-29T05:32:13.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bervProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-05T05:31:42.000Z","updated_at":"2024-10-31T04:51:58.000Z","dependencies_parsed_at":"2024-12-29T05:30:42.432Z","dependency_job_id":"4882b8c6-7e22-4ec8-904f-407504897ae5","html_url":"https://github.com/bervProject/StringBuilderPerformance","commit_stats":null,"previous_names":["bervproject/stringbuilderperformance"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bervProject%2FStringBuilderPerformance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bervProject%2FStringBuilderPerformance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bervProject%2FStringBuilderPerformance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bervProject%2FStringBuilderPerformance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bervProject","download_url":"https://codeload.github.com/bervProject/StringBuilderPerformance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239662732,"owners_count":19676435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-29T05:30:40.159Z","updated_at":"2025-12-06T11:30:16.421Z","avatar_url":"https://github.com/bervProject.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StringBuilderPerformance\n\nString Builder Performance\n\n## Summary\n\n|                   Method |      N |             Mean |          Error |         StdDev |           Median | Rank |          Gen0 |          Gen1 |          Gen2 |       Allocated |\n|------------------------- |------- |-----------------:|---------------:|---------------:|-----------------:|-----:|--------------:|--------------:|--------------:|----------------:|\n|  AppendWithStringBuilder |   1000 |         10.45 us |       0.207 us |       0.548 us |         10.20 us |    1 |        8.7585 |        0.9613 |             - |        53.91 KB |\n|  AppendWithStringBuilder |  10000 |        213.85 us |       4.248 us |       7.768 us |        212.04 us |    2 |       66.6504 |       66.6504 |       66.6504 |       435.63 KB |\n|         AppendWithString |   1000 |        759.31 us |      15.032 us |      20.068 us |        756.16 us |    3 |     1755.8594 |       93.7500 |             - |      10777.3 KB |\n|        PrependWithString |   1000 |        761.74 us |      15.045 us |      25.137 us |        761.18 us |    3 |     1755.8594 |       93.7500 |             - |      10777.3 KB |\n|  AppendWithStringBuilder | 100000 |      1,491.00 us |       8.566 us |       7.153 us |      1,493.93 us |    4 |      707.0313 |      652.3438 |      353.5156 |      4316.28 KB |\n| PrependWithStringBuilder |   1000 |      3,652.40 us |      57.881 us |      51.310 us |      3,639.86 us |    5 |       19.5313 |        3.9063 |             - |       123.07 KB |\n|        PrependWithString |  10000 |    103,185.42 us |   1,756.825 us |   1,643.335 us |    102,605.36 us |    6 |   316200.0000 |   294200.0000 |   290200.0000 |   1074665.57 KB |\n|         AppendWithString |  10000 |    103,766.99 us |   2,047.758 us |   2,102.896 us |    103,956.12 us |    6 |   316200.0000 |   294200.0000 |   290200.0000 |   1074665.57 KB |\n| PrependWithStringBuilder |  10000 |    443,622.50 us |   8,848.754 us |   9,087.019 us |    443,266.50 us |    7 |             - |             - |             - |      1230.88 KB |\n|         AppendWithString | 100000 | 31,694,035.38 us | 479,131.423 us | 424,737.527 us | 31,537,399.50 us |    8 | 18852000.0000 | 18809000.0000 | 18805000.0000 | 107431164.26 KB |\n|        PrependWithString | 100000 | 32,527,484.53 us | 133,803.969 us | 111,732.374 us | 32,527,375.30 us |    9 | 19962000.0000 | 19918000.0000 | 19914000.0000 | 107431463.44 KB |\n| PrependWithStringBuilder | 100000 | 58,193,475.60 us | 712,873.020 us | 792,356.472 us | 58,134,526.30 us |   10 |     1000.0000 |             - |             - |      12305.1 KB |\n\n## Append\n\n|                   Method |      N |             Mean |          Error |         StdDev |           Median | Rank |          Gen0 |          Gen1 |          Gen2 |       Allocated |\n|------------------------- |------- |-----------------:|---------------:|---------------:|-----------------:|-----:|--------------:|--------------:|--------------:|----------------:|\n|  AppendWithStringBuilder |   1000 |         10.45 us |       0.207 us |       0.548 us |         10.20 us |    1 |        8.7585 |        0.9613 |             - |        53.91 KB |\n|         AppendWithString |   1000 |        759.31 us |      15.032 us |      20.068 us |        756.16 us |    3 |     1755.8594 |       93.7500 |             - |      10777.3 KB |\n|  AppendWithStringBuilder |  10000 |        213.85 us |       4.248 us |       7.768 us |        212.04 us |    2 |       66.6504 |       66.6504 |       66.6504 |       435.63 KB |\n|         AppendWithString |  10000 |    103,766.99 us |   2,047.758 us |   2,102.896 us |    103,956.12 us |    6 |   316200.0000 |   294200.0000 |   290200.0000 |   1074665.57 KB |\n|  AppendWithStringBuilder | 100000 |      1,491.00 us |       8.566 us |       7.153 us |      1,493.93 us |    4 |      707.0313 |      652.3438 |      353.5156 |      4316.28 KB |\n|         AppendWithString | 100000 | 31,694,035.38 us | 479,131.423 us | 424,737.527 us | 31,537,399.50 us |    8 | 18852000.0000 | 18809000.0000 | 18805000.0000 | 107431164.26 KB |\n\n## Prepend\n\n|                   Method |      N |             Mean |          Error |         StdDev |           Median | Rank |          Gen0 |          Gen1 |          Gen2 |       Allocated |\n|------------------------- |------- |-----------------:|---------------:|---------------:|-----------------:|-----:|--------------:|--------------:|--------------:|----------------:|\n|        PrependWithString |   1000 |        761.74 us |      15.045 us |      25.137 us |        761.18 us |    3 |     1755.8594 |       93.7500 |             - |      10777.3 KB |\n| PrependWithStringBuilder |   1000 |      3,652.40 us |      57.881 us |      51.310 us |      3,639.86 us |    5 |       19.5313 |        3.9063 |             - |       123.07 KB |\n|        PrependWithString |  10000 |    103,185.42 us |   1,756.825 us |   1,643.335 us |    102,605.36 us |    6 |   316200.0000 |   294200.0000 |   290200.0000 |   1074665.57 KB |\n| PrependWithStringBuilder |  10000 |    443,622.50 us |   8,848.754 us |   9,087.019 us |    443,266.50 us |    7 |             - |             - |             - |      1230.88 KB |\n|        PrependWithString | 100000 | 32,527,484.53 us | 133,803.969 us | 111,732.374 us | 32,527,375.30 us |    9 | 19962000.0000 | 19918000.0000 | 19914000.0000 | 107431463.44 KB |\n| PrependWithStringBuilder | 100000 | 58,193,475.60 us | 712,873.020 us | 792,356.472 us | 58,134,526.30 us |   10 |     1000.0000 |             - |             - |      12305.1 KB |\n\n## Learn More\n\nPlease visit [this page](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder?view=net-7.0#the-string-and-stringbuilder-types).\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbervproject%2Fstringbuilderperformance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbervproject%2Fstringbuilderperformance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbervproject%2Fstringbuilderperformance/lists"}