Deployment | Req/Sec | Avg. Response Time (ms) | 50% | 75% | 90% | 99% | 99.9% | 99.999% | 100% |
---|---|---|---|---|---|---|---|---|---|
Gunicorn (8 CPU, 17 workers) | 4623 | 8.417 | 7.7 | 9.5 | 11.8 | 17.8 | 22.8 | 32.49 | 32.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import contextlib | |
import sqlite3 | |
from typing import Iterator, TypeVar, Generic | |
import pypika | |
_T = TypeVar("_T") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
############################### | |
# -*- Runtime -*- # | |
############################### | |
main() { | |
prologue | |
local code | |
local restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[build] | |
publish = "site" | |
command = """ | |
restore_home_cache ".cache" "pip cache" && | |
restore_cwd_cache '.venv' 'python virtualenv' && | |
pip3 install -q poetry && | |
poetry config virtualenvs.in-project true && | |
poetry install -v && | |
mkdocs build -d site | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
site_name: Sean D Stewart | |
site_author: Sean D Stewart | |
copyright: "Copyright © 2019 - 2020 Sean Stewart" | |
site_url: https://seandstewart.io | |
repo_url: https://github.com/seandstewart/website | |
repo_name: seandstewart/website | |
nav: | |
- index.md | |
- projects.md | |
- words.md |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"children":[ | |
{ | |
"node":{ | |
"index":0, | |
"text":"ACT I", | |
"num":1, | |
"type":"act" | |
}, | |
"children":[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
import re | |
""" | |
I developed the following regex pattern after researching popular libraries which support some form of URL type validation | |
for use in my own forthcoming implementation in my library, `typical`. You can see a sneak-peek of the action here: | |
https://github.com/seandstewart/typical/blob/schema/typic/types/url.py | |
The pattern is largely based upon marshmallow's regex pattern, found here: |
Deployment | Req/Sec | Avg. Response Time (ms) | 50% | 75% | 90% | 99% | 99.9% | 99.999% | 100% |
---|---|---|---|---|---|---|---|---|---|
aiohttp.web.run_app | 4830 | 10.352 | 10.1 | 11.0 | 12.4 | 20.601 | 24.6 | 25.475 | 25.5 |
Gunicorn | 4753 | 10.518 | 10.3 | 11.3 | 12.5 | 18.6 | 23.4 | 25.14 | 25.2 |
| Deployment | Req/Sec | Avg. Response Time (ms) | 50% | 75% | 90% | 99% | 99.9% | 99.999% | 100% |