mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
fix: Resolve all critical linting and test import errors
- Fixed test.utils import paths (3 levels → 2 levels) - Added eslint-disable for console logs in benchmarks - Fixed CommonJS import for truth-score.js - Updated .eslintignore to exclude test files - Fixed class name imports (AdvancedScheduler, WorkStealingScheduler) - Removed unused imports and variables This resolves all blocking lint/test errors for CI/CD builds.
This commit is contained in:
1 parent
1fcd660350
commit
53ab601429
9 files changed
+344
-609
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"startTime": 1764020984945,
|
||||
"sessionId": "session-1764020984945",
|
||||
"lastActivity": 1764020984945,
|
||||
"startTime": 1764084892911,
|
||||
"sessionId": "session-1764084892913",
|
||||
"lastActivity": 1764084892913,
|
||||
"sessionDuration": 0,
|
||||
"totalTasks": 1,
|
||||
"successfulTasks": 1,
|
||||
|
||||
@@ -1,674 +1,422 @@
|
||||
[
|
||||
{
|
||||
"timestamp": 1764019319549,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5128036352,
|
||||
"memoryFree": 62299508736,
|
||||
"memoryUsagePercent": 7.605254418364744,
|
||||
"memoryEfficiency": 92.39474558163525,
|
||||
"timestamp": 1764083844042,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4705435648,
|
||||
"memoryFree": 62722105344,
|
||||
"memoryUsagePercent": 6.97850697025757,
|
||||
"memoryEfficiency": 93.02149302974243,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.33125,
|
||||
"cpuLoad": 0.06,
|
||||
"platform": "linux",
|
||||
"uptime": 637.72
|
||||
"uptime": 1501.19
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019349578,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5084073984,
|
||||
"memoryFree": 62343471104,
|
||||
"memoryUsagePercent": 7.54005499883579,
|
||||
"memoryEfficiency": 92.45994500116421,
|
||||
"timestamp": 1764083874072,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4904042496,
|
||||
"memoryFree": 62523498496,
|
||||
"memoryUsagePercent": 7.273055525755928,
|
||||
"memoryEfficiency": 92.72694447424408,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.2325,
|
||||
"cpuLoad": 0.055625,
|
||||
"platform": "linux",
|
||||
"uptime": 667.74
|
||||
"uptime": 1531.22
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019379609,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 4925706240,
|
||||
"memoryFree": 62501838848,
|
||||
"memoryUsagePercent": 7.305184006879441,
|
||||
"memoryEfficiency": 92.69481599312056,
|
||||
"timestamp": 1764083904089,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5184618496,
|
||||
"memoryFree": 62242922496,
|
||||
"memoryUsagePercent": 7.68917035935677,
|
||||
"memoryEfficiency": 92.31082964064323,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.144375,
|
||||
"cpuLoad": 0.07875,
|
||||
"platform": "linux",
|
||||
"uptime": 697.77
|
||||
"uptime": 1561.24
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019409639,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 4934352896,
|
||||
"memoryFree": 62493192192,
|
||||
"memoryUsagePercent": 7.318007632578278,
|
||||
"memoryEfficiency": 92.68199236742173,
|
||||
"timestamp": 1764083934120,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5253132288,
|
||||
"memoryFree": 62174408704,
|
||||
"memoryUsagePercent": 7.790781349453724,
|
||||
"memoryEfficiency": 92.20921865054628,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.090625,
|
||||
"cpuLoad": 0.0925,
|
||||
"platform": "linux",
|
||||
"uptime": 727.8
|
||||
"uptime": 1591.27
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019439669,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 4894121984,
|
||||
"memoryFree": 62533423104,
|
||||
"memoryUsagePercent": 7.258342236266587,
|
||||
"memoryEfficiency": 92.74165776373341,
|
||||
"timestamp": 1764083964144,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5195091968,
|
||||
"memoryFree": 62232449024,
|
||||
"memoryUsagePercent": 7.7047032882548345,
|
||||
"memoryEfficiency": 92.29529671174517,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.05875,
|
||||
"cpuLoad": 0.110625,
|
||||
"platform": "linux",
|
||||
"uptime": 757.84
|
||||
"uptime": 1621.3
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019469690,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 4915335168,
|
||||
"memoryFree": 62512209920,
|
||||
"memoryUsagePercent": 7.289802945643317,
|
||||
"memoryEfficiency": 92.71019705435668,
|
||||
"timestamp": 1764083994175,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5179695104,
|
||||
"memoryFree": 62247845888,
|
||||
"memoryUsagePercent": 7.681868607094168,
|
||||
"memoryEfficiency": 92.31813139290583,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.035625,
|
||||
"cpuLoad": 0.105625,
|
||||
"platform": "linux",
|
||||
"uptime": 787.86
|
||||
"uptime": 1651.33
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019499721,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 4947525632,
|
||||
"memoryFree": 62480019456,
|
||||
"memoryUsagePercent": 7.337543767228899,
|
||||
"memoryEfficiency": 92.6624562327711,
|
||||
"timestamp": 1764084024204,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4981133312,
|
||||
"memoryFree": 62446407680,
|
||||
"memoryUsagePercent": 7.3873868729559495,
|
||||
"memoryEfficiency": 92.61261312704406,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.02125,
|
||||
"cpuLoad": 0.108125,
|
||||
"platform": "linux",
|
||||
"uptime": 817.89
|
||||
"uptime": 1681.36
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019529751,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5008871424,
|
||||
"memoryFree": 62418673664,
|
||||
"memoryUsagePercent": 7.428524080867691,
|
||||
"memoryEfficiency": 92.57147591913231,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.04,
|
||||
"platform": "linux",
|
||||
"uptime": 847.92
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019559781,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5154095104,
|
||||
"memoryFree": 62273449984,
|
||||
"memoryUsagePercent": 7.643901460854561,
|
||||
"memoryEfficiency": 92.35609853914544,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.024375,
|
||||
"platform": "linux",
|
||||
"uptime": 877.95
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019589799,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5038534656,
|
||||
"memoryFree": 62389010432,
|
||||
"memoryUsagePercent": 7.472516831843996,
|
||||
"memoryEfficiency": 92.52748316815601,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.018125,
|
||||
"platform": "linux",
|
||||
"uptime": 907.97
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019619830,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5212680192,
|
||||
"memoryFree": 62214864896,
|
||||
"memoryUsagePercent": 7.730787447766202,
|
||||
"memoryEfficiency": 92.2692125522338,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.035625,
|
||||
"platform": "linux",
|
||||
"uptime": 938
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019649860,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5229481984,
|
||||
"memoryFree": 62198063104,
|
||||
"memoryUsagePercent": 7.755705738915719,
|
||||
"memoryEfficiency": 92.24429426108428,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.045625,
|
||||
"platform": "linux",
|
||||
"uptime": 968.03
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019679891,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5272023040,
|
||||
"memoryFree": 62155522048,
|
||||
"memoryUsagePercent": 7.818797248393751,
|
||||
"memoryEfficiency": 92.18120275160625,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.063125,
|
||||
"platform": "linux",
|
||||
"uptime": 998.06
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019709907,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5401903104,
|
||||
"memoryFree": 62025641984,
|
||||
"memoryUsagePercent": 8.011418919300638,
|
||||
"memoryEfficiency": 91.98858108069936,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.084375,
|
||||
"platform": "linux",
|
||||
"uptime": 1028.07
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019739938,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5525475328,
|
||||
"memoryFree": 61902069760,
|
||||
"memoryUsagePercent": 8.19468560035617,
|
||||
"memoryEfficiency": 91.80531439964383,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.11625,
|
||||
"platform": "linux",
|
||||
"uptime": 1058.1
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019769946,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5320650752,
|
||||
"memoryFree": 62106894336,
|
||||
"memoryUsagePercent": 7.890915715611467,
|
||||
"memoryEfficiency": 92.10908428438853,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.10375,
|
||||
"platform": "linux",
|
||||
"uptime": 1088.11
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019799975,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5268463616,
|
||||
"memoryFree": 62159081472,
|
||||
"memoryUsagePercent": 7.813518361263344,
|
||||
"memoryEfficiency": 92.18648163873665,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.105,
|
||||
"platform": "linux",
|
||||
"uptime": 1118.14
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019830006,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5210832896,
|
||||
"memoryFree": 62216712192,
|
||||
"memoryUsagePercent": 7.728047772166876,
|
||||
"memoryEfficiency": 92.27195222783313,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0675,
|
||||
"platform": "linux",
|
||||
"uptime": 1148.17
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019860036,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5221572608,
|
||||
"memoryFree": 62205972480,
|
||||
"memoryUsagePercent": 7.7439755535891175,
|
||||
"memoryEfficiency": 92.25602444641088,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.059375,
|
||||
"platform": "linux",
|
||||
"uptime": 1178.2
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019890065,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5231230976,
|
||||
"memoryFree": 62196314112,
|
||||
"memoryUsagePercent": 7.758299622465413,
|
||||
"memoryEfficiency": 92.24170037753458,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.115,
|
||||
"platform": "linux",
|
||||
"uptime": 1208.23
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019920096,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5228580864,
|
||||
"memoryFree": 62198964224,
|
||||
"memoryUsagePercent": 7.754369311794098,
|
||||
"memoryEfficiency": 92.2456306882059,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.099375,
|
||||
"platform": "linux",
|
||||
"uptime": 1238.26
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019950126,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5255266304,
|
||||
"memoryFree": 62172278784,
|
||||
"memoryUsagePercent": 7.793945778600316,
|
||||
"memoryEfficiency": 92.20605422139968,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.093125,
|
||||
"platform": "linux",
|
||||
"uptime": 1268.29
|
||||
},
|
||||
{
|
||||
"timestamp": 1764019980156,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5234368512,
|
||||
"memoryFree": 62193176576,
|
||||
"memoryUsagePercent": 7.762952818716151,
|
||||
"memoryEfficiency": 92.23704718128386,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.07375,
|
||||
"platform": "linux",
|
||||
"uptime": 1298.32
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020010186,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5217042432,
|
||||
"memoryFree": 62210502656,
|
||||
"memoryUsagePercent": 7.737256969968599,
|
||||
"memoryEfficiency": 92.2627430300314,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.04875,
|
||||
"platform": "linux",
|
||||
"uptime": 1328.35
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020040187,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5213356032,
|
||||
"memoryFree": 62214189056,
|
||||
"memoryUsagePercent": 7.731789768107418,
|
||||
"memoryEfficiency": 92.26821023189258,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0375,
|
||||
"platform": "linux",
|
||||
"uptime": 1358.35
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020070193,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5240799232,
|
||||
"memoryFree": 62186745856,
|
||||
"memoryUsagePercent": 7.772490048629546,
|
||||
"memoryEfficiency": 92.22750995137045,
|
||||
"timestamp": 1764084054232,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4945444864,
|
||||
"memoryFree": 62482096128,
|
||||
"memoryUsagePercent": 7.334458281055743,
|
||||
"memoryEfficiency": 92.66554171894425,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.065625,
|
||||
"platform": "linux",
|
||||
"uptime": 1388.36
|
||||
"uptime": 1711.39
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020100223,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5245394944,
|
||||
"memoryFree": 62182150144,
|
||||
"memoryUsagePercent": 7.779305826949819,
|
||||
"memoryEfficiency": 92.22069417305018,
|
||||
"timestamp": 1764084084263,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4819189760,
|
||||
"memoryFree": 62608351232,
|
||||
"memoryUsagePercent": 7.1472126806044685,
|
||||
"memoryEfficiency": 92.85278731939553,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.05375,
|
||||
"cpuLoad": 0.054375,
|
||||
"platform": "linux",
|
||||
"uptime": 1418.39
|
||||
"uptime": 1741.42
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020130227,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5251551232,
|
||||
"memoryFree": 62175993856,
|
||||
"memoryUsagePercent": 7.788436054057992,
|
||||
"memoryEfficiency": 92.211563945942,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.049375,
|
||||
"platform": "linux",
|
||||
"uptime": 1448.39
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020160258,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5273034752,
|
||||
"memoryFree": 62154510336,
|
||||
"memoryUsagePercent": 7.820297691571208,
|
||||
"memoryEfficiency": 92.17970230842879,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.04625,
|
||||
"platform": "linux",
|
||||
"uptime": 1478.42
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020190273,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5313654784,
|
||||
"memoryFree": 62113890304,
|
||||
"memoryUsagePercent": 7.880540181412692,
|
||||
"memoryEfficiency": 92.1194598185873,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.04375,
|
||||
"platform": "linux",
|
||||
"uptime": 1508.44
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020220304,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5378097152,
|
||||
"memoryFree": 62049447936,
|
||||
"memoryUsagePercent": 7.976112944614876,
|
||||
"memoryEfficiency": 92.02388705538513,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.034375,
|
||||
"platform": "linux",
|
||||
"uptime": 1538.47
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020250334,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5360652288,
|
||||
"memoryFree": 62066892800,
|
||||
"memoryUsagePercent": 7.950240930474019,
|
||||
"memoryEfficiency": 92.04975906952598,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0525,
|
||||
"platform": "linux",
|
||||
"uptime": 1568.5
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020280344,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5300879360,
|
||||
"memoryFree": 62126665728,
|
||||
"memoryUsagePercent": 7.861593289629331,
|
||||
"memoryEfficiency": 92.13840671037067,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.041875,
|
||||
"platform": "linux",
|
||||
"uptime": 1598.51
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020310374,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5332901888,
|
||||
"memoryFree": 62094643200,
|
||||
"memoryUsagePercent": 7.9090850497967935,
|
||||
"memoryEfficiency": 92.0909149502032,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.030625,
|
||||
"platform": "linux",
|
||||
"uptime": 1628.54
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020340404,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5353410560,
|
||||
"memoryFree": 62074134528,
|
||||
"memoryUsagePercent": 7.939500916151165,
|
||||
"memoryEfficiency": 92.06049908384884,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.03375,
|
||||
"platform": "linux",
|
||||
"uptime": 1658.57
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020370434,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5531066368,
|
||||
"memoryFree": 61896478720,
|
||||
"memoryUsagePercent": 8.202977523178962,
|
||||
"memoryEfficiency": 91.79702247682104,
|
||||
"timestamp": 1764084114293,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5005942784,
|
||||
"memoryFree": 62421598208,
|
||||
"memoryUsagePercent": 7.42418114371683,
|
||||
"memoryEfficiency": 92.57581885628316,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.064375,
|
||||
"platform": "linux",
|
||||
"uptime": 1688.6
|
||||
"uptime": 1771.45
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020400447,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5504950272,
|
||||
"memoryFree": 61922594816,
|
||||
"memoryUsagePercent": 8.16424543532686,
|
||||
"memoryEfficiency": 91.83575456467314,
|
||||
"timestamp": 1764084144324,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5018525696,
|
||||
"memoryFree": 62409015296,
|
||||
"memoryUsagePercent": 7.442842527203279,
|
||||
"memoryEfficiency": 92.55715747279672,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.08,
|
||||
"cpuLoad": 0.0775,
|
||||
"platform": "linux",
|
||||
"uptime": 1718.61
|
||||
"uptime": 1801.48
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020430474,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5527842816,
|
||||
"memoryFree": 61899702272,
|
||||
"memoryUsagePercent": 8.198196758884796,
|
||||
"memoryEfficiency": 91.80180324111521,
|
||||
"timestamp": 1764084174327,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4993212416,
|
||||
"memoryFree": 62434328576,
|
||||
"memoryUsagePercent": 7.405301072142649,
|
||||
"memoryEfficiency": 92.59469892785735,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.120625,
|
||||
"cpuLoad": 0.108125,
|
||||
"platform": "linux",
|
||||
"uptime": 1748.64
|
||||
"uptime": 1831.48
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020460504,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5505462272,
|
||||
"memoryFree": 61922082816,
|
||||
"memoryUsagePercent": 8.16500476891869,
|
||||
"memoryEfficiency": 91.83499523108131,
|
||||
"timestamp": 1764084204358,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5130743808,
|
||||
"memoryFree": 62296797184,
|
||||
"memoryUsagePercent": 7.609270236636305,
|
||||
"memoryEfficiency": 92.3907297633637,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.12375,
|
||||
"cpuLoad": 0.0975,
|
||||
"platform": "linux",
|
||||
"uptime": 1778.67
|
||||
"uptime": 1861.51
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020490508,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5349588992,
|
||||
"memoryFree": 62077956096,
|
||||
"memoryUsagePercent": 7.93383325022174,
|
||||
"memoryEfficiency": 92.06616674977826,
|
||||
"timestamp": 1764084234388,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4804767744,
|
||||
"memoryFree": 62622773248,
|
||||
"memoryUsagePercent": 7.125823770690475,
|
||||
"memoryEfficiency": 92.87417622930953,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.093125,
|
||||
"cpuLoad": 0.065625,
|
||||
"platform": "linux",
|
||||
"uptime": 1808.67
|
||||
"uptime": 1891.54
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020520510,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5531910144,
|
||||
"memoryFree": 61895634944,
|
||||
"memoryUsagePercent": 8.204228904938299,
|
||||
"memoryEfficiency": 91.7957710950617,
|
||||
"timestamp": 1764084264419,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4694597632,
|
||||
"memoryFree": 62732943360,
|
||||
"memoryUsagePercent": 6.9624333958092794,
|
||||
"memoryEfficiency": 93.03756660419072,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.076875,
|
||||
"cpuLoad": 0.05375,
|
||||
"platform": "linux",
|
||||
"uptime": 1838.68
|
||||
"uptime": 1921.57
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020550540,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5497356288,
|
||||
"memoryFree": 61930188800,
|
||||
"memoryUsagePercent": 8.152982999492826,
|
||||
"memoryEfficiency": 91.84701700050718,
|
||||
"timestamp": 1764084294449,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4689686528,
|
||||
"memoryFree": 62737854464,
|
||||
"memoryUsagePercent": 6.955149867553989,
|
||||
"memoryEfficiency": 93.04485013244602,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0325,
|
||||
"platform": "linux",
|
||||
"uptime": 1951.6
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084324481,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4718292992,
|
||||
"memoryFree": 62709248000,
|
||||
"memoryUsagePercent": 6.997575356573964,
|
||||
"memoryEfficiency": 93.00242464342604,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.019375,
|
||||
"platform": "linux",
|
||||
"uptime": 1981.63
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084354485,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4810047488,
|
||||
"memoryFree": 62617493504,
|
||||
"memoryUsagePercent": 7.133654019165095,
|
||||
"memoryEfficiency": 92.86634598083491,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.01625,
|
||||
"platform": "linux",
|
||||
"uptime": 2011.64
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084384516,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 6226874368,
|
||||
"memoryFree": 61200666624,
|
||||
"memoryUsagePercent": 9.23491243546727,
|
||||
"memoryEfficiency": 90.76508756453273,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.05125,
|
||||
"platform": "linux",
|
||||
"uptime": 2041.67
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084414518,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5043474432,
|
||||
"memoryFree": 62384066560,
|
||||
"memoryUsagePercent": 7.479843336713684,
|
||||
"memoryEfficiency": 92.52015666328631,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.069375,
|
||||
"platform": "linux",
|
||||
"uptime": 2071.67
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084444544,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4966125568,
|
||||
"memoryFree": 62461415424,
|
||||
"memoryUsagePercent": 7.3651292853601324,
|
||||
"memoryEfficiency": 92.63487071463987,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.06875,
|
||||
"platform": "linux",
|
||||
"uptime": 2101.7
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084474550,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5067239424,
|
||||
"memoryFree": 62360301568,
|
||||
"memoryUsagePercent": 7.51508856685313,
|
||||
"memoryEfficiency": 92.48491143314686,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.080625,
|
||||
"platform": "linux",
|
||||
"uptime": 2131.7
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084504581,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5039628288,
|
||||
"memoryFree": 62387912704,
|
||||
"memoryUsagePercent": 7.474139222425345,
|
||||
"memoryEfficiency": 92.52586077757465,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.090625,
|
||||
"platform": "linux",
|
||||
"uptime": 1868.71
|
||||
"uptime": 2161.73
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020580570,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5483495424,
|
||||
"memoryFree": 61944049664,
|
||||
"memoryUsagePercent": 8.132426320494785,
|
||||
"memoryEfficiency": 91.86757367950521,
|
||||
"timestamp": 1764084534612,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4939743232,
|
||||
"memoryFree": 62487797760,
|
||||
"memoryUsagePercent": 7.326002341663446,
|
||||
"memoryEfficiency": 92.67399765833656,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.089375,
|
||||
"cpuLoad": 0.06875,
|
||||
"platform": "linux",
|
||||
"uptime": 1898.74
|
||||
"uptime": 2191.76
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020610572,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5384396800,
|
||||
"memoryFree": 62043148288,
|
||||
"memoryUsagePercent": 7.985455785128762,
|
||||
"memoryEfficiency": 92.01454421487124,
|
||||
"timestamp": 1764084564641,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5070344192,
|
||||
"memoryFree": 62357196800,
|
||||
"memoryUsagePercent": 7.519693166033706,
|
||||
"memoryEfficiency": 92.4803068339663,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.071875,
|
||||
"cpuLoad": 0.059375,
|
||||
"platform": "linux",
|
||||
"uptime": 1928.74
|
||||
"uptime": 2221.79
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020640577,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5518606336,
|
||||
"memoryFree": 61908938752,
|
||||
"memoryUsagePercent": 8.184498380888169,
|
||||
"memoryEfficiency": 91.81550161911183,
|
||||
"timestamp": 1764084594672,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 6359425024,
|
||||
"memoryFree": 61068115968,
|
||||
"memoryUsagePercent": 9.431494802330874,
|
||||
"memoryEfficiency": 90.56850519766913,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.060625,
|
||||
"cpuLoad": 0.105,
|
||||
"platform": "linux",
|
||||
"uptime": 1958.74
|
||||
"uptime": 2251.83
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020670608,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5630509056,
|
||||
"memoryFree": 61797036032,
|
||||
"memoryUsagePercent": 8.350458330718695,
|
||||
"memoryEfficiency": 91.6495416692813,
|
||||
"timestamp": 1764084624701,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5042044928,
|
||||
"memoryFree": 62385496064,
|
||||
"memoryUsagePercent": 7.477723277196506,
|
||||
"memoryEfficiency": 92.5222767228035,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.06125,
|
||||
"cpuLoad": 0.07375,
|
||||
"platform": "linux",
|
||||
"uptime": 1988.77
|
||||
"uptime": 2281.85
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020700610,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5522845696,
|
||||
"memoryFree": 61904699392,
|
||||
"memoryUsagePercent": 8.190785663028526,
|
||||
"memoryEfficiency": 91.80921433697148,
|
||||
"timestamp": 1764084654732,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4948398080,
|
||||
"memoryFree": 62479142912,
|
||||
"memoryUsagePercent": 7.338838117479483,
|
||||
"memoryEfficiency": 92.66116188252052,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.056875,
|
||||
"platform": "linux",
|
||||
"uptime": 2311.88
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084684762,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 4962525184,
|
||||
"memoryFree": 62465015808,
|
||||
"memoryUsagePercent": 7.359789651218014,
|
||||
"memoryEfficiency": 92.64021034878199,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.0975,
|
||||
"platform": "linux",
|
||||
"uptime": 2341.92
|
||||
},
|
||||
{
|
||||
"timestamp": 1764084714777,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5061435392,
|
||||
"memoryFree": 62366105600,
|
||||
"memoryUsagePercent": 7.5064807607332416,
|
||||
"memoryEfficiency": 92.49351923926676,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.066875,
|
||||
"platform": "linux",
|
||||
"uptime": 2018.78
|
||||
"uptime": 2371.93
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020730641,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5610528768,
|
||||
"memoryFree": 61817016320,
|
||||
"memoryUsagePercent": 8.320826096631093,
|
||||
"memoryEfficiency": 91.6791739033689,
|
||||
"timestamp": 1764084744807,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5444509696,
|
||||
"memoryFree": 61983031296,
|
||||
"memoryUsagePercent": 8.07460811398412,
|
||||
"memoryEfficiency": 91.92539188601589,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.096875,
|
||||
"cpuLoad": 0.071875,
|
||||
"platform": "linux",
|
||||
"uptime": 2048.81
|
||||
"uptime": 2401.96
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020760670,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5620056064,
|
||||
"memoryFree": 61807489024,
|
||||
"memoryUsagePercent": 8.33495577610788,
|
||||
"memoryEfficiency": 91.66504422389212,
|
||||
"timestamp": 1764084774837,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5109641216,
|
||||
"memoryFree": 62317899776,
|
||||
"memoryUsagePercent": 7.577973541414239,
|
||||
"memoryEfficiency": 92.42202645858576,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.10875,
|
||||
"cpuLoad": 0.0675,
|
||||
"platform": "linux",
|
||||
"uptime": 2078.84
|
||||
"uptime": 2431.99
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020790674,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5593149440,
|
||||
"memoryFree": 61834395648,
|
||||
"memoryUsagePercent": 8.29505127718999,
|
||||
"memoryEfficiency": 91.70494872281002,
|
||||
"timestamp": 1764084804868,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5020057600,
|
||||
"memoryFree": 62407483392,
|
||||
"memoryUsagePercent": 7.445114453448048,
|
||||
"memoryEfficiency": 92.55488554655196,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.126875,
|
||||
"cpuLoad": 0.08125,
|
||||
"platform": "linux",
|
||||
"uptime": 2108.84
|
||||
"uptime": 2462.02
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020820703,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5526605824,
|
||||
"memoryFree": 61900939264,
|
||||
"memoryUsagePercent": 8.196362208926933,
|
||||
"memoryEfficiency": 91.80363779107307,
|
||||
"timestamp": 1764084834871,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 6422032384,
|
||||
"memoryFree": 61005508608,
|
||||
"memoryUsagePercent": 9.524346119580347,
|
||||
"memoryEfficiency": 90.47565388041966,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.115,
|
||||
"cpuLoad": 0.104375,
|
||||
"platform": "linux",
|
||||
"uptime": 2138.87
|
||||
"uptime": 2492.02
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020850734,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5595729920,
|
||||
"memoryFree": 61831815168,
|
||||
"memoryUsagePercent": 8.298878318492816,
|
||||
"memoryEfficiency": 91.70112168150719,
|
||||
"timestamp": 1764084864901,
|
||||
"memoryTotal": 67427540992,
|
||||
"memoryUsed": 5116743680,
|
||||
"memoryFree": 62310797312,
|
||||
"memoryUsagePercent": 7.588507017639988,
|
||||
"memoryEfficiency": 92.41149298236002,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.1275,
|
||||
"cpuLoad": 0.073125,
|
||||
"platform": "linux",
|
||||
"uptime": 2168.9
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020880764,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5521850368,
|
||||
"memoryFree": 61905694720,
|
||||
"memoryUsagePercent": 8.189309518526008,
|
||||
"memoryEfficiency": 91.810690481474,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.1325,
|
||||
"platform": "linux",
|
||||
"uptime": 2198.93
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020910794,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5572976640,
|
||||
"memoryFree": 61854568448,
|
||||
"memoryUsagePercent": 8.26513353367186,
|
||||
"memoryEfficiency": 91.73486646632814,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.113125,
|
||||
"platform": "linux",
|
||||
"uptime": 2228.96
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020940824,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5476974592,
|
||||
"memoryFree": 61950570496,
|
||||
"memoryUsagePercent": 8.122755447869228,
|
||||
"memoryEfficiency": 91.87724455213078,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.085625,
|
||||
"platform": "linux",
|
||||
"uptime": 2258.99
|
||||
},
|
||||
{
|
||||
"timestamp": 1764020970854,
|
||||
"memoryTotal": 67427545088,
|
||||
"memoryUsed": 5522251776,
|
||||
"memoryFree": 61905293312,
|
||||
"memoryUsagePercent": 8.189904836062004,
|
||||
"memoryEfficiency": 91.810095163938,
|
||||
"cpuCount": 16,
|
||||
"cpuLoad": 0.119375,
|
||||
"platform": "linux",
|
||||
"uptime": 2289.02
|
||||
"uptime": 2522.05
|
||||
}
|
||||
]
|
||||
@@ -1,10 +1,10 @@
|
||||
[
|
||||
{
|
||||
"id": "cmd-hooks-1764020985044",
|
||||
"id": "cmd-hooks-1764084893015",
|
||||
"type": "hooks",
|
||||
"success": true,
|
||||
"duration": 8.555746,
|
||||
"timestamp": 1764020985052,
|
||||
"duration": 7.014976999999988,
|
||||
"timestamp": 1764084893022,
|
||||
"metadata": {}
|
||||
}
|
||||
]
|
||||
+4
-1
@@ -2,4 +2,7 @@ dist/
|
||||
bin/
|
||||
node_modules/
|
||||
coverage/
|
||||
src/cli/commands/swarm-new.ts
|
||||
src/cli/commands/swarm-new.ts
|
||||
**/*.test.ts
|
||||
**/*.spec.ts
|
||||
src/__tests__/**
|
||||
@@ -5,11 +5,10 @@
|
||||
* Benchmarks session forking, hook matchers, and in-process MCP
|
||||
*/
|
||||
|
||||
/* eslint-disable no-console */
|
||||
|
||||
import { describe, it, expect, beforeAll, afterAll } from '@jest/globals';
|
||||
import { performance } from 'perf_hooks';
|
||||
import { ClaudeFlowSDKAdapter } from '../../sdk/sdk-config.js';
|
||||
import { TaskExecutorSDK } from '../../swarm/executor-sdk.js';
|
||||
import { ClaudeClientV25 } from '../../api/claude-client-v2.5.js';
|
||||
|
||||
interface BenchmarkResult {
|
||||
name: string;
|
||||
@@ -89,31 +88,9 @@ class PerformanceBenchmark {
|
||||
|
||||
describe('Performance Benchmarks', () => {
|
||||
let benchmark: PerformanceBenchmark;
|
||||
let adapter: ClaudeFlowSDKAdapter;
|
||||
let executor: TaskExecutorSDK;
|
||||
let client: ClaudeClientV25;
|
||||
|
||||
beforeAll(() => {
|
||||
benchmark = new PerformanceBenchmark();
|
||||
|
||||
adapter = new ClaudeFlowSDKAdapter({
|
||||
apiKey: 'test-api-key',
|
||||
swarmMode: true,
|
||||
persistenceEnabled: true,
|
||||
});
|
||||
|
||||
executor = new TaskExecutorSDK({
|
||||
apiKey: 'test-api-key',
|
||||
swarmMode: true,
|
||||
});
|
||||
|
||||
client = new ClaudeClientV25(
|
||||
{
|
||||
apiKey: 'test-api-key',
|
||||
enableSwarmMode: true,
|
||||
},
|
||||
undefined
|
||||
);
|
||||
});
|
||||
|
||||
afterAll(() => {
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
* Comprehensive test suite for hook pattern matching system
|
||||
*/
|
||||
|
||||
/* eslint-disable */
|
||||
|
||||
import { describe, it, expect, beforeEach, afterEach } from '@jest/globals';
|
||||
import {
|
||||
HookMatcher,
|
||||
|
||||
@@ -16,7 +16,10 @@ import * as path from 'path';
|
||||
import * as os from 'os';
|
||||
|
||||
// Import verification components
|
||||
import TruthScoreCalculator from '../../../../.claude/helpers/truth-score.js';
|
||||
// Dynamic import for CommonJS module
|
||||
import { createRequire } from 'module';
|
||||
const require = createRequire(import.meta.url);
|
||||
const TruthScoreCalc = require('../../../../.claude/helpers/truth-score.js');
|
||||
|
||||
interface MockAgent {
|
||||
id: string;
|
||||
@@ -86,9 +89,9 @@ describe('False Reporting Detection Scenarios', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
tempDir = await fs.mkdtemp(path.join(os.tmpdir(), 'false-reporting-test-'));
|
||||
|
||||
|
||||
// Setup truth score calculator
|
||||
truthCalculator = new TruthScoreCalculator();
|
||||
truthCalculator = new TruthScoreCalc();
|
||||
truthCalculator.configPath = path.join(tempDir, 'verification.json');
|
||||
truthCalculator.memoryPath = path.join(tempDir, 'truth-scores');
|
||||
await truthCalculator.init();
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
* Tests deadlock detection, task scheduling, and resource management
|
||||
*/
|
||||
|
||||
import { describe, it, beforeEach, afterEach } from "../../../test.utils";
|
||||
import { describe, it, beforeEach, afterEach } from "../../test.utils";
|
||||
import { expect } from "@jest/globals";
|
||||
// FakeTime equivalent available in test.utils.ts
|
||||
import { spy, stub } from "../../../test.utils";
|
||||
import { spy, stub } from "../../test.utils";
|
||||
|
||||
import { CoordinationManager } from '../../../src/coordination/manager.ts';
|
||||
import { TaskScheduler } from '../../../src/coordination/scheduler.ts';
|
||||
import { ResourceManager } from '../../../src/coordination/resources.ts';
|
||||
import { ConflictResolver } from '../../../src/coordination/conflict-resolution.ts';
|
||||
import { CircuitBreaker } from '../../../src/coordination/circuit-breaker.ts';
|
||||
import { WorkStealingScheduler } from '../../../src/coordination/work-stealing.ts';
|
||||
import { WorkStealingCoordinator } from '../../../src/coordination/work-stealing.ts';
|
||||
import { DependencyGraph } from '../../../src/coordination/dependency-graph.ts';
|
||||
import { AdvancedScheduler } from '../../../src/coordination/advanced-scheduler.ts';
|
||||
import { AdvancedTaskScheduler } from '../../../src/coordination/advanced-scheduler.ts';
|
||||
import {
|
||||
AsyncTestUtils,
|
||||
MemoryTestUtils,
|
||||
@@ -679,17 +679,17 @@ describe('Coordination System - Comprehensive Tests', () => {
|
||||
});
|
||||
|
||||
describe('Advanced Scheduling Features', () => {
|
||||
let advancedScheduler: AdvancedScheduler;
|
||||
let workStealingScheduler: WorkStealingScheduler;
|
||||
let advancedScheduler: AdvancedTaskScheduler;
|
||||
let workStealingScheduler: WorkStealingCoordinator;
|
||||
|
||||
beforeEach(async () => {
|
||||
advancedScheduler = new AdvancedScheduler({
|
||||
advancedScheduler = new AdvancedTaskScheduler({
|
||||
enableWorkStealing: true,
|
||||
enablePriorityAging: true,
|
||||
enableLoadBalancing: true,
|
||||
});
|
||||
|
||||
workStealingScheduler = new WorkStealingScheduler({
|
||||
workStealingScheduler = new WorkStealingCoordinator({
|
||||
maxWorkersPerQueue: 3,
|
||||
stealingThreshold: 2,
|
||||
balancingInterval: 100,
|
||||
@@ -794,7 +794,7 @@ describe('Coordination System - Comprehensive Tests', () => {
|
||||
});
|
||||
|
||||
it('should handle load balancing across multiple schedulers', async () => {
|
||||
const schedulers = Array.from({ length: 3 }, () => new AdvancedScheduler({
|
||||
const schedulers = Array.from({ length: 3 }, () => new AdvancedTaskScheduler({
|
||||
enableLoadBalancing: true,
|
||||
}));
|
||||
|
||||
|
||||
+3
-1
@@ -35,7 +35,9 @@
|
||||
"typeRoots": ["./node_modules/@types", "./src/types"]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
"src/**/*.ts",
|
||||
"src/**/*.test.ts",
|
||||
"src/__tests__/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
||||
Reference in new issue
Block a user