Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/llvm/llvm-lnt


https://github.com/llvm/llvm-lnt

[LNT] more pep8 code style fixes

PEP8 code style issues found by pycodestyle, ignoring "line to long:" errors.

Patch by Danila M...

5155baf5bff6f77226101d40f9f39bad7f159cd2 authored over 6 years ago by Kristof Beyls <[email protected]>
tests/test_suite: Perform rsync step in the new remote running mode

See also: https://reviews.llvm.org/D51080

llvm-svn: 341258

b7c6580a5a4bd67d4eb40e25f5178f7a4e8646f7 authored over 6 years ago by Matthias Braun <[email protected]>
[LNT] In command-line tool allow to use relative path for test suite location.

When test command `test-suite` is executed, it runs inside the sandbox and uses
test suite path ...

6f4fcc4a6b3557bcee6f75cc57e17f0f0b62ee87 authored over 6 years ago by Volodymyr Sapsai <[email protected]>
[LNT] In command-line tool expand tilde when resolving commands.

The use case it addresses is being able to provide extra tools like

--use-lit=~/llvm/build/...

1b53dfca8b417df2391f801b75db40d4544c04f4 authored over 6 years ago by Volodymyr Sapsai <[email protected]>
Add ability to track linker memory usage

This just adds a link_mem_bytes field to the name mappings, and tacks on the
"-link" suffix in t...

7248a1afe1e80f8913ecfbad5306c5af65f46e95 authored over 6 years ago by Jessica Paquette <[email protected]>
Fix a link to Bugzilla in documentation.

llvm-svn: 339956

05b60d3e29d1e8d6c54bbe3e0d66431aea3d1258 authored over 6 years ago by Volodymyr Sapsai <[email protected]>
Add mem_bytes to test_suite.py

Since this is already in the nts schema, and it's worth being able to track,
we should have the ...

4c68cb30740f2f03a0430b8bc4e0b1422846dc62 authored over 6 years ago by Jessica Paquette <[email protected]>
[cPerf] Decide whether to discard functions before disassembling them

Currently we disassemble functions at the same time as we collect the events
that happen in them...

6dae79889049daa73afb2033a800bc652fe5bd1d authored over 6 years ago by John Brawn <[email protected]>
replace fragile version check with a better fragile version check

At least on Apple platforms it is not always the case that you
can compile this return 0 app wit...

e489be0a7cc067b68f1f3e0e69e2ce4da2367a15 authored over 6 years ago by Chris Matthews <[email protected]>
Fix error in run_info

The builtin assembler as never accepeted -v. If we find that, lets
just mention we are using the...

1760fcd2504472dfde92f24fa5889508d336b5bf authored over 6 years ago by Chris Matthews <[email protected]>
Sort machines in machines view.

Differential Revision: https://reviews.llvm.org/D48003

llvm-svn: 334482

ab075b96de9fd636e8198b60af6bae742c8996c5 authored over 6 years ago by Martin Liska <[email protected]>
Docs for graph_for_sample

It is useful when using the API endpoints.

llvm-svn: 334050

497ca55650534f3c6040c6752a0b8b44de55011f authored over 6 years ago by Chris Matthews <[email protected]>
Fix use of field index in daily report

Links to graph plots in the daily report make use of the field index but
haven't been updated to...

b2e9270afa2a04b3112961ac1f83a0874d148057 authored over 6 years ago by John Brawn <[email protected]>
Sort machines in Compare to by names.

Differential Revision: https://reviews.llvm.org/D47186

llvm-svn: 333260

d0626e60e3f6930ac361574f7809f5278ef93240 authored over 6 years ago by Martin Liska <[email protected]>
API: add Tests resource.

Differential Revision: https://reviews.llvm.org/D47185

llvm-svn: 333259

5454b2256305986a50e49292c69c32480c100423 authored over 6 years ago by Martin Liska <[email protected]>
lnt profile upgrade command for large Spec2017 perf.data aborts.

This patch addresses issue with *stack smashing* while processing large
perf.data files (>350 MB...

946522d2e89ed823c06178094a5cf868a4525b76 authored over 6 years ago by Kristof Beyls <[email protected]>
API: add Fields resource.

Differential Revision: https://reviews.llvm.org/D44007

llvm-svn: 332954

a98b1ab51f1addef3b2fb33280197a2df734476f authored over 6 years ago by Martin Liska <[email protected]>
Fix some typos/dead/unreachable code.

Patch by Danila Malyutin

Differential Revision: https://reviews.llvm.org/D45000

llvm-svn: 332333

97512a4af089de87550ca12d212a39cb7df3d107 authored over 6 years ago by Kristof Beyls <[email protected]>
Make new Run template in Compare To in v4_run.html view.

Differential Revision: https://reviews.llvm.org/D44011

llvm-svn: 332218

a815ceab54a13c454d1c556f6d1d21778e7dd0f1 authored over 6 years ago by Martin Liska <[email protected]>
Make Run-Over-Run and Run-Over-Baseline changes an accordion.

Differential Revision: https://reviews.llvm.org/D44013

llvm-svn: 332217

628e4b4ab5acffdb5a0f6868851be930e6d58694 authored over 6 years ago by Martin Liska <[email protected]>
Justin says this version of requests is too old

llvm-svn: 332032

73532a710e9c11ca9bd81982eb6519de7b81d12d authored over 6 years ago by Chris Matthews <[email protected]>
Make content of send emails to be in utf-8.

Differential Revision: https://reviews.llvm.org/D46186

llvm-svn: 331968

9cd6c6712173d9a104647636505b4edfe099236b authored over 6 years ago by Martin Liska <[email protected]>
Add support for logarithmic scale.

Differential Revision: https://reviews.llvm.org/D44010

llvm-svn: 331967

0199b5b403481a6f66cea9dfab3604401ceeaae4 authored over 6 years ago by Martin Liska <[email protected]>
Use the internal shtest runner and make lit a formal dependency

The internal shtest runner is able to print command output etc, so it is
much better for debuggi...

225abe92069301c6d955281c4172475ff42dba66 authored over 6 years ago by Chris Matthews <[email protected]>
Rename because this is really a shell test

Change this to a shtest, since it is.

llvm-svn: 331288

8cee173c846fc6b41d6e8ca85ec6be6e481fcd0b authored over 6 years ago by Chris Matthews <[email protected]>
Update test_all for changes in lit module layout.

- This fixes `python setup.py test` to work with modern lit. It doesn't appear
that anyone a...

8d453e84260535281ff12748345fac0694b0d4c7 authored over 6 years ago by Chris Matthews <[email protected]>
Display order url via proper template method in v4_machine.html.

Differential Revision: https://reviews.llvm.org/D44006.

llvm-svn: 331031

75e1ac45cb0e605ef5236d47b60679d262a3e71d authored over 6 years ago by Martin Liska <[email protected]>
Split newlines in all params/fields for Machine and Run in run view.

Differential Revision: https://reviews.llvm.org/D44681

llvm-svn: 331030

f4fe2b85d1099c44a4d8ee967320e878c5ed8bcb authored over 6 years ago by Martin Liska <[email protected]>
Remove hard dependency on six version

Flask needs six, but the version probably does not matter, and we have
some other scripts which ...

4381dfafbfdde5126097eac36d6fbb0a91d3ad29 authored over 6 years ago by Chris Matthews <[email protected]>
Move requests to requirements.client.txt

The requests package is used by the `lnt admin` tool which feels more
like a client even though ...

3f3884973334a1dd47398e1a3ec60dc4acf0b9e5 authored over 6 years ago by Matthias Braun <[email protected]>
Try to import parse_requirements from pip._internal.req too.

Pip's internal modules have been moved to pip._internal in
95bcf8c5f6394298035a7332c441868f3b016...

51f01ebd7d655dc0a329a373a35449633998fe4b authored almost 7 years ago by Florian Hahn <[email protected]>
This patch is response to issue with LNT WebUI "Error accessing URL

/db_default/v4/nts/profile/ajax/getFunctions; NOT FOUND". This issue
appears in certain circumsta...

2bbd05556d4c3b5014d43026b28f82819f5b390a authored almost 7 years ago by Leandro Nunes <[email protected]>
Always display Profile button when having a profile.

Differential Revision: https://reviews.llvm.org/D44144

llvm-svn: 327114

3dc5bfcd74d677bdbcb7b905a267c8e221941aab authored almost 7 years ago by Martin Liska <[email protected]>
When comparing to a different machine, plot both graphs.

Differential Revision: https://reviews.llvm.org/D44008

llvm-svn: 327113

9524e5ea26c9b9782ee68eadcec93c7f62e8f71e authored almost 7 years ago by Martin Liska <[email protected]>
Document how to import Performance profiles in JSON format.

Differential Revision: https://reviews.llvm.org/D44005

llvm-svn: 327112

b6d6cc3e4a9f7bebc6dd34cac57e6e72d0c2464b authored almost 7 years ago by Martin Liska <[email protected]>
Render https producers as HTML hyperlinks too.

Reviewers: kristof.beyls, cmatthews

Reviewed By: cmatthews

Subscribers: llvm-commits

Differen...

db9dd65e656ce8700e7409015da2d7e7b1ff87f3 authored almost 7 years ago by Florian Hahn <[email protected]>
More specific exception

llvm-svn: 325079

1c572f91630727fa7c1e849ed791a07bcf934d34 authored almost 7 years ago by Chris Matthews <[email protected]>
Some cleanups of unused

llvm-svn: 325078

5669f6609b4b5c548ba666570b0563cd858a93c8 authored almost 7 years ago by Chris Matthews <[email protected]>
Missing session again

llvm-svn: 325077

a841688618a14425a15af0023d735ee585ab590c authored almost 7 years ago by Chris Matthews <[email protected]>
Rework of x-axis labels in graph page

Support floats again, as well as types with "-"s.

llvm-svn: 325076

0b2b96b5d536f9f10f1847f4aaa485127ef41d91 authored almost 7 years ago by Chris Matthews <[email protected]>
Use cache for sample sorting as well

llvm-svn: 325075

23e70ed8ce2a67bfbac63fbab8fd00aecb53e89d authored almost 7 years ago by Chris Matthews <[email protected]>
List compare is faster than list to tuple then compare

Even though tuple compare IS really fast.

llvm-svn: 325074

4ae2d9a805685197d91bbcf1a9423283acf9c8f7 authored almost 7 years ago by Chris Matthews <[email protected]>
Convert revision is faster than convert field, use it

And even enable the cache. In my benchmarks sorting orders is actually
the biggest bottleneck i...

8b4c6bb0aa72519d5d3f67a140371c48cd19e4a6 authored almost 7 years ago by Chris Matthews <[email protected]>
Add an optional cache to convert revision

llvm-svn: 325072

9a9212140881a114f2e3abe0f64c5f2bd8883b6b authored almost 7 years ago by Chris Matthews <[email protected]>
Don't import packages in the request handlers...

Package importing is slow, and this is bad style. This speed up my
page load benchmark by 30% f...

8449b4ffa87045c44c8f2e4d67c1b17af02dd369 authored almost 7 years ago by Chris Matthews <[email protected]>
Some cleanup

I found these names confusing.

llvm-svn: 324032

ecaf2e6d405b88d158329a4081800b4203c16b9b authored almost 7 years ago by Chris Matthews <[email protected]>
Sometimes runN does not make both these files - better check they exist

llvm-svn: 324031

4549c14baf08325cabf4230287f29b9e6ebfd74f authored almost 7 years ago by Chris Matthews <[email protected]>
Make version tag look like distutils expects

llvm-svn: 324030

ae99c5aae4054dc57d4317f5c4049b3e739ac32b authored almost 7 years ago by Chris Matthews <[email protected]>
Looks like in modern setuptools this is not used

llvm-svn: 322143

3e9e2c79d4c2ea6dfe13a496f5e63ca4edbb01c2 authored almost 7 years ago by Chris Matthews <[email protected]>
These excludes probably aren't needed and cause warnings when LNT is installed

llvm-svn: 322142

1110909ebfbac8453219531be9b77adbc3f675d4 authored almost 7 years ago by Chris Matthews <[email protected]>
[LNT] Provide a way to reliably point to results page

Makes the database ID to be reused when submitting data for an existing order with "--merge repl...

d2f8ec747fd33cd66c219bc732e27006cc0bcd2d authored about 7 years ago by Leandro Nunes <[email protected]>
Remove `lnt update` command.

Summary:
`lnt update` is broken because of a missing import and there should be
no need for it a...

7508937a06ae49d67e6981a141b978caf2525fd9 authored about 7 years ago by Florian Hahn <[email protected]>
We know we are accessing the field changes right away: so preload them

llvm-svn: 319118

346f1d948307926f07acac2b506ba3a5c9a2c3bd authored about 7 years ago by Chris Matthews <[email protected]>
A litte bit faster query

Since we only use the RIs directly here, we can query for them in one
query instead of doing lot...

80a98340c69c1d00acbbf25cf191aa8c0315b58f authored about 7 years ago by Chris Matthews <[email protected]>
Age out oldest unprocessed regressions

When the regression pages are not used in LNT, detected regressions will
build up. We continue ...

bf9e8942daf2abd9254165ea639a980ef38daccd authored about 7 years ago by Chris Matthews <[email protected]>
Add a missing type annotation

llvm-svn: 318565

bfe5af367bcf65e6721a429e24ce6d62531934be authored about 7 years ago by Chris Matthews <[email protected]>
Add a rest API to query the test suite schema

This helps users get things like display_names and units for the
metrics.

llvm-svn: 318485

3b773553774bb4cd2811204082d8b29ced294e5a authored about 7 years ago by Matthias Braun <[email protected]>
Store a display name and unit for metrics in the test suite schema

- Add 'display_name', 'unit', 'unit_abbrev' fields that can be set when
defining test suite me...

2d498d7c0804e523dc3dcf63274cd962e8fbdcc2 authored about 7 years ago by Matthias Braun <[email protected]>
v4db: Avoid expiring objects on commit()

We don't expect the metadata to change after LNT startup. For that
matter we also don't want to ...

fb02499683d0a88623aa4dceda44fd4745c6f7bc authored about 7 years ago by Matthias Braun <[email protected]>
Add a yaml schema for the nts suite

While the schema itself is still built-in to lnt (all the information is
in lnt/server/db/migrat...

6d45784563d788d73d22a7096d8b7f225e3554bf authored about 7 years ago by Matthias Braun <[email protected]>
Rename duplicate() -> __copy__()

__copy__ is somewhat standard in python because it is the method the
copy module is looking for....

f0a3bdb1f20b2383c62bfeba336c8e3ee83da3b8 authored about 7 years ago by Matthias Braun <[email protected]>
docs/importing_data: Fix metric name spelling

llvm-svn: 318480

17e36b403aba9cec937d10295de76b87d9fa0832 authored about 7 years ago by Matthias Braun <[email protected]>
Use less indentation in schema files

llvm-svn: 318479

03c5346592041fc5f6013bec0683479df5bb846e authored about 7 years ago by Matthias Braun <[email protected]>
Use lnt logger

While this may not be the most idiomatic usage of python logging it
avoids an "No handlers could...

0f94c2c1fdea800dbf8e83757aa9fe2920e7ea3c authored about 7 years ago by Matthias Braun <[email protected]>
We often lookup regression indicators by regression, index that

The RI table is not always huge, but does get queried a lot by
regresion_id. Lets optimize that...

8eaa511b53bbe46c2d3094903549fb51170d26d3 authored about 7 years ago by Chris Matthews <[email protected]>
Missing comment

llvm-svn: 318360

bc1fde1c11be3e106dcb4186e1c5843a4ee0409f authored about 7 years ago by Chris Matthews <[email protected]>
Optimize regression evolution by prefiltering by machine_id

Regression evolution is pretty slow. To speed it up, cut down the
comparisons it needs to make. ...

f9f87c30a9a3bc6ce91313009f6360bee84fb589 authored about 7 years ago by Chris Matthews <[email protected]>
Pick python2.7 when deploying to Heroku-like clouds

The default became python3 a while back.

llvm-svn: 318232

aba7c2b264ac43c59e8e696bbb4bb56f9108ee0a authored about 7 years ago by Chris Matthews <[email protected]>
In the event some index creations fail, don't explode the migrate

Seems like I was ignoring errors, but that would kill the transaction
so later index creations w...

abe0c9e09c7746c2029cf7a5385b245a7fec7952 authored about 7 years ago by Chris Matthews <[email protected]>
This is unused

llvm-svn: 318222

02ad81bd3ab50b3531d363bc81344a099957820f authored about 7 years ago by Chris Matthews <[email protected]>
Optimize FieldChange lookup

One thing that makes change ingestion slow is the field change
deduplication query, which we mak...

ee647c49707abd4d7f8664066c0119675311d90f authored about 7 years ago by Chris Matthews <[email protected]>
Apparently not all base64 tools support the -o switch

llvm-svn: 318200

aa1ef68bfd2bb45628a2d434a0cd763709680978 authored about 7 years ago by Matthias Braun <[email protected]>
Don't run regression analysis in the background

This remove the background workers. We have had a lot of problems with
system stability because...

619544348775a44c178c065bb3d83245e2ae960c authored about 7 years ago by Chris Matthews <[email protected]>
Cleanup __health endpoint

This had some name shadowing. Also remove Asyn-ops reporting, I am
removing that in a moment.

...

d34fb576245340748244011cdf421a3e7c488cd0 authored about 7 years ago by Chris Matthews <[email protected]>
Add back some missing sessions

llvm-svn: 318196

4e8a2e80eb8cb3ac8a62a45baa77679c55dacb22 authored about 7 years ago by Chris Matthews <[email protected]>
Allow submissions without start_time/end_time field.

Simply set start_time/end_time to the current time if the fields are not
specified at submission...

eac731dda804d58faa95a96f3e9c0dc0b5a2068f authored about 7 years ago by Matthias Braun <[email protected]>
docs: Slightly improve custom schema documentation

- Call the schema 'my_suite' instead of 'size' to avoid confusion with
metrics called 'size'.
...

77b8982d8310c7b26a7277abb119642a8dedbd32 authored about 7 years ago by Matthias Braun <[email protected]>
Fix remaining pycodestyle/pep8 warnings, add lint script

- Add `utils/lint.sh` that invokes pycodestyle, excluding external
packages, the docs config a...

41500d5377ac4ecb98879633aac351067cbc11a8 authored about 7 years ago by Matthias Braun <[email protected]>
docs/Makefile: Change html target back to not copying the files around

Not everyone builds the docs into the source directory or wants to
update the copy in server/ui/...

6f56a391b0a5b66be34af4ecd247fb756c209b18 authored about 7 years ago by Matthias Braun <[email protected]>
lnttool: Fix lnt submit error handling

- Show message instead of backtrace for bad URLs
- Exit with returncode 1 on submission failures...

7668e37a3781680a51112db48f6cb123cef37b01 authored about 7 years ago by Matthias Braun <[email protected]>
runtest/test_suite. Transform cmake caches to absolute paths

Users expect caches to be relative to CWD when inoking lnt runtest.
However the cmake invocation...

70be4343b051ea2da9a759241a09ea0c30a8dc8a authored about 7 years ago by Matthias Braun <[email protected]>
Change duplicate submission default to 'reject'

The previous default of 'replace' would delete the previous run in case
of a duplicate submissio...

c39c42e493cb4619c412a512c45b411b0d82f156 authored about 7 years ago by Matthias Braun <[email protected]>
Log when we remove previous runs because we got a duplicate submission

llvm-svn: 317388

fbee6fde4a6db926a587717e5a732ada2259d506 authored about 7 years ago by Matthias Braun <[email protected]>
Cleanup rerun test

llvm-svn: 317387

afbf9ead37193d2a83094c0dea52ec1f24813923 authored about 7 years ago by Matthias Braun <[email protected]>
lnttool/admin: Add option to skip SSL certificate validation

Add an option to opt out of SSL certificate validation.

Motivated by: https://llvm.org/PR35104
...

c240c72de04aa559d57670bbc5242705355aef66 authored about 7 years ago by Matthias Braun <[email protected]>
docs/importing_data: Add missing 'hash' field

llvm-svn: 317290

f26fe16d5d633fbd36cf849f48bdaf9337b59375 authored about 7 years ago by Matthias Braun <[email protected]>
[Docs] Use `db_default` instead of `default` in example submit url.

Summary:
It looks like the URL changed. With `default` I get the following error:

127.0.0.1...

56f16a5e5d8da3a0484662cabab02a4c7891bd52 authored about 7 years ago by Florian Hahn <[email protected]>
api.py: Fix machine specification by name code

llvm-svn: 315391

8d85bf222e39f7ebaf7d701482c6abf44e5035d8 authored about 7 years ago by Matthias Braun <[email protected]>
tests/runtest/test-suite: Split into multiple test files

There's no reason to keep all those tests in 1 file, split them.

llvm-svn: 315100

17c3e8308c3014e8fac83a23587f4cb044f78e5a authored about 7 years ago by Matthias Braun <[email protected]>
runtest/test_suite: Make lit result parsing more robust

- Check lit NOEXE status instead of using a heuristic to search for the
executable. This fixes...

916d0f07252984b0876dba6481fed53f0e3168f4 authored about 7 years ago by Matthias Braun <[email protected]>
tests/compile.py: Print stdout/stderr log in the error case

llvm-svn: 314962

b29e5221d454bccee53472b2a58b6d9ec4c8defe authored over 7 years ago by Matthias Braun <[email protected]>
Cleanup session creation code, use close() instead of rollback()

session.rollback() leads to sqlalchemy producing a bunch of additional
queries to compare the ob...

f2127ea5c531062f069ed520630710081508619a authored over 7 years ago by Matthias Braun <[email protected]>
docs/importing_data.rst: Fix typo

llvm-svn: 313917

5ba11740992c093a0d6499de5112fe4769801e5f authored over 7 years ago by Matthias Braun <[email protected]>
Looks like we missed passing a session here

llvm-svn: 313897

f73f05f00f3baf49961db3df14d6f34d3b0bdfe4 authored over 7 years ago by Chris Matthews <[email protected]>
[lnt] Allow `lnt importreport` to import hash and profile metrics.

Differential Revision: https://reviews.llvm.org/D37959

llvm-svn: 313496

e4c7a6f0a1a084d8d8956500dfca230c02da33d2 authored over 7 years ago by Elad Cohen <[email protected]>
regression_views: Add some missing session parameters

llvm-svn: 312935

1c726490bd482534eafdbd0b2c9993d92033f59b authored over 7 years ago by Matthias Braun <[email protected]>
Remove info_keys; NFC

The new file format doesn't use them anymore. The translation for old
report files is handled i...

210599158b340fdab948477a480f927b500f7369 authored over 7 years ago by Matthias Braun <[email protected]>
async_ops: Do not dispose pre-fork DB connections

It turns out that the hack in async_ops that disposes the DB connections
present before forking ...

98054daa1001bc0b0b906ccc251c96fb85b85840 authored over 7 years ago by Matthias Braun <[email protected]>
Make machine selection/update more flexible

r309247 changed LNTs response to mismatching machine information to
either reject the submission...

d4e63e82f53ff1779e8bb5324984163cacd13d37 authored over 7 years ago by Matthias Braun <[email protected]>
Remove sys.exit() from code paths used for the server

It's nicer to throw an exception to give code a chance to cleanup.

llvm-svn: 312658

c5ef9ccc386ce28708962b8de75efed257c97e39 authored over 7 years ago by Matthias Braun <[email protected]>