{"id":19504098,"url":"https://github.com/ayoubcoding21/electrobench","last_synced_at":"2026-02-27T22:37:54.862Z","repository":{"id":280142265,"uuid":"791907698","full_name":"AyoubCoding21/ElectroBench","owner":"AyoubCoding21","description":"A OpenGL 2.1/3.0 benchmark designed specifically to benchmark old and new PCs.","archived":false,"fork":false,"pushed_at":"2025-05-05T15:11:30.000Z","size":22286,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T16:29:24.933Z","etag":null,"topics":["benchmark","benchmarks","c","conan-packages","cpp","freeglut-library","glmark2","glsl","glsl-shader","glsl-shaders","make","makefile","multitexture","opengl","opengl2","opengl21","sdl","sdl2"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AyoubCoding21.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":"2024-04-25T15:49:07.000Z","updated_at":"2025-05-05T15:11:34.000Z","dependencies_parsed_at":"2025-03-01T14:51:19.174Z","dependency_job_id":"c19d2e4b-d9e2-4559-bc21-8a4df4f59644","html_url":"https://github.com/AyoubCoding21/ElectroBench","commit_stats":null,"previous_names":["ayoubcoding21/electrobench"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AyoubCoding21/ElectroBench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AyoubCoding21%2FElectroBench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AyoubCoding21%2FElectroBench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AyoubCoding21%2FElectroBench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AyoubCoding21%2FElectroBench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AyoubCoding21","download_url":"https://codeload.github.com/AyoubCoding21/ElectroBench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AyoubCoding21%2FElectroBench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["benchmark","benchmarks","c","conan-packages","cpp","freeglut-library","glmark2","glsl","glsl-shader","glsl-shaders","make","makefile","multitexture","opengl","opengl2","opengl21","sdl","sdl2"],"created_at":"2024-11-10T22:24:21.707Z","updated_at":"2026-02-27T22:37:54.857Z","avatar_url":"https://github.com/AyoubCoding21.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElectroBench\nElectroBench is a 45-second long benchmark specifiacally designed to run on old and modern PCs, don't critise it by it using OpenGL 2.1, and GLSL 1.2, Even office PCs have low scores at it.\nIt uses OpenGL 2.1, and C++, and uses Conan and CMake for compilation. It is designed to be a replacement for glmark (even though it is great and I used it before).\n\n# Effects\n\nIn this benchmark, we are using realistic lighting techniques, thanks to the shaders (with some limitations, of course), then we load 90 UZIs (!!) with 6 textures each onto the screen.\n\nYou can move the camera by long-clicking and moving the mouse.\n\n# How the score is calculated ?\nThe score is calculated using this formula : ```fps*2/(1.01/fps)``` \n\n# How to run ?\n\nMake sure you have `conan 2` installed and then run the following\ncommand on your machine after cloning repo and going into the 0.1 directory:\n\n***Make sure that you have clang installed and that you copy conanprofile's contents into ~/.conan2/profiles/default in order for this to work.***\n\n```sh\nconan install . --output-folder=\"conan/deb\" -sbuild_type=Debug --build=missing -pr conanprofile\nmkdir build \ncmake . -G \"Unix Makefiles\" -DCMAKE_TOOLCHAIN_FILE=conan/deb/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug -B build/\ncd build/\nmake\ncd ..\n./build/ElectroBench\n```\n\n# Contributions\n\nContributions are welcome, just post a PR / issue.\n\n# Donating\n\nSend me in my email or post an issue : ayoubprogramming96@outlook.com\n\n# Special thanks\n\n[Fransisco Ramirez](https://github.com/franramirez688) : for fixing an issue with pulseaudio/14.2 recipe when installing sdl2 in conan2\n\n[Matheus Gomes](https://github.com/matheusgomes28) : for giving me ideas and tips to improve the project, and he was the origin of me using conan for the next ElectroBench versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoubcoding21%2Felectrobench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayoubcoding21%2Felectrobench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoubcoding21%2Felectrobench/lists"}