• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elixir-mint / mint
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: al/ci
DEFAULT BRANCH: main
Repo Added 11 Jun 2022 07:10AM UTC
Token xUOJjt5H7KcTvx6ikZQ7qWuMslrGKsjIE regen
Build 211 Last
Files 21
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH optimize-http/2-request-creation
branch: optimize-http/2-request-creation
CHANGE BRANCH
x
Reset
Sync Branches
  • optimize-http/2-request-creation
  • al/1.18
  • al/ci
  • al/client-settings
  • al/deps
  • al/elixir-1.10
  • al/elixir-1.11+
  • al/fix-leak
  • al/fix-tests
  • al/http2-logs
  • al/improve-defguard
  • al/modernize-ci
  • al/stream-docs
  • al/updates
  • allow-not-validating-target
  • allow_302_for_twitter_integration_test
  • andrea/code-coverage
  • andrea/dialyzer
  • andrea/fix-guard
  • andrea/new-ci-versions
  • comp-time-optimization
  • connection-docs-ref
  • contributing-and-testing-housekeeping
  • docs-for-open
  • ericmj/deprecate-read-write
  • ericmj/inet4-option
  • ericmj/update-ubuntu
  • fix-cannot-build-docker-image-using-podman-compose
  • fix-http1-tests-not-tagged-correctly
  • fix-incorrect-ci-badge
  • fix/humize_error_code_custom_error
  • ip-address-match-fun
  • jv-default-store
  • jv-elixir-1-19
  • main
  • patch-3
  • preserve_header_case
  • pvthuyen/add-support-for-cacerts-get
  • refs/heads/main
  • refs/pull/399/merge
  • refs/pull/407/merge
  • rewrite-contributing-and-testing-doc
  • run-ci-against-erlang-27.1
  • unnecessary-rst-stream-2
  • update-deps
  • use_local_http_bin_in_all_tests
  • whatyouhide/issue311
  • wm-decompression
  • wm-docker-compose
  • wm-recv-response
  • wrap-tunnel-errors

05 Feb 2024 02:47PM UTC coverage: 87.57%. First build
f8ece36599321fd1aa0e8681dd785b7b423037e5-PR-423

Pull #423

github

the-mikedavis
HTTP/2: Optimize check for CONNECT method in header creation

`String.upcase/1` by default iterates over the graphemes in the
input string which can be relatively slow. Since we're only interested
in case-insensitive equality, we can write a small custom equality
checking function that can avoid creating new terms and can return
early.

Using a charlist is slightly faster than passing `"CONNECT"` as a
binary.
Pull Request #423: Optimize HTTP/2 request creation

10 of 11 new or added lines in 1 file covered. (90.91%)

1254 of 1432 relevant lines covered (87.57%)

263.18 hits per line

Relevant lines Covered
Build:
Build:
1432 RELEVANT LINES 1254 COVERED LINES
263.18 HITS PER LINE
Source Files on optimize-http/2-request-creation
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
f8ece365... optimize-http/2-request-creation HTTP/2: Optimize check for CONNECT method in header creation `String.upcase/1` by default iterates over the graphemes in the input string which can be relatively slow. Since we're only interested in case-insensitive equality, we can write a small... Pull #423 05 Feb 2024 02:48PM UTC the-mikedavis github
87.57
7bb2e5bf... optimize-http/2-request-creation HTTP/2: Optimize check for CONNECT method in header creation `String.upcase/1` by default iterates over the graphemes in the input string which can be relatively slow. Since we're only interested in case-insensitive equality, we can write a small... Pull #423 03 Feb 2024 09:41PM UTC the-mikedavis github
87.54
5f660213... optimize-http/2-request-creation HTTP/2: Optimize check for CONNECT method in header creation `String.upcase/1` by default iterates over the graphemes in the input string which can be relatively slow. Since we're only interested in case-insensitive equality, we can write a small... Pull #423 03 Feb 2024 08:53PM UTC the-mikedavis github
87.54
See All Builds (144)

Badge your Repo: mint

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc