{"id":16838425,"url":"https://github.com/dandeto/profiling","last_synced_at":"2026-04-12T17:08:00.703Z","repository":{"id":99520212,"uuid":"206205330","full_name":"dandeto/profiling","owner":"dandeto","description":"Testing how fast different languages run selected algorithms based on different platforms","archived":false,"fork":false,"pushed_at":"2019-09-06T06:03:48.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T11:09:55.853Z","etag":null,"topics":["algorithms","batch","c","cpp","javascript","performance-analysis","performance-testing","python","ruby","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/dandeto.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,"publiccode":null,"codemeta":null}},"created_at":"2019-09-04T01:37:41.000Z","updated_at":"2019-09-06T06:09:15.000Z","dependencies_parsed_at":"2023-07-30T16:00:40.191Z","dependency_job_id":null,"html_url":"https://github.com/dandeto/profiling","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/dandeto%2Fprofiling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandeto%2Fprofiling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandeto%2Fprofiling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dandeto%2Fprofiling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dandeto","download_url":"https://codeload.github.com/dandeto/profiling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153308,"owners_count":20406995,"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":["algorithms","batch","c","cpp","javascript","performance-analysis","performance-testing","python","ruby","shell"],"created_at":"2024-10-13T12:23:05.562Z","updated_at":"2026-04-12T17:08:00.656Z","avatar_url":"https://github.com/dandeto.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Performance profiling\n\n#### languages:\n- C\n- C++\n- Python\n- Ruby\n- JavaScript (browser and node.js runtimes)\n\n#### Algorithms\n- Nilakantha method of determining PI to a specified precision\n\n\n#### Running instructions:\n1. Compile C and C++ programs however you want. Sample methods listed below. If you want to profile Python or Ruby, make sure you have them installed.\n2. Open run.bat\n3. Traverse the menus\n\n#### Input file:\nInstead of typing in the same parameters, you can select a file to input the data for you. The contents of the file should be 2 lines:\n```\nprecision\nnumber of iterations\n```\n**EX:**\n```\n12\n10\n```\nYou select the file in the settings menu of `run.bat`\n\n#### Output file:\nEach time you run a program, it will output the results to a `out.part` file. In the settings, you can generate a master `out.txt` file which stitches all the `.part` files together.\nIf you want to test something specific and don't want all your previous trial history included in the master out file, select the *Reset output files* option before testing.\n\n#### Sample compilation:\n- Linux\n  - C:   `gcc nilakantha.c -o nilakantha -lm`\n  - C++: `g++ nilakantha.cpp -o nilakantha`\n\n- Windows\n\t1. Open in Visual Studio or other GUI and compile\n\t2. Open Developer Command Prompt for VS\n\t\t- cd into the correct directory\n\t\t- cl -EHsc nilakantha.c (same with C++)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdandeto%2Fprofiling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdandeto%2Fprofiling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdandeto%2Fprofiling/lists"}