1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

..

No commits in common. "4bf66cb12c3bbbd26ac614657b86325e11ea0047" and "0524076c8b19131cc30c8e2b6c19ce5f89d41114" have entirely different histories.

2 changed files with 1 additions and 49 deletions

View file

@ -51,52 +51,4 @@ if status is-interactive
if test -f $private_config
source $private_config
end
function divan
cd ~/code/tmp
rm -r benchmark
mkdir benchmark
cd benchmark
echo "target/
.ignore
Cargo.lock" >.ignore
echo '[package]
name = "benchmark"
version = "0.0.0"
edition = "2021"
publish = false
[profile.release]
panic = "abort"
[dev-dependencies]
divan = "0.1"
[[bench]]
name = "divan"
harness = false' >Cargo.toml
mkdir src
touch src/lib.rs
mkdir benches
echo 'use divan::bench;
use std::hint::black_box as bb;
fn main() {
divan::main();
}
#[bench]
fn bench() {
todo!()
}' >benches/divan.rs
echo 'target
Cargo.lock' >.ignore
hx benches/divan.rs
end
end

View file

@ -29,7 +29,7 @@ layout {
tab name="bg" split_direction="vertical"{
pane {
command "podman"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:16"
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15"
}
}
}