Skip to content

Commit

Permalink
Updated BDN piplines with allocated etc
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenge committed Oct 24, 2024
1 parent b33d9f6 commit d22af95
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 87 deletions.
2 changes: 2 additions & 0 deletions benchmark/BDN.benchmark/Lua/LuaScripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT license.

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using Garnet.server;

namespace BDN.benchmark.Lua
Expand All @@ -10,6 +11,7 @@ namespace BDN.benchmark.Lua
/// Benchmark for Lua
/// </summary>
[MemoryDiagnoser]
[HideColumns(Column.Gen0)]
public unsafe class LuaScripts
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"framework": "net8.0",
"filter": "BDN.benchmark.Cluster.ClusterMigrate.*",

"expectedGet_AllocatedValue_linux": 0,
"expectedSet_AllocatedValue_linux": 0,
"expectedMGet_AllocatedValue_linux": 0,
"expectedMSet_AllocatedValue_linux": 0,
"expectedGet_None_AllocatedValue_linux": 0,
"expectedSet_None_AllocatedValue_linux": 0,
"expectedMGet_None_AllocatedValue_linux": 0,
"expectedMSet_None_AllocatedValue_linux": 0,

"expectedGet_AllocatedValue_win": 0,
"expectedSet_AllocatedValue_win": 0,
"expectedMGet_AllocatedValue_win": 0,
"expectedMSet_AllocatedValue_win": 0,
"expectedGet_None_AllocatedValue_win": 0,
"expectedSet_None_AllocatedValue_win": 0,
"expectedMGet_None_AllocatedValue_win": 0,
"expectedMSet_None_AllocatedValue_win": 0,

"acceptableAllocatedRange": 10,
"acceptableError": ".1",
Expand Down
16 changes: 8 additions & 8 deletions test/BDNPerfTests/ConfigFiles/CI_CONFIG_BDN_Benchmark_Lua.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"framework": "net8.0",
"filter": "BDN.benchmark.Lua.*",

"expectedLua1AllocatedValue_linux": 24,
"expectedLua2AllocatedValue_linux": 144,
"expectedLua3AllocatedValue_linux": 240,
"expectedLua4AllocatedValue_linux": 776,
"expectedScript1_None_AllocatedValue_linux": 24,
"expectedScript2_None_AllocatedValue_linux": 144,
"expectedScript3_None_AllocatedValue_linux": 240,
"expectedScript4_None_AllocatedValue_linux": 776,

"expectedLua1AllocatedValue_win": 24,
"expectedLua2AllocatedValue_win": 144,
"expectedLua3AllocatedValue_win": 240,
"expectedLua4AllocatedValue_win": 776,
"expectedScript1_None_AllocatedValue_win": 24,
"expectedScript2_None_AllocatedValue_win": 144,
"expectedScript3_None_AllocatedValue_win": 240,
"expectedScript4_None_AllocatedValue_win": 776,

"acceptableAllocatedRange": 10,
"acceptableError": ".1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"framework": "net8.0",
"filter": "BDN.benchmark.Operations.ObjectOperations.*",

"expectedZAddRem_ACL_AllocatedValue_linux": 0,
"expectedLPushPop_ACL_AllocatedValue_linux": 0,
"expectedSAddRem_ACL_AllocatedValue_linux": 0,
"expectedHSetDel_ACL_AllocatedValue_linux": 0,
"expectedMyDictSetGet_ACL_AllocatedValue_linux": 0,
"expectedZAddRem_ACL_AllocatedValue_linux": 18400,
"expectedLPushPop_ACL_AllocatedValue_linux": 14400,
"expectedSAddRem_ACL_AllocatedValue_linux": 12800,
"expectedHSetDel_ACL_AllocatedValue_linux": 43201,
"expectedMyDictSetGet_ACL_AllocatedValue_linux": 24000,
"expectedCustomProcSet_ACL_AllocatedValue_linux": 0,

"expectedZAddRem_AOF_AllocatedValue_linux": 18400,
Expand All @@ -25,11 +25,11 @@
"expectedCustomProcSet_None_AllocatedValue_linux": 0,


"expectedZAddRem_ACL_AllocatedValue_win": 0,
"expectedLPushPop_ACL_AllocatedValue_win": 0,
"expectedSAddRem_ACL_AllocatedValue_win": 0,
"expectedHSetDel_ACL_AllocatedValue_win": 0,
"expectedMyDictSetGet_ACL_AllocatedValue_win": 0,
"expectedZAddRem_ACL_AllocatedValue_win": 18400,
"expectedLPushPop_ACL_AllocatedValue_win": 14400,
"expectedSAddRem_ACL_AllocatedValue_win": 12800,
"expectedHSetDel_ACL_AllocatedValue_win": 43201,
"expectedMyDictSetGet_ACL_AllocatedValue_win": 24000,
"expectedCustomProcSet_ACL_AllocatedValue_win": 0,

"expectedZAddRem_AOF_AllocatedValue_win": 18400,
Expand Down
Loading

0 comments on commit d22af95

Please sign in to comment.