Xiaolin Zhao
ef3e1dae2f
cmd/compile: optimize loong64 with register indexed load/store
...
goos: linux
goarch: loong64
pkg: test/bench/go1
cpu: Loongson-3A6000 @ 2500.00MHz
| bench.old | bench.new |
| sec/op | sec/op vs base |
BinaryTree17 7.766 ± 1% 7.640 ± 2% -1.62% (p=0.000 n=20)
Fannkuch11 2.649 ± 0% 2.358 ± 0% -10.96% (p=0.000 n=20)
FmtFprintfEmpty 35.89n ± 0% 35.87n ± 0% -0.06% (p=0.000 n=20)
FmtFprintfString 59.44n ± 0% 57.25n ± 2% -3.68% (p=0.000 n=20)
FmtFprintfInt 62.07n ± 0% 60.04n ± 0% -3.27% (p=0.000 n=20)
FmtFprintfIntInt 97.90n ± 0% 97.26n ± 0% -0.65% (p=0.000 n=20)
FmtFprintfPrefixedInt 116.7n ± 0% 119.2n ± 0% +2.14% (p=0.000 n=20)
FmtFprintfFloat 204.5n ± 0% 201.9n ± 0% -1.30% (p=0.000 n=20)
FmtManyArgs 455.9n ± 0% 466.8n ± 0% +2.39% (p=0.000 n=20)
GobDecode 7.458m ± 1% 7.138m ± 1% -4.28% (p=0.000 n=20)
GobEncode 8.573m ± 1% 8.473m ± 1% ~ (p=0.091 n=20)
Gzip 280.2m ± 0% 284.9m ± 0% +1.67% (p=0.000 n=20)
Gunzip 32.68m ± 0% 32.67m ± 0% ~ (p=0.211 n=20)
HTTPClientServer 54.22µ ± 0% 53.24µ ± 0% -1.80% (p=0.000 n=20)
JSONEncode 9.427m ± 1% 9.152m ± 0% -2.92% (p=0.000 n=20)
JSONDecode 47.08m ± 1% 46.85m ± 1% -0.49% (p=0.007 n=20)
Mandelbrot200 4.601m ± 0% 4.605m ± 0% +0.08% (p=0.000 n=20)
GoParse 4.776m ± 0% 4.655m ± 1% -2.52% (p=0.000 n=20)
RegexpMatchEasy0_32 59.77n ± 0% 57.59n ± 0% -3.66% (p=0.000 n=20)
RegexpMatchEasy0_1K 458.1n ± 0% 458.8n ± 0% +0.15% (p=0.000 n=20)
RegexpMatchEasy1_32 59.36n ± 0% 59.24n ± 0% -0.20% (p=0.000 n=20)
RegexpMatchEasy1_1K 557.7n ± 0% 560.2n ± 0% +0.46% (p=0.000 n=20)
RegexpMatchMedium_32 803.1n ± 0% 772.8n ± 0% -3.77% (p=0.000 n=20)
RegexpMatchMedium_1K 27.29µ ± 0% 25.88µ ± 0% -5.18% (p=0.000 n=20)
RegexpMatchHard_32 1.385µ ± 0% 1.304µ ± 0% -5.85% (p=0.000 n=20)
RegexpMatchHard_1K 40.92µ ± 0% 39.58µ ± 0% -3.27% (p=0.000 n=20)
Revcomp 474.3m ± 0% 410.0m ± 0% -13.56% (p=0.000 n=20)
Template 78.16m ± 0% 76.32m ± 1% -2.36% (p=0.000 n=20)
TimeParse 271.8n ± 0% 272.1n ± 0% +0.11% (p=0.000 n=20)
TimeFormat 292.3n ± 0% 294.8n ± 0% +0.86% (p=0.000 n=20)
geomean 51.98µ 50.82µ -2.22%
Change-Id: Ia78f1ddee8f1d9ec7192a4b8d2a4ec6058679956
Reviewed-on: https://go-review.googlesource.com/c/go/+/615918
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
2024-10-17 07:32:25 +00:00
..
2023-10-19 23:33:25 +00:00
2023-06-16 17:08:43 +00:00
2022-01-10 21:27:19 +00:00
2021-07-14 23:33:46 +00:00
2024-07-30 15:46:27 +00:00
2022-03-24 02:14:15 +00:00
2024-10-17 07:32:25 +00:00
2024-10-14 19:58:47 +00:00
2022-09-27 21:10:19 +00:00
2023-03-28 14:28:33 +00:00
2024-09-17 17:01:20 +00:00
2024-07-23 19:05:35 +00:00
2021-12-05 12:50:44 +00:00
2022-03-24 17:50:47 +00:00
2024-06-07 15:22:22 +00:00
2021-12-13 22:42:08 +00:00
2024-03-25 19:21:35 +00:00
2022-09-01 22:37:04 +00:00
2024-04-05 16:29:58 +00:00
2024-05-15 15:09:14 +00:00
2022-09-28 22:28:39 +00:00
2021-10-30 18:30:05 +00:00
2023-10-19 23:33:25 +00:00
2024-08-07 16:07:33 +00:00
2023-01-31 19:43:07 +00:00
2023-03-06 18:34:24 +00:00
2023-10-19 23:33:25 +00:00
2021-06-02 05:14:45 +00:00
2023-04-11 20:56:32 +00:00
2022-06-28 18:11:31 +00:00
2022-09-08 15:55:44 +00:00
2022-09-19 18:58:26 +00:00
2022-11-17 13:46:05 +00:00
2022-09-28 22:28:39 +00:00
2021-06-14 07:12:37 +00:00
2024-07-29 14:30:07 +00:00
2021-08-09 16:10:20 +00:00
2022-09-02 06:22:23 +00:00
2022-09-02 06:22:23 +00:00
2023-05-12 12:34:59 +00:00
2023-12-14 17:22:18 +00:00
2023-12-14 17:22:18 +00:00
2024-07-22 21:27:37 +00:00
2023-09-08 18:50:24 +00:00
2021-05-26 23:50:32 +00:00
2023-12-05 22:06:07 +00:00
2024-07-22 21:27:37 +00:00
2021-07-28 21:41:07 +00:00
2023-05-23 17:16:35 +00:00
2023-08-18 11:58:37 +00:00
2021-05-26 23:50:32 +00:00
2024-09-18 20:57:20 +00:00
2024-03-25 19:53:03 +00:00
2023-09-08 18:50:24 +00:00
2021-05-26 23:50:32 +00:00
2022-09-07 17:25:59 +00:00
2023-03-06 18:34:24 +00:00
2023-11-16 05:48:00 +00:00
2021-12-03 16:24:32 +00:00
2023-07-10 16:36:41 +00:00
2024-09-30 22:04:40 +00:00
2024-08-07 16:07:55 +00:00
2023-10-19 23:33:25 +00:00
2022-05-27 21:36:06 +00:00
2022-09-27 21:10:19 +00:00
2022-01-11 02:26:58 +00:00
2022-09-23 20:27:09 +00:00
2022-11-16 04:04:52 +00:00
2022-01-11 02:26:58 +00:00
2023-08-18 11:58:37 +00:00
2022-09-15 21:05:02 +00:00
2023-10-19 23:33:25 +00:00
2023-10-06 21:01:50 +00:00
2021-05-26 23:50:45 +00:00
2024-07-30 15:46:27 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2024-05-15 19:27:25 +00:00
2024-06-07 15:22:22 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2024-10-14 19:58:47 +00:00
2024-08-02 16:47:38 +00:00
2024-10-14 19:58:47 +00:00
2024-10-14 19:58:47 +00:00
2024-10-14 19:58:47 +00:00
2024-08-02 16:47:38 +00:00
2023-10-19 23:33:25 +00:00
2024-10-14 19:58:47 +00:00
2024-08-07 16:07:33 +00:00
2024-04-04 14:29:45 +00:00
2023-10-19 23:33:25 +00:00
2021-11-05 00:52:06 +00:00
2022-09-27 21:59:19 +00:00
2022-01-10 22:48:40 +00:00
2024-07-30 15:46:27 +00:00
2022-06-30 18:41:59 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2023-04-14 17:57:36 +00:00
2023-10-19 23:33:25 +00:00
2023-08-22 19:18:21 +00:00
2023-10-19 23:33:25 +00:00
2023-10-19 23:33:25 +00:00
2024-08-07 16:07:33 +00:00
2023-10-19 23:33:25 +00:00
2024-09-03 21:12:20 +00:00
2023-11-08 15:32:14 +00:00
2023-12-01 17:20:08 +00:00
2024-01-08 16:00:53 +00:00
2023-12-18 23:35:19 +00:00
2023-05-12 17:18:08 +00:00
2023-10-19 23:33:25 +00:00
2021-10-26 14:24:17 +00:00
2021-07-22 17:48:41 +00:00
2023-04-19 14:07:00 +00:00
2021-12-03 16:24:32 +00:00
2022-04-07 17:19:55 +00:00
2023-10-19 23:33:25 +00:00
2022-09-01 22:37:04 +00:00
2022-09-24 17:04:15 +00:00
2022-07-19 23:30:49 +00:00
2024-09-09 20:20:10 +00:00
2023-05-16 01:01:38 +00:00
2022-01-11 02:26:58 +00:00
2022-09-23 20:27:09 +00:00
2022-09-27 21:10:19 +00:00
2021-11-12 22:20:51 +00:00
2021-06-24 18:24:24 +00:00
2022-04-21 18:06:38 +00:00
2022-08-31 17:15:15 +00:00
2022-08-31 17:15:15 +00:00
2022-08-31 17:15:15 +00:00
2022-08-31 17:15:15 +00:00
2024-09-11 20:01:21 +00:00
2024-08-09 20:07:54 +00:00
2021-08-23 19:46:36 +00:00
2021-10-06 15:53:04 +00:00
2023-04-28 18:35:43 +00:00