Compare commits

...

2 Commits

Author SHA1 Message Date
ci-bot
74c1738a16 Update matrix-timing-tests timings [skip ci] 2025-05-21 22:26:52 +00:00
79f1d41f36 Fixing auto-checkout issues
Some checks failed
Merge-Checker / build_and_test (pull_request) Failing after 21s
2025-05-21 18:26:25 -04:00
2 changed files with 52 additions and 36 deletions

View File

@@ -50,18 +50,34 @@ jobs:
exit 1
fi
- name: Commit and push timing results
if: github.event.pull_request.head.repo.full_name == github.repository # Only push from same repo
if: github.event.pull_request.head.repo.full_name == github.repository
run: |
git config --global user.name "ci-bot"
git config --global user.email "ci-bot@local"
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
echo "Checking if last commit was a timing update"
LAST_COMMIT_MSG=$(git log -1 --pretty=%B)
if echo "$LAST_COMMIT_MSG" | grep -q "Update matrix-timing-tests timings"; then
echo "Last commit was a timing update, skipping commit."
exit 0
else
echo "Last commit name was: {$LAST_COMMIT_MSG}"
fi
echo "Checking out source branch $BRANCH_NAME"
git stash
git fetch origin "$BRANCH_NAME"
git checkout -B "$BRANCH_NAME" "origin/$BRANCH_NAME"
git stash pop
git add unit-tests/timing-results/matrix-timing-tests.txt
if git diff --quiet --cached; then
echo "No changes to commit"
else
git commit -m "Update matrix-timing-tests timings [skip ci]"
git push origin HEAD:$BRANCH_NAME
fi
git push origin "$BRANCH_NAME"
fi

View File

@@ -1,51 +1,51 @@
Randomness seeded to: 942964370
0.184 s: Addition
0.185 s: Timing Tests
0.189 s: Subtraction
0.189 s: Timing Tests
1.911 s: Multiplication
1.911 s: Timing Tests
0.127 s: Scalar Multiplication
0.127 s: Timing Tests
0.179 s: Element Multiply
Randomness seeded to: 3183250018
0.179 s: Addition
0.179 s: Timing Tests
0.178 s: Element Divide
0.178 s: Timing Tests
0.156 s: Minor Matrix
0.156 s: Timing Tests
0.103 s: Determinant
0.103 s: Timing Tests
0.416 s: Matrix of Minors
0.416 s: Timing Tests
0.109 s: Invert
0.109 s: Timing Tests
0.127 s: Transpose
0.127 s: Timing Tests
0.207 s: Normalize
0.207 s: Timing Tests
0.177 s: Subtraction
0.177 s: Timing Tests
1.931 s: Multiplication
1.931 s: Timing Tests
0.129 s: Scalar Multiplication
0.129 s: Timing Tests
0.175 s: Element Multiply
0.175 s: Timing Tests
0.174 s: Element Divide
0.174 s: Timing Tests
0.155 s: Minor Matrix
0.155 s: Timing Tests
0.104 s: Determinant
0.104 s: Timing Tests
0.465 s: Matrix of Minors
0.465 s: Timing Tests
0.111 s: Invert
0.111 s: Timing Tests
0.128 s: Transpose
0.128 s: Timing Tests
0.203 s: Normalize
0.203 s: Timing Tests
0.006 s: GET ROW
0.007 s: Timing Tests
0.290 s: GET COLUMN
0.290 s: Timing Tests
0.006 s: Timing Tests
0.238 s: GET COLUMN
0.238 s: Timing Tests
===============================================================================
test cases: 1 | 1 passed
assertions: - none -
Command being timed: "build/unit-tests/matrix-timing-tests -d yes"
User time (seconds): 4.17
User time (seconds): 4.16
System time (seconds): 0.00
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.18
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.17
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 3072
Maximum resident set size (kbytes): 3200
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 184
Minor (reclaiming a frame) page faults: 175
Minor (reclaiming a frame) page faults: 172
Voluntary context switches: 1
Involuntary context switches: 130
Involuntary context switches: 84
Swaps: 0
File system inputs: 12
File system outputs: 1