Skip to content

Commit

Permalink
baseline:all
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev committed Apr 22, 2024
1 parent d0afceb commit bc52ee0
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions packages/benches/basic/basic-schema.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bench('basic schema', () => {
title: a.string().required(),
}),
});
}).types([4362, 'instantiations']);
}).types([4334, 'instantiations']);

bench('basic schema w client types', () => {
const s = a.schema({
Expand All @@ -19,4 +19,4 @@ bench('basic schema w client types', () => {
});

type _ = ClientSchema<typeof s>;
}).types([28918, 'instantiations']);
}).types([28908, 'instantiations']);
2 changes: 1 addition & 1 deletion packages/benches/basic/secondaryIndexes.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ bench('secondary index', () => {
});

type _ = ClientSchema<typeof s>;
}).types([52056, 'instantiations']);
}).types([52054, 'instantiations']);
2 changes: 1 addition & 1 deletion packages/benches/p50/operations/p50-CRUDL.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ bench('p50 CRUDL', async () => {
});

await client.models.Todo.list();
}).types([1534845, 'instantiations']);
}).types([1561069, 'instantiations']);
2 changes: 1 addition & 1 deletion packages/benches/p50/operations/p50-prod-CRUDL.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,4 +629,4 @@ bench('prod p50 CRUDL', async () => {
});

await client.models.Todo.list();
}).types([8441858, 'instantiations']);
}).types([8533629, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -632,4 +632,4 @@ bench('prod p50 CRUDL', async () => {
});

await client.models.Todo.list({ selectionSet });
}).types([8725903, 'instantiations']);
}).types([8817674, 'instantiations']);
2 changes: 1 addition & 1 deletion packages/benches/p50/operations/p50-selection-set.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ bench('p50 CRUDL', async () => {
});

await client.models.Todo.list({ selectionSet });
}).types([1651886, 'instantiations']);
}).types([1678110, 'instantiations']);
6 changes: 3 additions & 3 deletions packages/benches/p50/p50-prod.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ bench('prod p50', () => {
]),
// [Global authorization rule]
}).authorization((allow) => allow.publicApiKey());
}).types([95110, 'instantiations']);
}).types([95447, 'instantiations']);

bench('prod p50 w/ client types', () => {
const s = a
Expand Down Expand Up @@ -1188,7 +1188,7 @@ bench('prod p50 w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([702019, 'instantiations']);
}).types([714633, 'instantiations']);

bench('prod p50 combined w/ client types', () => {
const s1 = a.schema({
Expand Down Expand Up @@ -1781,4 +1781,4 @@ bench('prod p50 combined w/ client types', () => {

const s = a.combine([s1, s2]);
type _ = ClientSchema<typeof s>;
}).types([1577055, 'instantiations']);
}).types([1589980, 'instantiations']);
6 changes: 3 additions & 3 deletions packages/benches/p50/p50.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ bench('p50', () => {
allow.owner(),
]),
}).authorization((allow) => allow.publicApiKey());
}).types([27024, 'instantiations']);
}).types([27218, 'instantiations']);

bench('p50 w/ client types', () => {
const s = a
Expand Down Expand Up @@ -102,7 +102,7 @@ bench('p50 w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([105737, 'instantiations']);
}).types([106478, 'instantiations']);

bench('p50 combined schema w/ client types', () => {
const s1 = a
Expand Down Expand Up @@ -157,4 +157,4 @@ bench('p50 combined schema w/ client types', () => {

const s = a.combine([s1, s2]);
type _ = ClientSchema<typeof s>;
}).types([443356, 'instantiations']);
}).types([444437, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -2336,4 +2336,4 @@ bench('99 complex models CRUDL', async () => {
// await client.models.Todo.delete({ todoId: result.data.todoId });

// await client.models.Todo.list();
}).types([2935100, 'instantiations']);
}).types([2928212, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -4611,4 +4611,4 @@ bench('1522 simple models with 1 field each CRUDL', async () => {
// await client.models.Model1.delete({ id: result.data.id });

// await client.models.Model1.list();
}).types([6060319, 'instantiations']);
}).types([6036328, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -10154,4 +10154,4 @@ bench(

// await client.models.Model35.list();
},
).types([1081705, 'instantiations']);
).types([1081474, 'instantiations']);
4 changes: 2 additions & 2 deletions packages/benches/p99/over-limit/p99-tall-simple.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4574,7 +4574,7 @@ bench('1522 simple models with 1 field each', () => {
field1: a.string(),
}),
}).authorization((allow) => allow.publicApiKey());
}).types([1941008, 'instantiations']);
}).types([1929094, 'instantiations']);

bench('1522 simple models with 1 field each w/ client types', () => {
const s = a
Expand Down Expand Up @@ -9149,4 +9149,4 @@ bench('1522 simple models with 1 field each w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([6060319, 'instantiations']);
}).types([6036328, 'instantiations']);
4 changes: 2 additions & 2 deletions packages/benches/p99/over-limit/p99-wide-large.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10110,7 +10110,7 @@ bench('1 model containing 2288 fields, 34 models w/ 215 fields each', () => {
field215: a.string(),
}),
}).authorization((allow) => allow.publicApiKey());
}).types([50603, 'instantiations']);
}).types([50569, 'instantiations']);

bench(
'1 model containing 2288 fields, 34 models w/ 215 fields each w/ client types',
Expand Down Expand Up @@ -20224,4 +20224,4 @@ bench(

type _ = ClientSchema<typeof s>;
},
).types([1081705, 'instantiations']);
).types([1081474, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ bench('70 simple models with 1 field each w/ client types', async () => {
await client.models.Model1.delete({ id: result.data.id });

await client.models.Model1.list();
}).types([1419233, 'instantiations']);
}).types([1425856, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,4 @@ bench('70 simple models with 1 field each w/ client types', async () => {
await client.models.Model1.delete({ id: result.data.id });

await client.models.Model1.list({ selectionSet });
}).types([1491099, 'instantiations']);
}).types([1497722, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ bench('1 simple model w/ 43 fields CRUDL', async () => {
await client.models.Model1.delete({ id: result.data.id });

await client.models.Model1.list();
}).types([1736136, 'instantiations']);
}).types([1743863, 'instantiations']);
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ bench('1 simple model w/ 43 fields CRUDL', async () => {
await client.models.Model1.delete({ id: result.data.id });

await client.models.Model1.list({ selectionSet });
}).types([1926225, 'instantiations']);
}).types([1933952, 'instantiations']);
4 changes: 2 additions & 2 deletions packages/benches/p99/within-limit/p99-tall-simple.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ bench('100 simple models with 1 field each', () => {
field1: a.string(),
}),
}).authorization((allow) => allow.publicApiKey());
}).types([98977, 'instantiations']);
}).types([98639, 'instantiations']);

bench('100 simple models with 1 field each w/ client types', () => {
const s = a
Expand Down Expand Up @@ -471,4 +471,4 @@ bench('100 simple models with 1 field each w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([330199, 'instantiations']);
}).types([329360, 'instantiations']);
4 changes: 2 additions & 2 deletions packages/benches/p99/within-limit/p99-wide-large.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5660,7 +5660,7 @@ bench('26 models w/ 215 fields each, 1 model with 4', () => {
field4: a.string(),
}),
}).authorization((allow) => allow.publicApiKey());
}).types([37873, 'instantiations']);
}).types([37919, 'instantiations']);

bench('26 models w/ 215 fields each, 1 model with 4 w/ client types', () => {
const s = a
Expand Down Expand Up @@ -11317,4 +11317,4 @@ bench('26 models w/ 215 fields each, 1 model with 4 w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([632177, 'instantiations']);
}).types([632106, 'instantiations']);
4 changes: 2 additions & 2 deletions packages/benches/p99/within-limit/p99-wide-small.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ bench('1 simple model w/ 1700 fields each', () => {
field1700: a.string(),
}),
}).authorization((allow) => allow.publicApiKey());
}).types([4775, 'instantiations']);
}).types([5029, 'instantiations']);

bench('1 simple model w/ 1700 fields each w/ client types', () => {
const s = a
Expand Down Expand Up @@ -3420,4 +3420,4 @@ bench('1 simple model w/ 1700 fields each w/ client types', () => {
.authorization((allow) => allow.publicApiKey());

type _ = ClientSchema<typeof s>;
}).types([201933, 'instantiations']);
}).types([202278, 'instantiations']);

0 comments on commit bc52ee0

Please sign in to comment.