Skip to content

Rebase speed.python.org on top of master#33

Merged
ambv merged 210 commits intopython:speed.python.orgfrom
diegorusso:speed.python.org_rebased_on_master
Jan 16, 2024
Merged

Rebase speed.python.org on top of master#33
ambv merged 210 commits intopython:speed.python.orgfrom
diegorusso:speed.python.org_rebased_on_master

Conversation

@diegorusso
Copy link

@diegorusso diegorusso commented Jan 15, 2024

speed.python.org has diverged from the master branch. With this PR we rebase speed.python.org on top of master

Commit related to #29

octmoraru and others added 30 commits November 25, 2016 14:43
…t repos

For Mercurial, do not save the 'tip' tag.
Get the list of all (i.e. lightweight, annotated) tags and search for the given
commit id. If found, add it to the dictionary returned by 'getlogs'.
Instead of hard-coding the links to the 'Home' page and to the 'About' page,
use template markers.  This allows the hyperlinks to work even if the Codespeed
site does not reside at the web server root.
Use template markers for 'Home' and 'About' links
This adds a service for generating chart images based on the latest
benchmark results using the matplotlib module.
The URL for this service is /sample_project/makeimage/.
The image can be directly embedded in any HTML document using
<img src="host_name/sample_project/makeimage/?...> or simply accessed
using the same URL.

The mandatory GET params are:
env -	the environment's name
proj -	the project's name
branch -the branch's name
exe -	the executable's name
ben -	the benchmark's name
The following params are optional:
revs -	positive integer, number of results the image will display.
	revs=10 is the implicit value representing that the latest 10
	results will be displayed on the chart
relative - if '1' or 'yes', instead of displaying absolute values,
	the first value from the series is used as a baseline and
	the chart will display percentual increments from that baseline
base_commit - specifies a commit name to be used as a baseline instead
	of the first value of the series
base_env - the environment's name to be used for the base_commit instead
	of env
base_proj - the project's name to be used for the base_commit instead
	of proj
base_exe - the executable's name to be use for the base_commit instead of
	exe
get_benchmark_results now relies on calling function to catch any
ObjectNotFound exception.
Added more validation for width and height keys in
validate_results_request.
Fixed a small code issue in validate_results_request.
Adding b'' literals for py3 compat. Handling git tag error
- Also changed background to a blue that matches the shadow color in the
  timeline image and changed text color to white so it contrasts better.
Removed dangling reference to vgradient.png
zware and others added 28 commits January 10, 2024 13:41
Also updates .gitignore
Most of this is stolen directly from the existing speed.python.org page.
Benchmarks are now at github.com/python/performance, not hg.python.org/benchmarks
- Made all remaining links https:// except for jessenoller.com, which doesn't have a valid certificate
- The jessenoller.com post has been moved to a slightly different URL, updated link
- wiki.github.com isn't even a valid host; fixed wiki link
Probably better served to either remove it entirely or steal its content
at this point, but this is quicker and easier.
@ambv ambv merged commit 7a781df into python:speed.python.org Jan 16, 2024
@diegorusso diegorusso deleted the speed.python.org_rebased_on_master branch January 16, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.