Adding test case for the problem.
The issue has been fixed by a patch for #26106.
--- /dev/null
+puts "========="
+puts "0023795: Performance regression of meshing"
+puts "========="
+puts ""
+
+restore [locate_data_file bug23795_s.brep] result
+
+dchrono t restart
+incmesh result 0.1
+dchrono t stop counter MeshBug23795
+
+checktrinfo result -tri 10992 -nod 11016 -defl 0.1
+
+vinit
+vdefaults -autoTriang 0
+vsetdispmode 1
+vdisplay result
+vfit
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png