625
625
. add ( "1 call" , function ( ) {
626
626
process ( styles , portrait , Platform ) ;
627
627
} )
628
- . add ( "1 call (return early)" , function ( ) {
629
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
630
- } )
631
628
. on ( "cycle" , function ( event ) {
632
629
console . log ( String ( event . target ) ) ;
633
630
} )
@@ -641,13 +638,6 @@ onceRequire
641
638
. add ( "1 call (require)" , function ( ) {
642
639
require ( "./dist/perf-tests/current" ) . process ( styles , portrait , Platform ) ;
643
640
} )
644
- . add ( "1 call (require, return early)" , function ( ) {
645
- require ( "./dist/perf-tests/current" ) . process (
646
- stylesWithoutMediaQueries ,
647
- portrait ,
648
- Platform
649
- ) ;
650
- } )
651
641
. on ( "cycle" , function ( event ) {
652
642
console . log ( String ( event . target ) ) ;
653
643
} )
@@ -664,12 +654,6 @@ fourTimes
664
654
process ( styles , portrait , Platform ) ;
665
655
process ( styles , landscape , Platform ) ;
666
656
} )
667
- . add ( "4 calls (orientation change, return early)" , function ( ) {
668
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
669
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
670
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
671
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
672
- } )
673
657
. on ( "cycle" , function ( event ) {
674
658
console . log ( String ( event . target ) ) ;
675
659
} )
@@ -686,28 +670,6 @@ fourTimesRequire
686
670
require ( "./dist/perf-tests/current" ) . process ( styles , portrait , Platform ) ;
687
671
require ( "./dist/perf-tests/current" ) . process ( styles , landscape , Platform ) ;
688
672
} )
689
- . add ( "4 calls (orientation change, require, return early)" , function ( ) {
690
- require ( "./dist/perf-tests/current" ) . process (
691
- stylesWithoutMediaQueries ,
692
- portrait ,
693
- Platform
694
- ) ;
695
- require ( "./dist/perf-tests/current" ) . process (
696
- stylesWithoutMediaQueries ,
697
- landscape ,
698
- Platform
699
- ) ;
700
- require ( "./dist/perf-tests/current" ) . process (
701
- stylesWithoutMediaQueries ,
702
- portrait ,
703
- Platform
704
- ) ;
705
- require ( "./dist/perf-tests/current" ) . process (
706
- stylesWithoutMediaQueries ,
707
- landscape ,
708
- Platform
709
- ) ;
710
- } )
711
673
. on ( "cycle" , function ( event ) {
712
674
console . log ( String ( event . target ) ) ;
713
675
} )
@@ -728,16 +690,6 @@ eightTimesTheSame
728
690
process ( styles , portrait , Platform ) ;
729
691
process ( styles , portrait , Platform ) ;
730
692
} )
731
- . add ( "8 calls (the same parameters, return early)" , function ( ) {
732
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
733
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
734
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
735
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
736
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
737
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
738
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
739
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
740
- } )
741
693
. on ( "cycle" , function ( event ) {
742
694
console . log ( String ( event . target ) ) ;
743
695
} )
@@ -758,48 +710,6 @@ eightTimesTheSameRequire
758
710
require ( "./dist/perf-tests/current" ) . process ( styles , portrait , Platform ) ;
759
711
require ( "./dist/perf-tests/current" ) . process ( styles , portrait , Platform ) ;
760
712
} )
761
- . add ( "8 calls (the same parameters, require, return early)" , function ( ) {
762
- require ( "./dist/perf-tests/current" ) . process (
763
- stylesWithoutMediaQueries ,
764
- portrait ,
765
- Platform
766
- ) ;
767
- require ( "./dist/perf-tests/current" ) . process (
768
- stylesWithoutMediaQueries ,
769
- portrait ,
770
- Platform
771
- ) ;
772
- require ( "./dist/perf-tests/current" ) . process (
773
- stylesWithoutMediaQueries ,
774
- portrait ,
775
- Platform
776
- ) ;
777
- require ( "./dist/perf-tests/current" ) . process (
778
- stylesWithoutMediaQueries ,
779
- portrait ,
780
- Platform
781
- ) ;
782
- require ( "./dist/perf-tests/current" ) . process (
783
- stylesWithoutMediaQueries ,
784
- portrait ,
785
- Platform
786
- ) ;
787
- require ( "./dist/perf-tests/current" ) . process (
788
- stylesWithoutMediaQueries ,
789
- portrait ,
790
- Platform
791
- ) ;
792
- require ( "./dist/perf-tests/current" ) . process (
793
- stylesWithoutMediaQueries ,
794
- portrait ,
795
- Platform
796
- ) ;
797
- require ( "./dist/perf-tests/current" ) . process (
798
- stylesWithoutMediaQueries ,
799
- portrait ,
800
- Platform
801
- ) ;
802
- } )
803
713
. on ( "cycle" , function ( event ) {
804
714
console . log ( String ( event . target ) ) ;
805
715
} )
@@ -820,16 +730,6 @@ eightTimes
820
730
process ( styles , portrait , Platform ) ;
821
731
process ( styles , landscape , Platform ) ;
822
732
} )
823
- . add ( "8 calls (orientation change, return early)" , function ( ) {
824
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
825
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
826
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
827
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
828
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
829
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
830
- process ( stylesWithoutMediaQueries , portrait , Platform ) ;
831
- process ( stylesWithoutMediaQueries , landscape , Platform ) ;
832
- } )
833
733
. on ( "cycle" , function ( event ) {
834
734
console . log ( String ( event . target ) ) ;
835
735
} )
@@ -850,48 +750,6 @@ eightTimesRequire
850
750
require ( "./dist/perf-tests/current" ) . process ( styles , portrait , Platform ) ;
851
751
require ( "./dist/perf-tests/current" ) . process ( styles , landscape , Platform ) ;
852
752
} )
853
- . add ( "8 calls (orientation change, require, return early)" , function ( ) {
854
- require ( "./dist/perf-tests/current" ) . process (
855
- stylesWithoutMediaQueries ,
856
- portrait ,
857
- Platform
858
- ) ;
859
- require ( "./dist/perf-tests/current" ) . process (
860
- stylesWithoutMediaQueries ,
861
- landscape ,
862
- Platform
863
- ) ;
864
- require ( "./dist/perf-tests/current" ) . process (
865
- stylesWithoutMediaQueries ,
866
- portrait ,
867
- Platform
868
- ) ;
869
- require ( "./dist/perf-tests/current" ) . process (
870
- stylesWithoutMediaQueries ,
871
- landscape ,
872
- Platform
873
- ) ;
874
- require ( "./dist/perf-tests/current" ) . process (
875
- stylesWithoutMediaQueries ,
876
- portrait ,
877
- Platform
878
- ) ;
879
- require ( "./dist/perf-tests/current" ) . process (
880
- stylesWithoutMediaQueries ,
881
- landscape ,
882
- Platform
883
- ) ;
884
- require ( "./dist/perf-tests/current" ) . process (
885
- stylesWithoutMediaQueries ,
886
- portrait ,
887
- Platform
888
- ) ;
889
- require ( "./dist/perf-tests/current" ) . process (
890
- stylesWithoutMediaQueries ,
891
- landscape ,
892
- Platform
893
- ) ;
894
- } )
895
753
. on ( "cycle" , function ( event ) {
896
754
console . log ( String ( event . target ) ) ;
897
755
} )
0 commit comments