Compare commits
2 Commits
dd066d4c42
...
f20ee0e22a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f20ee0e22a | ||
| ca0978fa43 |
@@ -50,12 +50,30 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Commit and push timing results
|
- 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: |
|
run: |
|
||||||
git config --global user.name "ci-bot"
|
git config --global user.name "ci-bot"
|
||||||
git config --global user.email "ci-bot@local"
|
git config --global user.email "ci-bot@local"
|
||||||
|
|
||||||
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
|
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
|
||||||
|
git stash
|
||||||
|
echo "Checking out source branch $BRANCH_NAME"
|
||||||
|
git fetch origin "$BRANCH_NAME"
|
||||||
|
git checkout "$BRANCH_NAME"
|
||||||
|
git pull
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
git stash pop
|
||||||
|
|
||||||
git add unit-tests/timing-results/matrix-timing-tests.txt
|
git add unit-tests/timing-results/matrix-timing-tests.txt
|
||||||
|
|
||||||
@@ -63,5 +81,5 @@ jobs:
|
|||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
else
|
else
|
||||||
git commit -m "Update matrix-timing-tests timings [skip ci]"
|
git commit -m "Update matrix-timing-tests timings [skip ci]"
|
||||||
git push origin HEAD:$BRANCH_NAME
|
git push origin "$BRANCH_NAME"
|
||||||
fi
|
fi
|
||||||
@@ -1,51 +1,51 @@
|
|||||||
Randomness seeded to: 942964370
|
Randomness seeded to: 1912722430
|
||||||
0.184 s: Addition
|
0.176 s: Addition
|
||||||
0.185 s: Timing Tests
|
0.177 s: Timing Tests
|
||||||
0.189 s: Subtraction
|
0.181 s: Subtraction
|
||||||
0.189 s: Timing Tests
|
0.181 s: Timing Tests
|
||||||
1.911 s: Multiplication
|
1.936 s: Multiplication
|
||||||
1.911 s: Timing Tests
|
1.936 s: Timing Tests
|
||||||
0.127 s: Scalar Multiplication
|
0.123 s: Scalar Multiplication
|
||||||
0.127 s: Timing Tests
|
0.123 s: Timing Tests
|
||||||
0.179 s: Element Multiply
|
0.181 s: Element Multiply
|
||||||
0.179 s: Timing Tests
|
0.181 s: Timing Tests
|
||||||
0.178 s: Element Divide
|
0.177 s: Element Divide
|
||||||
0.178 s: Timing Tests
|
0.177 s: Timing Tests
|
||||||
0.156 s: Minor Matrix
|
0.155 s: Minor Matrix
|
||||||
0.156 s: Timing Tests
|
0.155 s: Timing Tests
|
||||||
0.103 s: Determinant
|
0.103 s: Determinant
|
||||||
0.103 s: Timing Tests
|
0.103 s: Timing Tests
|
||||||
0.416 s: Matrix of Minors
|
0.422 s: Matrix of Minors
|
||||||
0.416 s: Timing Tests
|
0.422 s: Timing Tests
|
||||||
0.109 s: Invert
|
0.112 s: Invert
|
||||||
0.109 s: Timing Tests
|
0.112 s: Timing Tests
|
||||||
0.127 s: Transpose
|
0.124 s: Transpose
|
||||||
0.127 s: Timing Tests
|
0.124 s: Timing Tests
|
||||||
0.207 s: Normalize
|
0.193 s: Normalize
|
||||||
0.207 s: Timing Tests
|
0.193 s: Timing Tests
|
||||||
0.006 s: GET ROW
|
0.006 s: GET ROW
|
||||||
0.007 s: Timing Tests
|
0.006 s: Timing Tests
|
||||||
0.290 s: GET COLUMN
|
0.237 s: GET COLUMN
|
||||||
0.290 s: Timing Tests
|
0.237 s: Timing Tests
|
||||||
===============================================================================
|
===============================================================================
|
||||||
test cases: 1 | 1 passed
|
test cases: 1 | 1 passed
|
||||||
assertions: - none -
|
assertions: - none -
|
||||||
|
|
||||||
Command being timed: "build/unit-tests/matrix-timing-tests -d yes"
|
Command being timed: "build/unit-tests/matrix-timing-tests -d yes"
|
||||||
User time (seconds): 4.17
|
User time (seconds): 4.12
|
||||||
System time (seconds): 0.00
|
System time (seconds): 0.00
|
||||||
Percent of CPU this job got: 99%
|
Percent of CPU this job got: 100%
|
||||||
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.12
|
||||||
Average shared text size (kbytes): 0
|
Average shared text size (kbytes): 0
|
||||||
Average unshared data size (kbytes): 0
|
Average unshared data size (kbytes): 0
|
||||||
Average stack size (kbytes): 0
|
Average stack size (kbytes): 0
|
||||||
Average total 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
|
Average resident set size (kbytes): 0
|
||||||
Major (requiring I/O) page faults: 184
|
Major (requiring I/O) page faults: 184
|
||||||
Minor (reclaiming a frame) page faults: 175
|
Minor (reclaiming a frame) page faults: 169
|
||||||
Voluntary context switches: 1
|
Voluntary context switches: 1
|
||||||
Involuntary context switches: 130
|
Involuntary context switches: 36
|
||||||
Swaps: 0
|
Swaps: 0
|
||||||
File system inputs: 12
|
File system inputs: 12
|
||||||
File system outputs: 1
|
File system outputs: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user