Jay Caines-Gooby
02be6dda87
See CONTRIBUTING.md
2022-07-05 10:32:51 +01:00
Jay Caines-Gooby
6cc2af0211
Merge pull request #14 from dbalabka/patch-2
...
Add installation instruction
2022-07-04 20:02:39 +01:00
Jay Caines-Gooby
200c089211
Notes about -o
2022-07-04 19:59:56 +01:00
Jay Caines-Gooby
6716b46e45
Notes on testing
2022-07-04 19:57:43 +01:00
Jay Caines-Gooby
aeb5ad7cda
Update usage with details on -o option
2022-07-04 19:53:43 +01:00
Jay Caines-Gooby
6efaa32ac8
Add build status
2022-07-04 19:38:48 +01:00
Jay Caines-Gooby
5ea1b838a7
Add a curl passthrough option -o
...
This lets us send custom switches to curl like -k
to ignore invalid certificates. Call ttfb like this:
ttfb -o "-k" https://self-signed.badssl.com
2022-07-04 19:34:40 +01:00
Jay Caines-Gooby
31f5615c37
Run tests on Travis
2022-07-04 18:58:38 +01:00
Jay Caines-Gooby
9e4514e829
Fix the failing tests for logging
2022-07-04 18:57:29 +01:00
Jay Caines-Gooby
ab5df2edac
Tests. To run just call 'make'
...
You need to ensure that bats-core is installed:
https://github.com/bats-core/bats-core
2022-07-04 18:54:11 +01:00
Dmitry Balabka
6b43fb9553
Add instalation instruction
2022-07-04 17:23:27 +03:00
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