Skip to content

bipa-app/sql_brench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

migrate database

  docker exec -i server-database-1 psql -U postgres -c 'create database sql_rs if not exists'
  docker exec -i server-database-1 psql -U postgres -d sql_rs < schema.sql

Generate many files

  # for i in a b c d e f g h i j k l m n o p q r s t u v w x y z; for j in a b c d e f g h i j k l m n o p q r s t u v w x y z; cp aa.rs $i$j.rs; end; end
  for i in a b c d e f g h i j k l m n o p q r s t u v w x y z; for j in a b c d e f g h i j k l m n o p q r s t u v w x y z; ln -s aa.rs $i$j.rs; end; end
  for i in a b c d e f g h i j k l m n o p q r s t u v w x y z; for j in a b c d e f g h i j k l m n o p q r s t u v w x y z; echo "pub mod $i$j;"; end; end > lib.rs

About

sintetic compile time brenchmark between sqlx and diesel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published