Skip to content

Commit 18ab1ec

Browse files
author
github-action-benchmark
committed
add PHPantom Benchmarks (customSmallerIsBetter) benchmark result for 9f125e3
1 parent fd30486 commit 18ab1ec

1 file changed

Lines changed: 193 additions & 1 deletion

File tree

dev/bench/data.js

Lines changed: 193 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.BENCHMARK_DATA = {
2-
"lastUpdate": 1780128698539,
2+
"lastUpdate": 1780132056984,
33
"repoUrl": "https://github.com/PHPantom-dev/phpantom_lsp",
44
"entries": {
55
"PHPantom Benchmarks": [
@@ -55490,6 +55490,198 @@ window.BENCHMARK_DATA = {
5549055490
"unit": "ms"
5549155491
}
5549255492
]
55493+
},
55494+
{
55495+
"commit": {
55496+
"author": {
55497+
"email": "anders@jenbo.dk",
55498+
"name": "Anders Jenbo",
55499+
"username": "AJenbo"
55500+
},
55501+
"committer": {
55502+
"email": "anders@jenbo.dk",
55503+
"name": "Anders Jenbo",
55504+
"username": "AJenbo"
55505+
},
55506+
"distinct": true,
55507+
"id": "9f125e3f3032da746eaeb99196c5dc4b0003f581",
55508+
"message": "Add \"Convert switch to match\" code action and tests\n\n- Implements a `refactor.rewrite` code action to convert eligible\n `switch`\n statements to `match` expressions when all arms are single-expression\n returns or assignments to the same variable.\n- Handles fall-through cases, default arms, and preserves indentation.\n- Only offered for PHP 8.0+ and when conversion is safe.\n- Adds integration and unit tests for conversion logic.\n- Removes completed todo item from docs/todo.md and\n docs/todo/actions.md.\n- Updates changelog with new feature entry.",
55509+
"timestamp": "2026-05-30T10:58:09+02:00",
55510+
"tree_id": "3e654c6dead3fb42bc8d2e495e1eeccad943d031",
55511+
"url": "https://github.com/PHPantom-dev/phpantom_lsp/commit/9f125e3f3032da746eaeb99196c5dc4b0003f581"
55512+
},
55513+
"date": 1780132055513,
55514+
"tool": "customSmallerIsBetter",
55515+
"benches": [
55516+
{
55517+
"name": "cold_start_completion",
55518+
"value": 2.747,
55519+
"range": "± 0.041",
55520+
"unit": "ms"
55521+
},
55522+
{
55523+
"name": "completion_simple_class",
55524+
"value": 0.007,
55525+
"range": "± 0",
55526+
"unit": "ms"
55527+
},
55528+
{
55529+
"name": "completion_inheritance_depth/depth_5",
55530+
"value": 0.057,
55531+
"range": "± 0.001",
55532+
"unit": "ms"
55533+
},
55534+
{
55535+
"name": "completion_inheritance_depth/depth_10",
55536+
"value": 0.092,
55537+
"range": "± 0.001",
55538+
"unit": "ms"
55539+
},
55540+
{
55541+
"name": "completion_inheritance_depth/depth_20",
55542+
"value": 0.176,
55543+
"range": "± 0.001",
55544+
"unit": "ms"
55545+
},
55546+
{
55547+
"name": "completion_classmap_size/100_classes",
55548+
"value": 0.178,
55549+
"range": "± 0.001",
55550+
"unit": "ms"
55551+
},
55552+
{
55553+
"name": "completion_classmap_size/500_classes",
55554+
"value": 0.826,
55555+
"range": "± 0.007",
55556+
"unit": "ms"
55557+
},
55558+
{
55559+
"name": "completion_classmap_size/1000_classes",
55560+
"value": 1.641,
55561+
"range": "± 0.02",
55562+
"unit": "ms"
55563+
},
55564+
{
55565+
"name": "completion_generics_and_mixins",
55566+
"value": 0.056,
55567+
"range": "± 0.001",
55568+
"unit": "ms"
55569+
},
55570+
{
55571+
"name": "completion_with_narrowing",
55572+
"value": 0.016,
55573+
"range": "± 0",
55574+
"unit": "ms"
55575+
},
55576+
{
55577+
"name": "completion_5_method_chain",
55578+
"value": 0.011,
55579+
"range": "± 0",
55580+
"unit": "ms"
55581+
},
55582+
{
55583+
"name": "completion_cross_file_type_hint",
55584+
"value": 0.018,
55585+
"range": "± 0",
55586+
"unit": "ms"
55587+
},
55588+
{
55589+
"name": "completion_carbon_class",
55590+
"value": 3.508,
55591+
"range": "± 0.016",
55592+
"unit": "ms"
55593+
},
55594+
{
55595+
"name": "completion_yii_deep_hierarchy",
55596+
"value": 0.137,
55597+
"range": "± 0.001",
55598+
"unit": "ms"
55599+
},
55600+
{
55601+
"name": "completion_large_file",
55602+
"value": 0.199,
55603+
"range": "± 0.002",
55604+
"unit": "ms"
55605+
},
55606+
{
55607+
"name": "completion_short_file",
55608+
"value": 0.023,
55609+
"range": "± 0",
55610+
"unit": "ms"
55611+
},
55612+
{
55613+
"name": "variable_completion/short",
55614+
"value": 0.011,
55615+
"range": "± 0",
55616+
"unit": "ms"
55617+
},
55618+
{
55619+
"name": "variable_completion/long",
55620+
"value": 0.072,
55621+
"range": "± 0",
55622+
"unit": "ms"
55623+
},
55624+
{
55625+
"name": "hover_method_call",
55626+
"value": 0.082,
55627+
"range": "± 0.008",
55628+
"unit": "ms"
55629+
},
55630+
{
55631+
"name": "goto_definition_method",
55632+
"value": 0.074,
55633+
"range": "± 0.009",
55634+
"unit": "ms"
55635+
},
55636+
{
55637+
"name": "update_ast_parse_time/100_lines",
55638+
"value": 0.192,
55639+
"range": "± 0.001",
55640+
"unit": "ms"
55641+
},
55642+
{
55643+
"name": "update_ast_parse_time/500_lines",
55644+
"value": 1.049,
55645+
"range": "± 0.021",
55646+
"unit": "ms"
55647+
},
55648+
{
55649+
"name": "update_ast_parse_time/2000_lines",
55650+
"value": 5.483,
55651+
"range": "± 0.046",
55652+
"unit": "ms"
55653+
},
55654+
{
55655+
"name": "reparse_500_line_file",
55656+
"value": 1.054,
55657+
"range": "± 0.017",
55658+
"unit": "ms"
55659+
},
55660+
{
55661+
"name": "diagnostics/fixture/lots_of_new_generic_objects",
55662+
"value": 0.034,
55663+
"range": "± 0",
55664+
"unit": "ms"
55665+
},
55666+
{
55667+
"name": "diagnostics/fixture/lots_of_new_objects",
55668+
"value": 0.032,
55669+
"range": "± 0.001",
55670+
"unit": "ms"
55671+
},
55672+
{
55673+
"name": "diagnostics/fixture/lots_of_missing_methods",
55674+
"value": 48.385,
55675+
"range": "± 0.165",
55676+
"unit": "ms"
55677+
},
55678+
{
55679+
"name": "diagnostics/fixture/method_chain",
55680+
"value": 1.091,
55681+
"range": "± 0.016",
55682+
"unit": "ms"
55683+
}
55684+
]
5549355685
}
5549455686
]
5549555687
}

0 commit comments

Comments
 (0)