Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Poulpe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
octobus
Poulpe
Commits
163aba8e
Commit
163aba8e
authored
2 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
run-util: record the timestamp when the run begin
This will, hopefully, help us to understand some patterns.
parent
dc39d736
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/run-util
+3
-0
3 additions, 0 deletions
bin/run-util
tests/test-simple-run.t
+2
-0
2 additions, 0 deletions
tests/test-simple-run.t
with
5 additions
and
0 deletions
bin/run-util
+
3
−
0
View file @
163aba8e
...
...
@@ -7,6 +7,7 @@
import
subprocess
import
sys
import
tempfile
import
time
poulpe_root
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
sys
.
argv
[
0
]))
sys
.
path
.
insert
(
0
,
os
.
path
.
join
(
poulpe_root
,
'
python-libs
'
))
...
...
@@ -72,6 +73,8 @@
result_data
[
'
benchmark
'
]
=
{}
result_data
[
'
benchmark
'
][
'
name
'
]
=
benchmark_data
[
'
meta
'
][
'
name
'
]
result_data
[
'
run
'
]
=
{}
result_data
[
'
run
'
][
"
timestamp
"
]
=
time
.
time
()
# building the benchmark scenarion, that will likely changes often and quickly
cmd
=
SimpleCommand
(
benchmark_data
)
...
...
This diff is collapsed.
Click to expand it.
tests/test-simple-run.t
+
2
−
0
View file @
163aba8e
...
...
@@ -111,6 +111,8 @@
median
=
*
(
glob
)
min
=
*
(
glob
)
standard
-
deviation
=
*
(
glob
)
run:
timestamp
=
*
(
glob
)
Quick
comparision
of
values
---------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment