11/9/2021
•1 minute readIt is common practice for CI's to simply state the amount of vCPUs at the user's disposal. We do the same and find it generally to be a good abstraction. Cross-service comparison gets easier and the users don't need to dabble with the details. As this post is meant to explore the hardware of GitHub Actions, we decided to dabble with the details. To do this we ran lscpu 50 times on the GitHub Actions hardware (source):
yml1name: Display information about GitHub Actions CPU architecture2on: push3jobs:4build:5strategy:6matrix:7runs-on: [ubuntu-latest]8name: [1...50]9name: Display lscpu - ${{matrix.name}}10runs-on: ${{matrix.runs-on}}11steps:12- name: Run lscpu13run: lscpu
After running the above workflow and cross-pollinating it with cpubenchmark data, we got the following results: Looking at the GitHub hardware table we can extract a few things:
© 2024 BuildJet, Inc. - All rights reserved.
BuildJet has no affiliation with GitHub, Inc. or any of its parent or subsidiary companies and/or affiliates.