{"id":25204918,"url":"https://github.com/jamesnulliu/mysort","last_synced_at":"2025-07-20T15:03:38.160Z","repository":{"id":174366558,"uuid":"652134831","full_name":"jamesnulliu/MySort","owner":"jamesnulliu","description":"Inplementation of some basic sort algorithms and some simple tests.","archived":false,"fork":false,"pushed_at":"2024-09-14T03:16:56.000Z","size":1327,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-19T08:05:00.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesnulliu.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,"zenodo":null}},"created_at":"2023-06-11T07:43:44.000Z","updated_at":"2024-09-14T03:17:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"25aa920b-44f2-45fa-8a01-491c74bd29bf","html_url":"https://github.com/jamesnulliu/MySort","commit_stats":null,"previous_names":["jamesnulliu/mysort"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesnulliu/MySort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnulliu%2FMySort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnulliu%2FMySort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnulliu%2FMySort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnulliu%2FMySort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesnulliu","download_url":"https://codeload.github.com/jamesnulliu/MySort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesnulliu%2FMySort/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266143941,"owners_count":23883069,"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":"2025-02-10T09:18:10.688Z","updated_at":"2025-07-20T15:03:38.144Z","avatar_url":"https://github.com/jamesnulliu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003e MySort - Benchmark Sorting Algorithms \u003c/h1\u003e\n  \n  ![Static Badge](https://img.shields.io/badge/C%2B%2B-23-blue?style=plastic) ![Static Badge](https://img.shields.io/badge/gcc-13-blue?style=plastic) ![Static Badge](https://img.shields.io/badge/msvc-19-blue?style=plastic) ![Static Badge](https://img.shields.io/badge/clang-18-blue?style=plastic) ![Static Badge](https://img.shields.io/badge/cmake-navy?style=plastic\u0026link=https%3A%2F%2Fgithub.com%2Fjamesnulliu%2FPrettyLazy0%2Fblob%2Fmain%2FLICENSE) ![Static Badge](https://img.shields.io/badge/ninja-navy?style=plastic\u0026link=https%3A%2F%2Fgithub.com%2Fjamesnulliu%2FPrettyLazy0%2Fblob%2Fmain%2FLICENSE) [![license - Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-darkgreen?style=plastic)](https://github.com/jamesnulliu/PrettyLazy0/blob/main/LICENSE)\n\n  \u003cimg src=\"docs\\imgs\\output_example.png\"\u003e\u003c/img\u003e\n\n\u003c/div\u003e\n\n\n## 1. Features\n\n### 1.1. A Collection of Sorting Algorithms\n\nWe provide a collection of sorting algorithms, including:\n\n- std::sort\n- std::stable_sort\n- Bubble Sort (with different optimizations)\n- Insertion Sort\n- Selection Sort\n- Heap Sort\n- Merge Sort\n- Quick Sort (Hoare / Lomuto) (with different optimizations)\n- PDQ Sort\n\n### 1.2. A Benchmark Framework\n\nWe provide a benchmark framework to test the performance of the sorting algorithms. The testing framework is consists of different test patterns, which can be easily customized by users.\n\nThe framework can visualize the distribution of the test data, and compare the performance of different sorting algorithms. It is easy to extend any part of the framework by specializing the template classes.\n\n\n### 1.3. Multi-Platform Support\n\nWe provide a cross-platform build system with CMake and Ninja. The project can be easily built on both UNIX-based systems and Windows, with the scripts provided in the repository.\n\n## 2. Environment Setup\n\nPlease check [Env Setup Guide for Linux](./docs/Env_Setup_Guide_for_Linux.md) or [Env Setup Guide for Windows](./docs/Env_Setup_Guide_for_Windows.md) for more a detailed guide.\n\n## 3. Quick Start\n### 3.1. Build the Required Libs\n\nRun following command to build the required libs:\n\n#### UNIX-based Systems:\n```bash\nbash scripts/build-libs.sh\n```\n#### Windows:\n\u003e Note that initializing git submodules may failed on windows.  \n\u003e If you encounter any error, please use `git bash` instead.\n```powershell\n.\\scripts\\build-libs.ps1\n```\n\nThe generated libs should be in `./libs` directory.\n\n### 3.2. Build MySort\n\nRun following command to build MySort:\n\n#### On UNIX-based Systems:\n\n```bash\nbash scripts/build.sh\n```\n\n#### On Windows:\n\n```powershell\n.\\scripts\\build.ps1\n```\n\nYou will find a binary file in `./bin` directory.\n\n### 3.3. Testing\n\nExecute the binary file and the results will be printed on the screen.\n\n\n## 4. Extend the Benchmark Framework\n\nTo do...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesnulliu%2Fmysort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesnulliu%2Fmysort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesnulliu%2Fmysort/lists"}