Buggy code:
@ Ignore public class SpelCompilationPerformanceTests extends AbstractExpressionTests { int count = 50000 ; int iterations = 10 ; private static final boolean noisyTests = true ; Expression expression ; public static class Payload { SpelCompilationPerformanceTests . Two [ ] DR = new SpelCompilationPerformanceTests . Two [ ] { new SpelCompilationPerformanceTests . Two ( ) } ; public SpelCompilationPerformanceTests . Two [ ] getDR ( ) { } } public static class Two { SpelCompilationPerformanceTests . Three DRFixedSection = new SpelCompilationPerformanceTests . Three ( ) ; public SpelCompilationPerformanceTests . Three getDRFixedSection ( ) { } } public static class Three { double duration = 0.4 ; public double getDuration ( ) { } } @ Test public void inlineLists ( ) throws Exception { } @ Test public void inlineNestedLists ( ) throws Exception { } @ Test public void stringConcatenation ( ) throws Exception { expression = parser . parseExpression ( "'hello'<seq2seq4repair_space>+<seq2seq4repair_space>getWorld()<seq2seq4repair_space>+<seq2seq4repair_space>'<seq2seq4repair_space>spring'" ) ; SpelCompilationPerformanceTests . Greeter g = new SpelCompilationPerformanceTests . Greeter ( ) ; Object o = expression . getValue ( g ) ; assertEquals ( "helloworld<seq2seq4repair_space>spring" , o ) ; <START_BUG> System . out . println ( "Performance<seq2seq4repair_space>check<seq2seq4repair_space>for<seq2seq4repair_space>SpEL<seq2seq4repair_space>expression:<seq2seq4repair_space>'{'abcde','ijklm'}[0].substring({1,3,4}[0],{1,3,4}[1])'" ) ; <END_BUG> long stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; compile ( expression ) ; System . out . println ( "Now<seq2seq4repair_space>compiled:" ) ; o = expression . getValue ( g ) ; assertEquals ( "helloworld<seq2seq4repair_space>spring" , o ) ; stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; stime = System . currentTimeMillis ( ) ; for ( int i = 0 ; i < 1000000 ; i ++ ) { o = expression . getValue ( g ) ; } System . out . println ( ( ( "One<seq2seq4repair_space>million<seq2seq4repair_space>iterations:<seq2seq4repair_space>" + ( ( System . currentTimeMillis ( ) ) - stime ) ) + "ms" ) ) ; } public static class Greeter { public String getWorld ( ) { } } @ Test public void complexExpressionPerformance ( ) throws Exception { } public static class HW { public String hello ( ) { } } @ Test public void compilingMethodReference ( ) throws Exception { } public static class TestClass2 { public String name = "Santa" ; private String name2 = "foobar" ; public String getName2 ( ) { } public SpelCompilationPerformanceTests . TestClass2 . Foo foo = new SpelCompilationPerformanceTests . TestClass2 . Foo ( ) ; public static class Foo { public SpelCompilationPerformanceTests . TestClass2 . Bar bar = new SpelCompilationPerformanceTests . TestClass2 . Bar ( ) ; SpelCompilationPerformanceTests . TestClass2 . Bar b = new SpelCompilationPerformanceTests . TestClass2 . Bar ( ) ; public SpelCompilationPerformanceTests . TestClass2 . Bar getBaz ( ) { } public SpelCompilationPerformanceTests . TestClass2 . Bar bay ( ) { } } public static class Bar { public String boo = "oranges" ; } } @ Test public void compilingPropertyReferenceField ( ) throws Exception { } @ Test public void compilingPropertyReferenceNestedField ( ) throws Exception { } @ Test public void compilingPropertyReferenceNestedMixedFieldGetter ( ) throws Exception { } @ Test public void compilingNestedMixedFieldPropertyReferenceMethodReference ( ) throws Exception { } @ Test public void compilingPropertyReferenceGetter ( ) throws Exception { } private void reportPerformance ( String title , long interpretedTotal , long compiledTotal ) { } private void log ( String message ) { } private void logln ( String ... message ) { } private void compile ( Expression expression ) { } }

Fix:
System . out . println ( "Performance<seq2seq4repair_space>check<seq2seq4repair_space>for<seq2seq4repair_space>SpEL<seq2seq4repair_space>expression:<seq2seq4repair_space>'hello'<seq2seq4repair_space>+<seq2seq4repair_space>getWorld()<seq2seq4repair_space>+<seq2seq4repair_space>'<seq2seq4repair_space>spring'" ) ;