BlogDocs

wip: datalog foreign function interface prototype(#228)

Comparing
ffi
(
99c0718
) with
v5
(
e59f41d
)
-1%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
12
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

check_signature_5
biscuit-auth/benches/token.rs::check_signature_5
0%
1 ms
1 ms
unverified_append_block_5
biscuit-auth/benches/token.rs::unverified_append_block_5
0%
926.6 µs
926 µs
unverified_append_block_2
biscuit-auth/benches/token.rs::unverified_append_block_2
0%
297.9 µs
298.1 µs
create_block_1
biscuit-auth/benches/token.rs::create_block_1
0%
244.8 µs
244.9 µs
check_signature_2
biscuit-auth/benches/token.rs::check_signature_2
0%
497 µs
497.9 µs
verify_block_5
biscuit-auth/benches/token.rs::verify_block_5
0%
1.2 ms
1.2 ms
append_block_2
biscuit-auth/benches/token.rs::append_block_2
0%
544.3 µs
545.7 µs
checks_block_create_verifier2
biscuit-auth/benches/token.rs::checks_block_create_verifier2
0%
60.1 µs
60.3 µs
append_block_5
biscuit-auth/benches/token.rs::append_block_5
0%
2.6 ms
2.6 ms
verify_block_2
biscuit-auth/benches/token.rs::verify_block_2
-1%
600.5 µs
606.7 µs
checks_block_2
biscuit-auth/benches/token.rs::checks_block_2
-2%
114.6 µs
116.8 µs
checks_block_verify_only2
biscuit-auth/benches/token.rs::checks_block_verify_only2
-3%
112.7 µs
116 µs

Commits

Click on a commit to change the comparison range
base
v5
e59f41d
-1%
Add sample for FFI calls
bf923cb
5 days ago
by divarvel
0%
intern FFI call names Instead of storing strings directly in the ops, do as we do for everything else and use the symbol table. This required duplicating `biscuit_parser::builder::Binary` and `Unary` in the `biscuit_auth::builder` module (which previously used the definitions from the `datalog` module directly). There is a lot of duplication between `biscuit_parser::builder` and `biscuit_auth::builder`, with a circular-ish dependency (biscuit_auth depends on biscuit parser, but code generated by the `ToTokens` impl blocks in biscuit parser depend on `biscuit_auth::builder`).
99c0718
4 days ago
by divarvel
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.