This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc -O3 -Wall -Wextra -Wpedantic -Wvla -Werror -Wmissing-prototypes -Wredundant-decls -std=c99 -Wcast-align -mavx2 -mbmi -mpopcnt -I../../../common -c -o rejsample.o rejsample.c | |
rejsample.c:284:44: error: expected expression | |
d = _mm256_loadu_si256((__m256i_u *)vec); | |
^ | |
rejsample.c:284:33: error: use of undeclared identifier '__m256i_u' | |
d = _mm256_loadu_si256((__m256i_u *)vec); | |
^ | |
rejsample.c:288:51: error: expected expression | |
__m128i rid = _mm_loadl_epi64((__m128i_u *)&idx[good]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import json | |
from unidecode import unidecode | |
anum = set('abcdefghijklmnopqrstuvwxyz0123456789') | |
sfxs = {} | |
print("Computing suffices...") | |
for i, x in enumerate(json.load(open('all_songs.json'))): | |
def add(a, t, i): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fio --name TEST --eta-newline=5s --filename=fio-tempfile.dat --rw=randread --size=500m --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1 --iodepth=1 --direct=1 --numjobs=1 --runtime=60 --group_reporting | |
TEST: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1 | |
fio-3.12 | |
Starting 1 process | |
TEST: Laying out IO file (1 file / 500MiB) | |
Jobs: 1 (f=1): [r(1)][13.1%][r=928KiB/s][r=232 IOPS][eta 00m:53s] | |
Jobs: 1 (f=1): [r(1)][23.0%][r=928KiB/s][r=232 IOPS][eta 00m:47s] | |
Jobs: 1 (f=1): [r(1)][32.8%][r=900KiB/s][r=225 IOPS][eta 00m:41s] | |
Jobs: 1 (f=1): [r(1)][42.6%][r=852KiB/s][r=213 IOPS][eta 00m:35s] | |
Jobs: 1 (f=1): [r(1)][52.5%][r=864KiB/s][r=216 IOPS][eta 00m:29s] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fio --name TEST --eta-newline=5s --filename=fio-tempfile.dat --rw=randread --size=500m --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1 --iodepth=1 --direct=1 --numjobs=1 --runtime=60 --group_reporting | |
TEST: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1 | |
fio-3.12 | |
Starting 1 process | |
TEST: Laying out IO file (1 file / 500MiB) | |
Jobs: 1 (f=1): [r(1)][13.1%][r=41.1MiB/s][r=10.5k IOPS][eta 00m:53s] | |
Jobs: 1 (f=1): [r(1)][23.0%][r=43.7MiB/s][r=11.2k IOPS][eta 00m:47s] | |
Jobs: 1 (f=1): [r(1)][32.8%][r=39.8MiB/s][r=10.2k IOPS][eta 00m:41s] | |
Jobs: 1 (f=1): [r(1)][42.6%][r=44.6MiB/s][r=11.4k IOPS][eta 00m:35s] | |
Jobs: 1 (f=1): [r(1)][52.5%][r=43.2MiB/s][r=11.1k IOPS][eta 00m:29s] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test f1600 ... bench: 425 ns/iter (+/- 25) | |
test simd::f1600x2 ... bench: 648 ns/iter (+/- 13) | |
test simd::f1600x4 ... bench: 647 ns/iter (+/- 72) | |
test simd::f1600x8 ... bench: 1,635 ns/iter (+/- 12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import yaml | |
import json | |
with open('swagger.json') as f: | |
d = json.load(f) | |
for obj in d['components']['schemas'].values(): | |
if 'required' in obj and not obj['required']: | |
del(obj['required']) | |
if 'properties' in obj and not obj['properties']: |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] INFO o.o.c.ignore.CodegenIgnoreProcessor - No .openapi-generator-ignore file found. | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object | |
[main] WARN o.o.codegen.DefaultCodegen - Unknown type found in the schema: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section __TEXT,__text,regular,pure_instructions | |
.macosx_version_min 10, 13 | |
.intel_syntax noprefix | |
.section __TEXT,__literal8,8byte_literals | |
.p2align 3 ## -- Begin function Sha256Init8x | |
LCPI0_0: | |
.quad 7640891574645810791 ## 0x6a09e6676a09e667 | |
LCPI0_1: | |
.quad -4942790176617812347 ## 0xbb67ae85bb67ae85 | |
LCPI0_2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go-xmssmt benchmark ("xmssmt speed") on a AMD Ryzen 5 1600. | |
XMSSMT-SHA2_20/2_256 | |
keygen: 441.180712 ms 150141 B/op 2284 allocs/op | |
sign: 688.293 µs 11136 B/op 23 allocs/op | |
verify: 1.258767 ms 7878 B/op 14 allocs/op | |
XMSSMT-SHA2_20/4_256 | |
keygen: 170.966166 ms 158162 B/op 470 allocs/op |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./xmssmt algs | |
+------------------------+-----+-------+---------+----+------------+ | |
| NAME | OID | #SIGS | SIGSIZE | W | CACHE SIZE | | |
+------------------------+-----+-------+---------+----+------------+ | |
| XMSSMT-SHA2_20/2_256 | 1 | 2^20 | 5.0 kB | 16 | 98 kB | | |
| XMSSMT-SHA2_20/4_256 | 2 | 2^20 | 9.3 kB | 16 | 5.1 kB | | |
| XMSSMT-SHA2_40/2_256 | 3 | 2^40 | 5.6 kB | 16 | 101 MB | | |
| XMSSMT-SHA2_40/4_256 | 4 | 2^40 | 9.9 kB | 16 | 164 kB | | |
| XMSSMT-SHA2_40/8_256 | 5 | 2^40 | 18 kB | 16 | 9.2 kB | | |
| XMSSMT-SHA2_60/3_256 | 6 | 2^60 | 8.4 kB | 16 | 134 MB | |