{"id":15687838,"url":"https://github.com/orisano/json_post","last_synced_at":"2025-03-30T11:42:24.797Z","repository":{"id":68081755,"uuid":"108165381","full_name":"orisano/json_post","owner":"orisano","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-30T10:24:55.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T05:34:30.367Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orisano.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":"2017-10-24T18:10:46.000Z","updated_at":"2021-11-30T10:24:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3969cff0-87f5-4c73-a051-e68c435804e8","html_url":"https://github.com/orisano/json_post","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/orisano%2Fjson_post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fjson_post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fjson_post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orisano%2Fjson_post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orisano","download_url":"https://codeload.github.com/orisano/json_post/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314125,"owners_count":20757457,"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-10-03T17:51:19.462Z","updated_at":"2025-03-30T11:42:24.771Z","avatar_url":"https://github.com/orisano.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json_post\nBenchmark of way of json post on go.\n\n```\ngoos: darwin\ngoarch: amd64\npkg: github.com/orisano/json_post\nBenchmarkSmall/MarshalE______________-4         \t   10000\t    132701 ns/op\t    3253 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeDefaultBuffer___-4         \t   10000\t    129992 ns/op\t    3232 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeDefaultBufferE__-4         \t   10000\t    125287 ns/op\t    3231 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeNewBuffer_______-4         \t   10000\t    122913 ns/op\t    3231 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeNewBufferE______-4         \t   10000\t    127185 ns/op\t    3231 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeNewNilBuffer____-4         \t   10000\t    121043 ns/op\t    3231 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeNewNilBufferE___-4         \t   10000\t    128071 ns/op\t    3232 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeReservedBuffer__-4         \t   10000\t    136702 ns/op\t    4143 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeReservedBufferE_-4         \t   10000\t    136559 ns/op\t    4143 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeCheatBuffer_____-4         \t   10000\t    142124 ns/op\t    3247 B/op\t      56 allocs/op\nBenchmarkSmall/EncodeCheatBufferE____-4         \t   10000\t    133541 ns/op\t    3248 B/op\t      56 allocs/op\nBenchmarkSmall/EncodePipe____________-4         \t   10000\t    179280 ns/op\t   36220 B/op\t      63 allocs/op\nBenchmarkSmall/EncodePipeE___________-4         \t   10000\t    148650 ns/op\t   36219 B/op\t      63 allocs/op\nBenchmarkSmall/EncodeBufferPool______-4         \t   10000\t    122229 ns/op\t    3071 B/op\t      54 allocs/op\nBenchmarkSmall/EncodeBufferPoolE_____-4         \t   10000\t    122518 ns/op\t    3071 B/op\t      54 allocs/op\nBenchmarkSmall/EncodeBPipe___________-4         \t   10000\t    143932 ns/op\t   44571 B/op\t      67 allocs/op\nBenchmarkSmall/SharedBufferEncode____-4         \t   10000\t    131563 ns/op\t   35493 B/op\t      53 allocs/op\nBenchmarkSmall/FastMarshal___________-4         \t   10000\t    123931 ns/op\t    3528 B/op\t      58 allocs/op\nBenchmarkMiddle/MarshalE_____________-4         \t    5000\t    232813 ns/op\t   35786 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeDefaultBuffer__-4         \t    5000\t    240336 ns/op\t   35777 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeDefaultBufferE_-4         \t    5000\t    238095 ns/op\t   35771 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeNewBuffer______-4         \t    5000\t    231755 ns/op\t   35771 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeNewBufferE_____-4         \t    5000\t    226533 ns/op\t   35771 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeNewNilBuffer___-4         \t    5000\t    241330 ns/op\t   35770 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeNewNilBufferE__-4         \t    5000\t    237522 ns/op\t   35770 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeReservedBuffer_-4         \t    5000\t    232825 ns/op\t   60547 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeReservedBufferE-4         \t   10000\t    245071 ns/op\t   60530 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeCheatBuffer____-4         \t    5000\t    232470 ns/op\t   35802 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodeCheatBufferE___-4         \t    5000\t    229806 ns/op\t   35803 B/op\t      51 allocs/op\nBenchmarkMiddle/EncodePipe___________-4         \t    5000\t    262919 ns/op\t   36071 B/op\t      57 allocs/op\nBenchmarkMiddle/EncodePipeE__________-4         \t    5000\t    267350 ns/op\t   36065 B/op\t      57 allocs/op\nBenchmarkMiddle/EncodeBufferPool_____-4         \t   10000\t    223286 ns/op\t    2805 B/op\t      49 allocs/op\nBenchmarkMiddle/EncodeBufferPoolE____-4         \t    5000\t    223139 ns/op\t    2824 B/op\t      49 allocs/op\nBenchmarkMiddle/EncodeBPipe__________-4         \t    5000\t    285824 ns/op\t   44460 B/op\t      61 allocs/op\nBenchmarkMiddle/SharedBufferEncode___-4         \t    5000\t    242880 ns/op\t   35363 B/op\t      47 allocs/op\nBenchmarkMiddle/FastMarshal__________-4         \t    5000\t    305470 ns/op\t  189443 B/op\t      69 allocs/op\nBenchmarkLarge/MarshalE______________-4         \t      30\t  42960238 ns/op\t53506129 B/op\t      92 allocs/op\nBenchmarkLarge/EncodeDefaultBuffer___-4         \t      30\t  45497595 ns/op\t48261589 B/op\t      90 allocs/op\nBenchmarkLarge/EncodeDefaultBufferE__-4         \t      30\t  47037591 ns/op\t51408238 B/op\t      91 allocs/op\nBenchmarkLarge/EncodeNewBuffer_______-4         \t      30\t  58784422 ns/op\t51408356 B/op\t      91 allocs/op\nBenchmarkLarge/EncodeNewBufferE______-4         \t      20\t  54064577 ns/op\t53506226 B/op\t      93 allocs/op\nBenchmarkLarge/EncodeNewNilBuffer____-4         \t      30\t  50964893 ns/op\t51408273 B/op\t      91 allocs/op\nBenchmarkLarge/EncodeNewNilBufferE___-4         \t      30\t  50164134 ns/op\t49310568 B/op\t      91 allocs/op\nBenchmarkLarge/EncodeReservedBuffer__-4         \t      30\t  50053409 ns/op\t66081374 B/op\t      92 allocs/op\nBenchmarkLarge/EncodeReservedBufferE_-4         \t      30\t  45217957 ns/op\t71325837 B/op\t      93 allocs/op\nBenchmarkLarge/EncodeCheatBuffer_____-4         \t      30\t  47436967 ns/op\t57692932 B/op\t      91 allocs/op\nBenchmarkLarge/EncodeCheatBufferE____-4         \t      30\t  47570246 ns/op\t55595292 B/op\t      92 allocs/op\nBenchmarkLarge/EncodePipe____________-4         \t      30\t  41600816 ns/op\t22073331 B/op\t     105 allocs/op\nBenchmarkLarge/EncodePipeE___________-4         \t      30\t  40070407 ns/op\t26268860 B/op\t     105 allocs/op\nBenchmarkLarge/EncodeBufferPool______-4         \t      30\t  40588810 ns/op\t10502117 B/op\t      82 allocs/op\nBenchmarkLarge/EncodeBufferPoolE_____-4         \t      30\t  43285747 ns/op\t11551325 B/op\t      83 allocs/op\nBenchmarkLarge/EncodeBPipe___________-4         \t      30\t  49959702 ns/op\t31520816 B/op\t     105 allocs/op\nBenchmarkLarge/SharedBufferEncode____-4         \t      30\t  40172115 ns/op\t 4241193 B/op\t      86 allocs/op\nBenchmarkLarge/FastMarshal___________-4         \t      10\t 157478017 ns/op\t207868536 B/op\t     134 allocs/op\nBenchmarkSimple/MarshalE_____________-4         \t   10000\t    122242 ns/op\t    2700 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeDefaultBuffer__-4         \t   10000\t    121896 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeDefaultBufferE_-4         \t   10000\t    119651 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeNewBuffer______-4         \t   10000\t    123248 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeNewBufferE_____-4         \t   10000\t    121143 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeNewNilBuffer___-4         \t   10000\t    122921 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeNewNilBufferE__-4         \t   10000\t    122606 ns/op\t    2683 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeReservedBuffer_-4         \t   10000\t    128893 ns/op\t    3612 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeReservedBufferE-4         \t   10000\t    120220 ns/op\t    3612 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeCheatBuffer____-4         \t   10000\t    120302 ns/op\t    2716 B/op\t      44 allocs/op\nBenchmarkSimple/EncodeCheatBufferE___-4         \t   10000\t    130089 ns/op\t    2716 B/op\t      44 allocs/op\nBenchmarkSimple/EncodePipe___________-4         \t   10000\t    137578 ns/op\t   35682 B/op\t      51 allocs/op\nBenchmarkSimple/EncodePipeE__________-4         \t   10000\t    145168 ns/op\t   35681 B/op\t      51 allocs/op\nBenchmarkSimple/EncodeBufferPool_____-4         \t   10000\t    126810 ns/op\t    2539 B/op\t      42 allocs/op\nBenchmarkSimple/EncodeBufferPoolE____-4         \t   10000\t    124524 ns/op\t    2539 B/op\t      42 allocs/op\nBenchmarkSimple/EncodeBPipe__________-4         \t   10000\t    140407 ns/op\t   44032 B/op\t      55 allocs/op\nBenchmarkSimple/SharedBufferEncode___-4         \t   10000\t    133282 ns/op\t   34960 B/op\t      41 allocs/op\nBenchmarkSimple/FastMarshal__________-4         \t   10000\t    127011 ns/op\t    2699 B/op\t      44 allocs/op\nBenchmarkNested/MarshalE_____________-4         \t   10000\t    131572 ns/op\t    3004 B/op\t      47 allocs/op\nBenchmarkNested/EncodeDefaultBuffer__-4         \t   10000\t    133251 ns/op\t    2988 B/op\t      47 allocs/op\nBenchmarkNested/EncodeDefaultBufferE_-4         \t   10000\t    133596 ns/op\t    2988 B/op\t      47 allocs/op\nBenchmarkNested/EncodeNewBuffer______-4         \t   10000\t    129522 ns/op\t    2988 B/op\t      47 allocs/op\nBenchmarkNested/EncodeNewBufferE_____-4         \t   10000\t    131604 ns/op\t    2987 B/op\t      47 allocs/op\nBenchmarkNested/EncodeNewNilBuffer___-4         \t   10000\t    135543 ns/op\t    2988 B/op\t      47 allocs/op\nBenchmarkNested/EncodeNewNilBufferE__-4         \t   10000\t    146598 ns/op\t    2988 B/op\t      47 allocs/op\nBenchmarkNested/EncodeReservedBuffer_-4         \t   10000\t    140895 ns/op\t    3724 B/op\t      47 allocs/op\nBenchmarkNested/EncodeReservedBufferE-4         \t   10000\t    143000 ns/op\t    3724 B/op\t      47 allocs/op\nBenchmarkNested/EncodeCheatBuffer____-4         \t   10000\t    130834 ns/op\t    3852 B/op\t      48 allocs/op\nBenchmarkNested/EncodeCheatBufferE___-4         \t   10000\t    128229 ns/op\t    3851 B/op\t      48 allocs/op\nBenchmarkNested/EncodePipe___________-4         \t   10000\t    133040 ns/op\t   35793 B/op\t      53 allocs/op\nBenchmarkNested/EncodePipeE__________-4         \t   10000\t    145393 ns/op\t   35793 B/op\t      53 allocs/op\nBenchmarkNested/EncodeBufferPool_____-4         \t   10000\t    130878 ns/op\t    2652 B/op\t      45 allocs/op\nBenchmarkNested/EncodeBufferPoolE____-4         \t   10000\t    130850 ns/op\t    2652 B/op\t      45 allocs/op\nBenchmarkNested/EncodeBPipe__________-4         \t   10000\t    149349 ns/op\t   44145 B/op\t      57 allocs/op\nBenchmarkNested/SharedBufferEncode___-4         \t   10000\t    134332 ns/op\t   35072 B/op\t      43 allocs/op\nBenchmarkNested/FastMarshal__________-4         \t   10000\t    129807 ns/op\t    3052 B/op\t      48 allocs/op\n```\n\n## Author\nNao Yonashiro (@orisano)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Fjson_post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forisano%2Fjson_post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forisano%2Fjson_post/lists"}