{"id":13367534,"url":"https://github.com/hgfischer/Go-type-assertion-benchmark","last_synced_at":"2025-03-12T20:30:43.718Z","repository":{"id":18032160,"uuid":"21070919","full_name":"hgfischer/go-type-assertion-benchmark","owner":"hgfischer","description":"Naive performance test of two ways to do type assertion in Go.","archived":false,"fork":false,"pushed_at":"2018-02-18T07:14:16.000Z","size":148,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T23:32:39.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hgfischer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-21T14:51:50.000Z","updated_at":"2023-03-10T11:15:20.000Z","dependencies_parsed_at":"2022-08-26T10:51:37.527Z","dependency_job_id":null,"html_url":"https://github.com/hgfischer/go-type-assertion-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgfischer%2Fgo-type-assertion-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgfischer%2Fgo-type-assertion-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgfischer%2Fgo-type-assertion-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hgfischer%2Fgo-type-assertion-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hgfischer","download_url":"https://codeload.github.com/hgfischer/go-type-assertion-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243290566,"owners_count":20267740,"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-07-30T00:01:52.841Z","updated_at":"2025-03-12T20:30:43.471Z","avatar_url":"https://github.com/hgfischer.png","language":"Go","readme":"# Introduction\n\nNaive performance test of doing type assertion using:\n\n * The static way\n\nor...\n\n * Using reflection to avoid code repetition\n\n# Results\n\n```\nBenchmarkAppendNativeTypeAssertion       5000000           666 ns/op\nBenchmarkAppendReflectionTypeAssertion   5000000           529 ns/op\n```\n\n# Thanks to\n\n * Dan Kortschak \u003cdan.kortschak@adel....edu.au\u003e\n * Dmitry Vyukov \u003cdvyukov@goo....com\u003e\n * Xingtao Zhao  \u003czhaoxingtao@gm....com\u003e\n * Egon          \u003cegonelbre@gm....com\u003e\n * Chris Dollin  \u003cehog.hedge@goo...mail.com\u003e\n","funding_links":[],"categories":["基准测试","基準測試"],"sub_categories":["其他软件","其他軟件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhgfischer%2FGo-type-assertion-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhgfischer%2FGo-type-assertion-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhgfischer%2FGo-type-assertion-benchmark/lists"}