{"id":19647280,"url":"https://github.com/ibexa/gpc-2024-project-profiling-exercises","last_synced_at":"2025-08-01T13:13:20.121Z","repository":{"id":219247115,"uuid":"745475730","full_name":"ibexa/gpc-2024-project-profiling-exercises","owner":"ibexa","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T12:08:24.000Z","size":9428,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-02-27T00:21:21.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibexa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-bul","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":"2024-01-19T12:18:34.000Z","updated_at":"2025-01-22T12:08:29.000Z","dependencies_parsed_at":"2024-07-21T06:43:45.439Z","dependency_job_id":null,"html_url":"https://github.com/ibexa/gpc-2024-project-profiling-exercises","commit_stats":null,"previous_names":["ibexa/gpc-2024-project-profiling-exercises"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ibexa/gpc-2024-project-profiling-exercises","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fgpc-2024-project-profiling-exercises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fgpc-2024-project-profiling-exercises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fgpc-2024-project-profiling-exercises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fgpc-2024-project-profiling-exercises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibexa","download_url":"https://codeload.github.com/ibexa/gpc-2024-project-profiling-exercises/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fgpc-2024-project-profiling-exercises/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229885,"owners_count":24217017,"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-08-01T02:00:08.611Z","response_time":67,"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":"2024-11-11T14:43:14.183Z","updated_at":"2025-08-01T13:13:20.093Z","avatar_url":"https://github.com/ibexa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project aims to provide you with a sandbox for exercising your profiling skills in Ibexa DXP-based projects.\nThere are multiple performance issues with the project's code - use your profiling skills to find them all (and then: fix them ;) )\nContributors: Mateusz Bieniek and Marek Nocoń\n\nFeel free to drop us a message with feedback: mateusz.bieniek@ibexa.co and marek.nocon@ibexa.co\n\n## Requirements\n- Standard Ibexa DXP v4.5 requirements: https://doc.ibexa.co/en/4.5/getting_started/requirements/\n- PHP v8.1+, MariaDB or MySQL\n- Valid Ibexa DXP Enterprise license\n\n## Installation\n1. Clone the repository\n2. Create a database and restore the database dump from `doc/sql/igpc_profiling.sql` with base data like directories, roles, etc\n3. Set up `.env.local` with DB connection details\n4. `composer install`\n5. `composer run post-install-cmd\n6. Generate poster users with: `php bin/console app:generate-posters 100`\n7. Generate categories with: `php bin/console app:generate-categories 10`\n8. Generate posts with: `php bin/console app:generate-posts 200`\n9. `php -S 127.0.0.1:8000 -t public`\n10. Enjoy!\n\n## Testing\n\n### Blackfire tests\n\nThe tests are located in the `.blackfire.yaml` file.\n\n### Blackfire scenarios\n\nThe scenarios are located in `./tests/performance/` directory and are loaded from the `.blackfire.yaml` file.\n\n### Running the tests:\n\n```sh\ndocker run --rm -it \n    -e BLACKFIRE_CLIENT_ID=\"X\" \\\n    -e BLACKFIRE_CLIENT_TOKEN=\"Y\" \\\n    -v \"`pwd`:/app\" -v \"`pwd`/var/log:/tmp/blackfire-player-trace\" \\\n    blackfire/player run .blackfire.yaml -vv --endpoint=https://example.com --tracer -vv \\\n    --blackfire-env=Z\n```\n\n## COPYRIGHT\nCopyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fgpc-2024-project-profiling-exercises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibexa%2Fgpc-2024-project-profiling-exercises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fgpc-2024-project-profiling-exercises/lists"}