{"id":33003885,"url":"https://github.com/rondnelson99/opcode_count","last_synced_at":"2025-11-18T09:01:39.329Z","repository":{"id":169252006,"uuid":"645168218","full_name":"rondnelson99/opcode_count","owner":"rondnelson99","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-01T01:26:53.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T21:01:36.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/rondnelson99.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-25T04:28:39.000Z","updated_at":"2023-06-01T01:28:14.000Z","dependencies_parsed_at":"2024-01-03T04:02:38.818Z","dependency_job_id":null,"html_url":"https://github.com/rondnelson99/opcode_count","commit_stats":null,"previous_names":["rondnelson99/opcode_count"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rondnelson99/opcode_count","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rondnelson99%2Fopcode_count","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rondnelson99%2Fopcode_count/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rondnelson99%2Fopcode_count/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rondnelson99%2Fopcode_count/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rondnelson99","download_url":"https://codeload.github.com/rondnelson99/opcode_count/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rondnelson99%2Fopcode_count/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285035891,"owners_count":27103933,"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","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-11-13T15:00:34.723Z","updated_at":"2025-11-18T09:01:39.323Z","avatar_url":"https://github.com/rondnelson99.png","language":"Python","readme":"# opcode_count\nUsed to get statistics of which instructions your Game Boy code uses.\nInstructions:\n - In Emulicious, open the Trace Logger from the debugger\n - Set Write Trace Log to File on\n - Uncheck all the boxes at the bottom, but put in `@PC` as the \"Additional Expression\"\n - Profile your game with the Start Tracing and Stop Tracing button\n - Run the script and pass your logged file as an output\n - Profit?\n\nSameple Output:\n```\nLD A,(HL+): 8.33% (217101 occurences)\nLD L,A: 5.23% (136392 occurences)\nRET: 5.11% (133225 occurences)\nCALL a16: 3.27% (85258 occurences)\nJR NZ,r8: 3.18% (83033 occurences)\nADD A,d8: 2.7% (70357 occurences)\nPUSH HL: 2.57% (67099 occurences)\nPOP HL: 2.57% (67098 occurences)\nLD B,A: 2.49% (64833 occurences)\nADC A,D: 2.45% (63877 occurences)\nLD H,A: 2.38% (61994 occurences)\nPOP DE: 2.25% (58743 occurences)\nLD H,(HL): 2.17% (56648 occurences)\nADD A,E: 2.07% (54087 occurences)\nADC A,d8: 2.03% (52821 occurences)\nSUB L: 1.99% (51917 occurences)\nJR r8: 1.97% (51290 occurences)\nPUSH DE: 1.93% (50328 occurences)\nPUSH BC: 1.91% (49864 occurences)\nADD HL,HL: 1.88% (49003 occurences)\nLD B,H: 1.85% (48361 occurences)\nLD C,L: 1.85% (48361 occurences)\nLD C,A: 1.75% (45657 occurences)\nLDH A,(a8): 1.75% (45525 occurences)\nLD (DE),A: 1.7% (44318 occurences)\nSUB C: 1.43% (37232 occurences)\nLD A,(DE): 1.38% (36077 occurences)\nINC DE: 1.36% (35351 occurences)\nLD E,A: 1.26% (32889 occurences)\nLD D,A: 1.26% (32877 occurences)\nAND d8: 1.25% (32471 occurences)\nDEC A: 1.18% (30734 occurences)\nLDH (a8),A: 1.09% (28500 occurences)\nSUB E: 1.01% (26426 occurences)\nLD A,H: 0.97% (25414 occurences)\nLD A,B: 0.96% (25011 occurences)\nLD A,(BC): 0.82% (21393 occurences)\nLD H,d8: 0.76% (19859 occurences)\nDEC DE: 0.76% (19838 occurences)\nAND A: 0.7% (18317 occurences)\nLD (BC),A: 0.68% (17856 occurences)\nJR Z,r8: 0.68% (17808 occurences)\nLD (a16),A: 0.66% (17199 occurences)\nLD A,d8: 0.65% (17056 occurences)\nADD HL,DE: 0.64% (16695 occurences)\nPREFIX CB: 0.63% (16411 occurences)\nLD (HL+),A: 0.61% (15883 occurences)\nLD B,(HL): 0.6% (15581 occurences)\nRRA: 0.59% (15258 occurences)\nRET Z: 0.55% (14225 occurences)\nINC L: 0.54% (13961 occurences)\nLD A,L: 0.5% (13080 occurences)\nLD A,E: 0.49% (12828 occurences)\nRST 20H: 0.46% (12064 occurences)\nLD HL,d16: 0.45% (11679 occurences)\nPOP AF: 0.45% (11605 occurences)\nLD L,d8: 0.44% (11518 occurences)\nPUSH AF: 0.44% (11517 occurences)\nOR L: 0.36% (9504 occurences)\nCP d8: 0.34% (8812 occurences)\nDEC C: 0.32% (8358 occurences)\nLD A,(a16): 0.32% (8227 occurences)\nLD A,C: 0.28% (7420 occurences)\nCP B: 0.27% (7140 occurences)\nLD A,(HL): 0.27% (7095 occurences)\nOR (HL): 0.27% (7063 occurences)\nINC E: 0.24% (6276 occurences)\nSUB B: 0.23% (6035 occurences)\nLD A,(HL-): 0.2% (5298 occurences)\nLD C,d8: 0.19% (5008 occurences)\nLD (HL),A: 0.17% (4498 occurences)\nSUB (HL): 0.17% (4484 occurences)\nINC H: 0.15% (4013 occurences)\nXOR A: 0.14% (3636 occurences)\nJP (HL): 0.13% (3506 occurences)\nJR NC,r8: 0.12% (3114 occurences)\nADD A,A: 0.1% (2732 occurences)\nLD A,D: 0.1% (2637 occurences)\nDEC B: 0.1% (2634 occurences)\nSUB d8: 0.1% (2549 occurences)\nJP a16: 0.1% (2483 occurences)\nADD A,B: 0.09% (2253 occurences)\nLD (HL-),A: 0.08% (2156 occurences)\nADD A,C: 0.08% (2018 occurences)\nRETI: 0.08% (2004 occurences)\nINC HL: 0.07% (1880 occurences)\nLD E,L: 0.07% (1859 occurences)\nLD D,H: 0.07% (1859 occurences)\nLD DE,d16: 0.07% (1803 occurences)\nADD A,(HL): 0.07% (1735 occurences)\nRST 08H: 0.06% (1502 occurences)\nPOP BC: 0.06% (1502 occurences)\nINC C: 0.06% (1455 occurences)\nINC A: 0.04% (1104 occurences)\nOR d8: 0.04% (1064 occurences)\nDEC (HL): 0.04% (1027 occurences)\nJR C,r8: 0.04% (1007 occurences)\nDI: 0.04% (1002 occurences)\nXOR B: 0.04% (1000 occurences)\nCP (HL): 0.04% (1000 occurences)\nHALT: 0.04% (993 occurences)\nADC A,H: 0.03% (900 occurences)\nAND B: 0.03% (876 occurences)\nLD (HL),d8: 0.03% (825 occurences)\nJP Z,a16: 0.03% (741 occurences)\nADD HL,BC: 0.02% (645 occurences)\nLD D,d8: 0.02% (607 occurences)\nCPL: 0.02% (551 occurences)\nLD BC,d16: 0.02% (540 occurences)\nCALL NZ,a16: 0.02% (537 occurences)\nCALL C,a16: 0.02% (524 occurences)\nEI: 0.02% (501 occurences)\nAND (HL): 0.02% (501 occurences)\nJP NZ,a16: 0.02% (501 occurences)\nLD (C),A: 0.02% (476 occurences)\nRET NZ: 0.02% (431 occurences)\nRST 28H: 0.01% (376 occurences)\nADC A,E: 0.01% (376 occurences)\nLD E,C: 0.01% (252 occurences)\nSCF: 0.01% (235 occurences)\nADD A,D: 0.01% (180 occurences)\nLD L,E: 0.01% (153 occurences)\nLD E,d8: 0.01% (144 occurences)\nDEC HL: 0.01% (135 occurences)\nLD B,d8: 0.01% (134 occurences)\nINC (HL): 0.0% (126 occurences)\nSUB H: 0.0% (120 occurences)\nCP L: 0.0% (116 occurences)\nCALL Z,a16: 0.0% (116 occurences)\nLD C,(HL): 0.0% (116 occurences)\nLD H,D: 0.0% (107 occurences)\nAND E: 0.0% (88 occurences)\nOR E: 0.0% (88 occurences)\nOR H: 0.0% (85 occurences)\nADC A,(HL): 0.0% (64 occurences)\nXOR D: 0.0% (63 occurences)\nADD A,H: 0.0% (63 occurences)\nCP C: 0.0% (63 occurences)\nXOR (HL): 0.0% (59 occurences)\nSBC A,C: 0.0% (58 occurences)\nRET C: 0.0% (41 occurences)\nLD (HL),L: 0.0% (38 occurences)\nLD (HL),H: 0.0% (38 occurences)\nXOR d8: 0.0% (36 occurences)\nADD A,L: 0.0% (36 occurences)\nAND C: 0.0% (33 occurences)\nDEC E: 0.0% (27 occurences)\nRLCA: 0.0% (23 occurences)\nSBC A,A: 0.0% (23 occurences)\nCP E: 0.0% (23 occurences)\nOR B: 0.0% (18 occurences)\nLD A,(C): 0.0% (18 occurences)\nLD L,(HL): 0.0% (18 occurences)\nADC A,B: 0.0% (9 occurences)\nCALL NC,a16: 0.0% (9 occurences)\nLD (HL),E: 0.0% (9 occurences)\nXOR H: 0.0% (4 occurences)\nTotal number of lines in the file: 2607424```\n","funding_links":[],"categories":["Software Development"],"sub_categories":["Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frondnelson99%2Fopcode_count","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frondnelson99%2Fopcode_count","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frondnelson99%2Fopcode_count/lists"}