rest ui: use default value instead of confusing placeholder#291
Conversation
|
That's actually not the reason for #287. I entered "0", "+0", "-0" and "00" and they all end up with FWIW, that's Chromium right now, but I think I had FireFox at home, though I'm not sure. |
|
(I wasn't able to test your commit, so your change still might have fixed it.) |
|
You’re running a non-stable Chromium channel? |
|
No, don't think so. |
|
OK. Well let’s merge this as it at least gives a better default and keep the issue open. If you find yourself in that position again, open up the Web Inspector and paste in what data is being sent with the request. |
|
Yeah, go for it. |
rest ui: use default value instead of confusing placeholder
🔴 Sysbench [SQL, 3node, oltp_read_write]
Reproducebenchdiff binaries: mkdir -p benchdiff/b3efbc0/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/b3efbc0d6ee926bd3adc2d64f7dc83999ce6e46a/bin/pkg_sql_tests benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/83f228e/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/83f228e1af8ad84ef9866e0f1d7958a7e286297e/bin/pkg_sql_tests benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/SQL/3node/oltp_read_write$ --old=83f228e --new=b3efbc0 --memprofile ./pkg/sql/tests⚪ Sysbench [KV, 3node, oltp_read_only]
Reproducebenchdiff binaries: mkdir -p benchdiff/b3efbc0/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/b3efbc0d6ee926bd3adc2d64f7dc83999ce6e46a/bin/pkg_sql_tests benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/83f228e/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/83f228e1af8ad84ef9866e0f1d7958a7e286297e/bin/pkg_sql_tests benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/KV/3node/oltp_read_only$ --old=83f228e --new=b3efbc0 --memprofile ./pkg/sql/tests⚪ Sysbench [KV, 3node, oltp_write_only]
Reproducebenchdiff binaries: mkdir -p benchdiff/b3efbc0/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/b3efbc0d6ee926bd3adc2d64f7dc83999ce6e46a/bin/pkg_sql_tests benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/b3efbc0/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/83f228e/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/83f228e1af8ad84ef9866e0f1d7958a7e286297e/bin/pkg_sql_tests benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/83f228e/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/KV/3node/oltp_write_only$ --old=83f228e --new=b3efbc0 --memprofile ./pkg/sql/testsArtifactsdownload: mkdir -p new
gcloud storage cp gs://cockroach-microbench-ci/artifacts/b3efbc0d6ee926bd3adc2d64f7dc83999ce6e46a/26867079019-1/\* new/
mkdir -p old
gcloud storage cp gs://cockroach-microbench-ci/artifacts/83f228e1af8ad84ef9866e0f1d7958a7e286297e/26867079019-1/\* old/built with commit: b3efbc0d6ee926bd3adc2d64f7dc83999ce6e46a |
Per #287, confusion could be caused by assuming that the input placeholder value ("0" in this cause) actually represents the value being passed, which isn’t true. Setting a default value to prevent this confusion in the future.