File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -1394,22 +1394,6 @@ describe("Room", function () {
13941394 expect ( name ) . toEqual ( userB ) ;
13951395 } ) ;
13961396 } ) ;
1397-
1398- it ( "recalculates in acceptable time without heroes" , function ( ) {
1399- for ( let i = 0 ; i < 5000 ; i ++ ) {
1400- addMember ( `@person${ i } :bar` , KnownMembership . Join , { name : `Person ${ i % 20 } ${ i % 10 } ${ i % 3 } ` } ) ;
1401- }
1402-
1403- // This isn't a real performance test and has plenty of headroom because github
1404- // runners don't offer any kind of speed consistency guarantee, but this should at
1405- // least assert that the perf doesn't suddenly become n^2.
1406- const start = performance . now ( ) ;
1407- for ( let i = 0 ; i < 50 ; i ++ ) {
1408- room . recalculate ( ) ;
1409- }
1410- const duration = performance . now ( ) - start ;
1411- expect ( duration ) . toBeLessThan ( 200 ) ;
1412- } ) ;
14131397 } ) ;
14141398
14151399 describe ( "receipts" , function ( ) {
You can’t perform that action at this time.
0 commit comments