Welcome to the Speed Up the Code Competition! 🚀 You’ve found our most exciting PowerShell challenge yet!
Your mission: Take the slow, messy code provided and make it run as FAST as you can. The 3 fastest optimized solutions win a prize!
Contest Information
- Start: Monday 23/06/2025, at conference kickoff
- End: Thursday 26/06/2024, 14:00 CEST
How to compete:
- Visit our GitHub challenge repo: 👉 https://github.com/BEPUG/Speed-up-the-code)
- Create a new branch.
- Have Github create you a codespace (We provided a lovley Devcontainer file just for it !)
- Optimize, refactor, and tune the provided code—make it finish *as quickly as possible!*
- When you’re ready, email your solution branch/repo URL to Bepug@bepug.be
- Include Your full name - Your phone number (so we can contact you if you can’t attend the prize ceremony, as per GDPR these will be deleted after PSCONF!)
Rules:
- To measure the runtime of the script the script will be ran in a freshly deployed devcontainer with the command Measure-Command . All codes will be tested with the same identical image that is provided in the github repo.
- PowerShell version 7.4.2 will be used
- Time will be round of to a tenth of a millisecond. (ex run time 7,09 Seconds -> rounded off to 7,1 seconds)
- You may:
- Refactor, rewrite, or heavily rework the code
- Use built-in modules, .NET methods, or parallelism.
- Use `Start-Sleep` or artificial delays if you think your to good!
- You may NOT:
- Adjust the field layout or line amount of 50000 Lines
- Use third-party binaries or non-PowerShell means.- Your code must produce all the required business output and reports.
- Top 3 fastest solutions win!
- In the case of a tie, we’ll use `Get-Random` to determine the winner.
Good luck and have fun!
