- | 图像处理 |
- 单核 {{ cpu.image.single }} / 多核 {{ cpu.image.multi }} |
+ {{ $gettext('Image Processing') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.image.single,
+ multi: cpu.image.multi
+ })
+ }}
+ |
- | 机器学习 |
- 单核 {{ cpu.machine.single }} / 多核 {{ cpu.machine.multi }} |
+ {{ $gettext('Machine Learning') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.machine.single,
+ multi: cpu.machine.multi
+ })
+ }}
+ |
- | 程序编译 |
- 单核 {{ cpu.compile.single }} / 多核 {{ cpu.compile.multi }} |
+ {{ $gettext('Program Compilation') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.compile.single,
+ multi: cpu.compile.multi
+ })
+ }}
+ |
- | AES 加密 |
- 单核 {{ cpu.encryption.single }} / 多核 {{ cpu.encryption.multi }} |
+ {{ $gettext('AES Encryption') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.encryption.single,
+ multi: cpu.encryption.multi
+ })
+ }}
+ |
- | 压缩/解压缩 |
- 单核 {{ cpu.compression.single }} / 多核 {{ cpu.compression.multi }} |
+ {{ $gettext('Compression/Decompression') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.compression.single,
+ multi: cpu.compression.multi
+ })
+ }}
+ |
- | 物理仿真 |
- 单核 {{ cpu.physics.single }} / 多核 {{ cpu.physics.multi }} |
+ {{ $gettext('Physics Simulation') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.physics.single,
+ multi: cpu.physics.multi
+ })
+ }}
+ |
- | JSON 解析 |
- 单核 {{ cpu.json.single }} / 多核 {{ cpu.json.multi }} |
+ {{ $gettext('JSON Parsing') }} |
+
+ {{
+ $gettext('Single-core %{ single } / Multi-core %{ multi }', {
+ single: cpu.json.single,
+ multi: cpu.json.multi
+ })
+ }}
+ |
@@ -194,7 +253,7 @@ const handleTest = async () => {
- | 4KB 读取 |
- 速度 {{ disk['4'].read_speed }} / {{ disk['4'].read_iops }} IOPS |
+ {{ $gettext('4KB Read') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['4'].read_speed,
+ iops: disk['4'].read_iops
+ })
+ }}
+ |
- | 4KB 写入 |
- 速度 {{ disk['4'].write_speed }} / {{ disk['4'].write_iops }} IOPS |
+ {{ $gettext('4KB Write') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['4'].write_speed,
+ iops: disk['4'].write_iops
+ })
+ }}
+ |
- | 64KB 读取 |
- 速度 {{ disk['64'].read_speed }} / {{ disk['64'].read_iops }} IOPS |
+ {{ $gettext('64KB Read') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['64'].read_speed,
+ iops: disk['64'].read_iops
+ })
+ }}
+ |
- | 64KB 写入 |
- 速度 {{ disk['64'].write_speed }} / {{ disk['64'].write_iops }} IOPS |
+ {{ $gettext('64KB Write') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['64'].write_speed,
+ iops: disk['64'].write_iops
+ })
+ }}
+ |
- | 512KB 读取 |
- 速度 {{ disk['512'].read_speed }} / {{ disk['512'].read_iops }} IOPS |
+ {{ $gettext('512KB Read') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['512'].read_speed,
+ iops: disk['512'].read_iops
+ })
+ }}
+ |
- | 512KB 写入 |
- 速度 {{ disk['512'].write_speed }} / {{ disk['512'].write_iops }} IOPS |
+ {{ $gettext('512KB Write') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['512'].write_speed,
+ iops: disk['512'].write_iops
+ })
+ }}
+ |
- | 1MB 读取 |
- 速度 {{ disk['1024'].read_speed }} / {{ disk['1024'].read_iops }} IOPS |
+ {{ $gettext('1MB Read') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['1024'].read_speed,
+ iops: disk['1024'].read_iops
+ })
+ }}
+ |
- | 1MB 写入 |
- 速度 {{ disk['1024'].write_speed }} / {{ disk['1024'].write_iops }} IOPS |
+ {{ $gettext('1MB Write') }} |
+
+ {{
+ $gettext('Speed %{ speed } / %{ iops } IOPS', {
+ speed: disk['1024'].write_speed,
+ iops: disk['1024'].write_iops
+ })
+ }}
+ |
@@ -284,7 +399,7 @@ const handleTest = async () => {
mt-40
w-200
>
- {{ inTest ? '跑分中...' : '开始跑分' }}
+ {{ inTest ? $gettext('Benchmarking...') : $gettext('Start Benchmark') }}