{"id":19747643,"url":"https://github.com/codingmiao/bolttest","last_synced_at":"2026-06-09T02:32:30.570Z","repository":{"id":45106948,"uuid":"284642636","full_name":"codingmiao/bolttest","owner":"codingmiao","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-19T16:28:14.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T21:09:53.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/codingmiao.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":"2020-08-03T08:15:40.000Z","updated_at":"2020-08-03T08:18:19.000Z","dependencies_parsed_at":"2023-01-19T04:03:19.796Z","dependency_job_id":null,"html_url":"https://github.com/codingmiao/bolttest","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/codingmiao%2Fbolttest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingmiao%2Fbolttest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingmiao%2Fbolttest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingmiao%2Fbolttest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingmiao","download_url":"https://codeload.github.com/codingmiao/bolttest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241078486,"owners_count":19905867,"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-11-12T02:18:25.012Z","updated_at":"2026-06-09T02:32:25.519Z","avatar_url":"https://github.com/codingmiao.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bolt test\na demo for issues: https://github.com/neo4j/neo4j/issues/12551\n\n## 综述 overview \nneo4j的bolt使用json格式进行数据传输，显然json是一种低效的方式，这个demo用json和protobuffer做比较，演示json有多慢\n\nThe BOLT of Neo4j use JSON for data transmission, obviously JSON is an inefficient way, and this demo shows how slow JSON is by comparing it with the ProtoBuffer\n\n## run this demo\n运行src\\main\\java\\com\\bolttest\\server\\StartUpServer.java，将启动一个Neo4j，并注册两个自定义存储过程`test.topo`和`test.topopb`，\n这两个存储过程都是返回100000条测试数据，只是test.topopb用protobuffer套了个壳\n\n随后，运行src\\test\\java\\com\\bolttest\\client下的两个测试类，观察运行耗时，可发现test.topopb快了10倍\n\n\nRun `src\\main\\java\\com\\bolttest\\server\\StartUpServer.java` will launch a Neo4j and register two custom stored procedures' test.topo 'and' test.topopb ',\nBoth of these stored procedures return 100,000 test data, but with a shell called ProtoBuffer for `test.topopb`\n\nThen, run the two test classes under `src\\test\\java\\com\\bolttest\\client`,\nand observe that the run takes time, you can find that 'test.topopb' is 10 times faster\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingmiao%2Fbolttest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingmiao%2Fbolttest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingmiao%2Fbolttest/lists"}