@@ -448,11 +448,8 @@ export class FormStore {
448
448
} ;
449
449
450
450
private getFields = ( ) : InternalFieldData [ ] => {
451
- console . time ( 'getFieldEntities' ) ;
452
451
const entities = this . getFieldEntities ( true ) ;
453
- console . timeEnd ( 'getFieldEntities' ) ;
454
452
455
- console . time ( 'map fields' ) ;
456
453
const fields = entities . map (
457
454
( field : FieldEntity ) : InternalFieldData => {
458
455
const namePath = field . getNamePath ( ) ;
@@ -470,7 +467,6 @@ export class FormStore {
470
467
return fieldData ;
471
468
} ,
472
469
) ;
473
- console . timeEnd ( 'map fields' ) ;
474
470
475
471
return fields ;
476
472
} ;
@@ -522,11 +518,9 @@ export class FormStore {
522
518
...info ,
523
519
store : this . getFieldsValue ( true ) ,
524
520
} ;
525
- console . time ( `notify ${ info . type } ` ) ;
526
521
this . getFieldEntities ( ) . forEach ( ( { onStoreChange } ) => {
527
522
onStoreChange ( prevStore , namePathList , mergedInfo ) ;
528
523
} ) ;
529
- console . timeEnd ( `notify ${ info . type } ` ) ;
530
524
} else {
531
525
this . forceRootUpdate ( ) ;
532
526
}
@@ -626,9 +620,7 @@ export class FormStore {
626
620
const { onFieldsChange } = this . callbacks ;
627
621
628
622
if ( onFieldsChange ) {
629
- console . time ( 'getFields' ) ;
630
623
const fields = this . getFields ( ) ;
631
- console . timeEnd ( 'getFields' ) ;
632
624
633
625
/**
634
626
* Fill errors since `fields` may be replaced by controlled fields
0 commit comments