Skip to content

Commit

Permalink
Cleanup and benchmarking.
Browse files Browse the repository at this point in the history
  • Loading branch information
NTDLS committed Oct 7, 2024
1 parent 9cc3e08 commit 18d987a
Show file tree
Hide file tree
Showing 8 changed files with 204 additions and 589 deletions.
475 changes: 4 additions & 471 deletions @Scripts/Debug.kbs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using NTDLS.Katzebase.Parsers.Functions.Aggregate;
using NTDLS.Katzebase.Parsers.Functions.System;
using System.Text;
using static NTDLS.Katzebase.Api.KbConstants;

namespace NTDLS.Katzebase.Engine.Functions.System.Implementations
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using NTDLS.Katzebase.Parsers.Functions.Scalar;
using NTDLS.Katzebase.Parsers.Functions.System;
using System.Text;
using static NTDLS.Katzebase.Api.KbConstants;

namespace NTDLS.Katzebase.Engine.Functions.System.Implementations
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using NTDLS.Katzebase.Engine.Atomicity;
using NTDLS.Katzebase.Parsers.Functions.System;
using System.Text;
using static NTDLS.Katzebase.Api.KbConstants;

namespace NTDLS.Katzebase.Engine.Functions.System.Implementations
{
Expand Down
271 changes: 178 additions & 93 deletions TestApplications/Benchmark/Program.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
EXEC ClearCacheAllocations
DROP INDEX IX_Payload_tx100000_01_1000 ON Benchmarking:Payload_100000
CREATE INDEX IX_Payload_tx100000_01_1000(
Score
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)
EXEC ClearCacheAllocations

DROP INDEX IX_Payload_tx100000_01_1000 ON Benchmarking:Payload_100000

CREATE INDEX IX_Payload_tx100000_01_1000(
Score
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
EXEC ClearCacheAllocations
DROP INDEX IX_Payload_tx100000_02_1000 ON Benchmarking:Payload_100000
CREATE INDEX IX_Payload_tx100000_02_1000(
OwnerUserId,
ParentId
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)
EXEC ClearCacheAllocations

DROP INDEX IX_Payload_tx100000_02_1000 ON Benchmarking:Payload_100000

CREATE INDEX IX_Payload_tx100000_02_1000(
OwnerUserId,
ParentId
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
EXEC ClearCacheAllocations
DROP INDEX IX_Payload_tx100000_03_1000 ON Benchmarking:Payload_100000
CREATE UNIQUEKEY IX_Payload_tx100000_03_1000(
Id
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)
EXEC ClearCacheAllocations

DROP INDEX IX_Payload_tx100000_03_1000 ON Benchmarking:Payload_100000

CREATE UNIQUEKEY IX_Payload_tx100000_03_1000(
Id
) ON Benchmarking:Payload_100000 WITH (PARTITIONS=1000)

0 comments on commit 18d987a

Please sign in to comment.