Skip to content

Instantly share code, notes, and snippets.

View GoldsteinE's full-sized avatar

Max “Goldstein” Siling GoldsteinE

View GitHub Profile
==========
VULKANINFO
==========
Vulkan Instance Version: 1.1.126
Instance Extensions: count = 17
====================
VK_EXT_acquire_xlib_display : extension revision 1
hi VertSplit ctermbg=NONE guibg=NONE guifg=#455354
hi CursorLine term=NONE cterm=NONE gui=NONE
hi SpellCap guibg=#383900 cterm=NONE gui=NONE
hi SpellBad guibg=#661400 cterm=NONE gui=NONE
hi Pmenu guibg=#2d3135 guifg=#a0d1d9
hi PmenuSel guibg=#818890
hi PmenuSbar guibg=#121315
hi PmenuThumb guibg=#b1bfcc guifg=#66d9ef
hi NeomakeWarningSign guifg=#969900 guibg=#232526 cterm=NONE gui=NONE
hi NeomakeErrorSign guifg=#991f00 guibg=#232526 cterm=NONE gui=NONE
error[E0698]: type inside `async` block must be known in this context
--> src/main.rs:5:1
|
5 | #[tokio::main]
| ^^^^^^^^^^^^^^ cannot infer type for type parameter `HandlerE`
|
note: the type is part of the `async` block because of this `await`
--> src/main.rs:5:1
|
5 | #[tokio::main]
admin_route = pipe()
@admin_route
def extract_data(request: HttpRequest) -> Ns:
return Ns(
user=request.cookies.get('user'),
authcookie=request.cookies.get('auth'),
)
[package]
name = "transact"
version = "0.1.0"
authors = ["Maximilian Siling <[email protected]>"]
edition = "2018"
[dependencies]
actix-rt = "1.0.0"
actix-web = "2.0.0"
actix-identity = "0.2.1"
" Sections (use <Leader>s to quick jump to section)
" 1. Basic options [S_BASIC]
" 2. Plugins [S_PLUGINS]
" 3. Colors [S_COLORS]
" 4. Autocommands [S_AUTO]
" 5. Mappings [S_MAPPINGS]
" 6. Lightline [S_LIGHTLINE]
" 7. NeoMake [S_NEOMAKE]
" 8. LSP & similar things [S_LSP]
" 9. Firenvim (using NeoVim in browser) [S_FIRENVIM]
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| Item | Self time | % of total time | Time | Item count | Cache hits | Blocked time | Incremental load time |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| LLVM_module_optimize_module_passes | 36.70s | 25.719 | 36.70s | 16 | 0 | 0.00ns | 0.00ns |
+---------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| LLVM_thin_lto_optimize | 31.21s | 21.869 | 31.21s | 16 | 0 | 0.00ns | 0.00ns |
+---------------------------------------------+-----------+-----------------+----------+------------
+-----------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| Item | Self time | % of total time | Time | Item count | Cache hits | Blocked time | Incremental load time |
+-----------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| LLVM_module_codegen_emit_obj | 15.12s | 32.756 | 15.12s | 461 | 0 | 0.00ns | 0.00ns |
+-----------------------------------------------+-----------+-----------------+----------+------------+------------+--------------+-----------------------+
| codegen_module | 5.32s | 11.526 | 5.70s | 461 | 0 | 0.00ns | 0.00ns |
+-----------------------------------------------+-----------+-----------------+---------
#!/bin/sh
preheat() {
echo "Pre-heating..."
cargo build >/dev/null 2>&1
cargo build --release >/dev/null 2>&1
}
run_benchmark() {
for i in $(seq 1 5); do
#!/bin/sh
preheat() {
echo "Pre-heating..."
cargo build >/dev/null 2>&1
cargo build --release >/dev/null 2>&1
}
run_benchmark() {
for i in $(seq 1 5); do