Skip to content

Commit 0f8bc87

Browse files
committed
tweaks
1 parent c972b66 commit 0f8bc87

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

test/FluentCommand.Performance/FluentCommand.Performance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
66
<IsTestProject>false</IsTestProject>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

test/FluentCommand.Performance/PropertyAccessorBenchmark.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
namespace FluentCommand.Performance;
1111

1212
[MemoryDiagnoser]
13+
[SimpleJob(RuntimeMoniker.Net90)]
14+
[SimpleJob(RuntimeMoniker.Net80)]
1315
[SimpleJob(RuntimeMoniker.Net70)]
1416
[SimpleJob(RuntimeMoniker.Net60)]
17+
[SimpleJob(RuntimeMoniker.Net50)]
1518
[BenchmarkCategory("Accessor")]
1619
public class PropertyAccessorBenchmark
1720
{

test/FluentCommand.PostgreSQL.Tests/Scripts/Script001.Tracker.Schema.sql

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,40 @@ CREATE TABLE IF NOT EXISTS "UserRole" (
135135
CONSTRAINT "PK_UserRole" PRIMARY KEY ("UserId", "RoleId")
136136
);
137137

138+
CREATE TABLE IF NOT EXISTS "DataType" (
139+
"Id" BIGINT NOT NULL,
140+
"Name" VARCHAR(100) NOT NULL,
141+
"Boolean" BOOLEAN NOT NULL,
142+
"Short" SMALLINT NOT NULL,
143+
"Integer" INTEGER NOT NULL,
144+
"Long" BIGINT NOT NULL,
145+
"Float" REAL NOT NULL,
146+
"Double" DOUBLE PRECISION NOT NULL,
147+
"Decimal" NUMERIC(19, 4) NOT NULL,
148+
"DateTime" TIMESTAMP WITHOUT TIME ZONE NOT NULL,
149+
"DateTimeOffset" TIMESTAMPTZ NOT NULL,
150+
"Guid" UUID NOT NULL,
151+
"TimeSpan" TIME NOT NULL,
152+
"DateOnly" DATE NOT NULL,
153+
"TimeOnly" TIME NOT NULL,
154+
"BooleanNull" BOOLEAN,
155+
"ShortNull" SMALLINT,
156+
"LongNull" BIGINT,
157+
"FloatNull" REAL,
158+
"DoubleNull" DOUBLE PRECISION,
159+
"DecimalNull" NUMERIC(19, 4),
160+
"DateTimeNull" TIMESTAMP WITHOUT TIME ZONE,
161+
"DateTimeOffsetNull" TIMESTAMPTZ,
162+
"GuidNull" UUID,
163+
"TimeSpanNull" TIME,
164+
"DateOnlyNull" DATE,
165+
"TimeOnlyNull" TIME,
166+
"IntegerArray" INTEGER[],
167+
"RealArray" REAL[],
168+
"TextArray" TEXT[],
169+
170+
CONSTRAINT "PK_DataType" PRIMARY KEY ("Id")
171+
);
138172

139173
-- Foreign Keys
140174
ALTER TABLE "Task"

0 commit comments

Comments
 (0)