avinassh / fast-sqlite3-inserts

Some bunch of test scripts to generate a SQLite DB with 1B rows in fastest possible way
MIT License
381 stars 38 forks source link

Fix /usr/bin/time invocation #1

Closed captn3m0 closed 3 years ago

captn3m0 commented 3 years ago

/usr/bin/time doesn't exist on many systems because it is implemented as a shell-builtin.

Putting a semi-colon at the end of the command forces make to run a shell for the same, and invokes the correct time.

Added a shebang for bench.sh so hopefully that should also work everywhere?

Ref: https://stackoverflow.com/a/17550243/368328

avinassh commented 3 years ago

Thank you!