Sergii Tkachenko
de6ed9ba9f
[Python] Migrate from yapf to black ( #33138 )
...
- Switched from yapf to black
- Reconfigure isort for black
- Resolve black/pylint idiosyncrasies
Note: I used `--experimental-string-processing` because black was
producing "implicit string concatenation", similar to what described
here: https://github.com/psf/black/issues/1837 . While currently this
feature is experimental, it will be enabled by default:
https://github.com/psf/black/issues/2188 . After running black with the
new string processing so that the generated code merges these `"hello" "
world"` strings concatenations, then I removed
`--experimental-string-processing` for stability, and regenerated the
code again.
To the reviewer: don't even try to open "Files Changed" tab 😄 It's
better to review commit-by-commit, and ignore `run black and isort`.
2 years ago
Craig Tiller
c545350633
Reland: [promises] Compression filter conversion ( #31686 )
...
* Revert "Revert "[promises] Compression filter conversion (#31204 )" (#31682 )"
This reverts commit fa31b36cb1
.
* fix?
* fix
2 years ago
Craig Tiller
fa31b36cb1
Revert "[promises] Compression filter conversion ( #31204 )" ( #31682 )
...
This reverts commit a8c983528a
.
2 years ago
Craig Tiller
a8c983528a
[promises] Compression filter conversion ( #31204 )
...
* Convert compress filter
* decompress sketch
* Automated change: Fix sanity tests
* progress
* progress
* got the new filter impls compiling
* Automated change: Fix sanity tests
* declare the bits
* allocate control types
* stub in pipe accessors
* init pipes
* send-path
* working through the state machines
* [arena] pool allocator
* add tests
* Automated change: Fix sanity tests
* better sizes
* iwyu
* Automated change: Fix sanity tests
* first pass cut fragments
* fix1
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* build-deps
* fix for windows
* fix
* fixes
* better-logs
* better-logs
* callpushpush-->tryconcurrently
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* logging improvements
* logging improvements
* fixes
* Automated change: Fix sanity tests
* respect flag
* handle eos
* cancel_after_client_done
* handle failed sends
* more error handling
* Automated change: Fix sanity tests
* more stuff
* remove unnecessary conversion
* hackity hack hack
* fixes
* progress
* Automated change: Fix sanity tests
* capture metadata from promise to recieve up
* spacing
* debug,fix
* not-used
* fix
* fix
* tune
* unify compress/decompress
* fixes
* send_message/send_trailing_metadata ordering
* cleanup loop
* remove minimal stack bits
* better error generation
* fix-build
* Automated change: Fix sanity tests
* cancellation of recv message for forwarded receives
* fix
* compile fix
* fix clobbering
* fix test, convert to gtest
* fix
* Automated change: Fix sanity tests
* cleanup
* fixes
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* add test
* Automated change: Fix sanity tests
* fix
* fix
* fix
* no need to store message per filter
* Automated change: Fix sanity tests
* danke yash
* iwyu
* clang-tidy
* Automated change: Fix sanity tests
* fix
* [promise] CallPushPull -> more general TryConcurrently
* Automated change: Fix sanity tests
* [promise] Introduce map_pipe, cleanup factories
* [promise] Promise based filter changes for messages
* [log] Longer space for filenames
* [test] Add some debugability affordances to async_end2end_test
* add comment
* Automated change: Fix sanity tests
* fix-merge
* fix-merge
* fix
* [chttp2] Fix a bug whereby trailers-only is not reported
We don't report trailers-only if the trailers are parsed prior to executing recv_initial_metadata
* comments
* fix for ruby
* review feedback
* merge
* fix
* Automated change: Fix sanity tests
* fix bm?
* re-add dropped flag
* turn on some traces to try and debug ruby
* debug for ruby problem
* proposed chttp2 fix
* Revert "turn on some traces to try and debug ruby"
This reverts commit 1bf3cfd552
.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
1f1f923a72
[benchmarks] Remove stats integration ( #30900 )
...
* remove old stats cruft
* remove
* remove
* fix
* fix
2 years ago
Craig Tiller
40adbb46f0
Exclude noisy benchmarks from labelling computations ( #29039 )
...
* Exclude noisy benchmarks from labelling computations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
d342a86f2c
Fix typo ( #28019 )
3 years ago
Craig Tiller
6003710534
Label microbenchmark differences similarly to bloat ( #27998 )
...
* benchmark differences as a label
* debug
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
75a54f55e3
Remove trickle benchmarks ( #28000 )
...
* Remove trickle benchmarks
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
b6cc72f129
Revert "Run 2to3 on tools directory ( #26002 )" ( #27183 )
...
This reverts commit a388361c3d
.
3 years ago
Richard Belleville
a388361c3d
Run 2to3 on tools directory ( #26002 )
...
* Run 2to3 on tools directory
* Delete github_stats_tracking
* Re-run 2to3
* Remove unused script
* Remove unused script
* Remove unused line count utility
* Yapf. Isort
* Remove accidentally included file
* Restore line_count directory
3 years ago
AJ Heller
5139a012e7
Migrate the bm_diff benchmarks to python3 ( #25619 )
...
* Migrate the bm_diff benchmarks to python3
Includes a requirements.txt pinned at ~2017 versions, when this script
was first written.
* Replace p2 with p3 scipy/numpy dependencies.
* py2->3 for benchmark setup scripts
* upgrade pip to resolve python3 cryptography/setuptools-rust problem
* re-add jobset import (accidentally removed)
* re-add six's urllib import. This file is still used in py2 tests
* force py3 in run_if_c_cpp_modified.sh
* Fix another instance of subprocess.check_output binary mode
* Use the requirements.txt for CI perf environment setup
* Try to upgrade PyJWT. (v2.0.0 was problematic, #25053 )
v2.x makes encode return strs from jwt.encode in both py2 and py3.
Previously, py3 would return bytes, and py2 a str.
* upgate cryptography lib version requirements for jwt.
* Wrap pip requirements specifier in quotes '>=x,<y'
* Decode subprocess output once instead of for every line
* Revert "Decode subprocess output once instead of for every line"
This reverts commit 28d14026431622ac7afd3535a8d7118e5be96628.
py2 doesn't support the `text` argument to subprocess.check_output.
* Address reviewer requests
* Pin a valid scipy version
* Remove scipy and tabulate dependencies from macos tests
4 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
7 years ago
ncteisen
173c477bd0
tools/profiling
7 years ago
ncteisen
2aab728245
regex to diff
8 years ago
ncteisen
5c92dcde1e
Allow passing regex to bm_diff tools
8 years ago
ncteisen
81db061d2a
Clang fmt and copyright sanity
8 years ago
ncteisen
f7fd97c5fe
Actually enable trickle diff
8 years ago
ncteisen
e726e324e1
Add trickle diff job
8 years ago
ncteisen
dd1ccc1408
Modularize mmicrobenchmarks
8 years ago
ncteisen
3345e1ccf7
Actually enable trickle diff
8 years ago
ncteisen
45e161b1c9
Make threshold toggleable
8 years ago
ncteisen
81941b9221
Propagate counters flag change
8 years ago
ncteisen
6dc4c7f5d9
Disable counters for trickle, inc timeout
8 years ago
ncteisen
6a5e923a81
Only output crashes if they occur
8 years ago
ncteisen
07639167fc
2 space indentation
8 years ago
ncteisen
251b025b89
Yapf code
8 years ago
ncteisen
0ac47d28cd
Github comments
8 years ago
ncteisen
7cd7b7fc43
Differentiate between timeouts and crashes
8 years ago
ncteisen
2b96949d3d
Yapf fmt
8 years ago
ncteisen
bf1ee7b12f
More filename stripping
8 years ago
ncteisen
a278759ec9
Add flakiness data to PR comment
8 years ago
ncteisen
3f05c21f55
Add timeout and retries to fix flakes
8 years ago
ncteisen
3992a3a499
Yapf fmt code
8 years ago
ncteisen
bea7c1954c
Split bm runs by individual bm
8 years ago
ncteisen
738be24db4
Py fmt
8 years ago
ncteisen
48d973a276
Add readme and flags
8 years ago
ncteisen
64637b7c8c
restructure
8 years ago
ncteisen
dc76c66521
Add driver for bm_*.py pipeline
8 years ago
ncteisen
ab69ea3f9d
Modulized the bm_*.py functions
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
e7c31edb55
Print before commenting to ensure theres A copy of the results somewhere
8 years ago
Craig Tiller
c9c6aa7df0
Be resilient against failed runs
8 years ago
Craig Tiller
add943869a
Diff now too
8 years ago
Craig Tiller
2b465f00e9
Get stats bmdiffed
8 years ago
Craig Tiller
ad7f066b16
Allow >100% increases, add more jobs to reduce noise
8 years ago
Craig Tiller
25e3c6da76
Fix EINTR forever
8 years ago
Craig Tiller
349907b645
Handle EINTR on reading file
8 years ago