1
0
mirror of https://github.com/jaygooby/ttfb.sh synced 2025-12-10 07:57:21 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Jay Caines-Gooby
91886e3d27 Merge pull request #11 from Abromeit/master
show usage when script is called without arguments
2021-07-05 09:10:18 +01:00
Daniel Abromeit aka Abro
b7b0d474eb show usage when script is called without arguments
Fixes https://github.com/jaygooby/ttfb.sh/issues/6
2021-07-02 20:05:41 +02:00
Jay Caines-Gooby
07bfb15adf Silence the locale check 2020-06-29 16:43:51 +01:00
Jay Caines-Gooby
918d0cfd41 Merge branch 'master' of github.com:jaygooby/ttfb.sh 2020-06-26 10:25:00 +01:00
Jay Caines-Gooby
7243614da2 Ensure curl uses period separators for floating point values
`bc` requires these to do calculations; it can't use locale separators
like `,`

https://en.wikipedia.org/wiki/Decimal_separator#Countries_using_decimal_comma
2020-06-26 10:22:53 +01:00
Jay Caines-Gooby
8bfc840763 Merge pull request #5 from tbarbugli/patch-1
improve portability
2019-06-21 09:50:15 +01:00
Tommaso Barbugli
880c460fd8 improve portability 2019-06-21 10:22:30 +02:00
Jay Caines-Gooby
92f46ba2af Fallback to http1.1 if http2 isn't supported
Fixes #4. Even though the curl command may show that the `--http2` option is available, the version of libcurl that's been linked against might not support it.

Thanks for the tipoff @moeffju 🎉
2019-05-19 20:47:02 +01:00
Jay Caines-Gooby
8936be6c16 Merge pull request #3 from sweepyoface/master
Fix invalid option for which
2019-04-18 09:44:19 +01:00
Sweepyoface
d55c6df1a0 Fix invalid option for which 2019-04-17 23:44:18 -04:00
Jay Caines-Gooby
c8088c7f63 Add the asciinema gif 2019-04-11 23:12:38 +01:00
Jay Caines-Gooby
a2357a6035 Just output the ttfb value for the basic option
-v option shows response breakdown for single and multiple requests

Also tidied README
2019-04-11 21:28:20 +01:00
Jay Caines-Gooby
392c669092 Ditch the -o option and fix -l so it works with relative or absolute paths 2019-04-11 17:12:01 +01:00
Jay Caines-Gooby
563c16e947 -v verbose mode, -o log directory (unneeded as it turns out)
and the ability to collect the combined headers from a -n call into a single log file.

The -o option isn't needed if the bug with specifying a full-path to a log file is fixed
2019-04-11 16:55:28 +01:00
Jay Caines-Gooby
3da629109f set NUM_REQUESTS 2019-04-10 14:33:29 +01:00
Jay Caines-Gooby
a5ff7ab35d Update README to reflect most recent changes 2019-04-10 12:02:44 +01:00
Jay Caines-Gooby
30d3d1305a Sort the array so min & max are correct (doh!)
Also use a median function to correctly get median values
2019-04-10 11:59:04 +01:00
Jay Caines-Gooby
58209f3838 Typoooooooos 2019-03-26 20:05:35 +00:00
Jay Caines-Gooby
47b33caf62 Merge branch 'master' of github.com:jaygooby/ttfb.sh 2019-03-26 15:42:22 +00:00
Jay Caines-Gooby
0fa1c1053c Better README 2019-03-26 15:42:04 +00:00
Jay Caines-Gooby
9defba049a Merge pull request #1 from jaygooby/add-license-1
Create LICENSE
2019-03-26 13:50:07 +00:00
Jay Caines-Gooby
9f87e7f93e Create LICENSE 2019-03-26 13:44:10 +00:00
Jay Caines-Gooby
3747bca73f ignore .log file 2019-03-26 13:41:12 +00:00
Jay Caines-Gooby
be5a143b8b Updated the original gist URL 2019-03-26 13:40:01 +00:00
Jay Caines-Gooby
1882756dac Don't need bash in the README 2019-03-26 13:34:59 +00:00
Jay Caines-Gooby
3939bab739 Initial commit 2019-03-26 13:34:11 +00:00