You came to this page from the summary. The page is auto-generated by the Makefile at 2024-11-26 11:19 .

public class org.eolang.benchmark.Big {
  public org.eolang.benchmark.Big();
    Code:
       0: aload_0
       1: invokespecial #29                 // Method java/lang/Object."<init>":()V
       4: return

  public long plain();
    Code:
       0: lconst_0
       1: lstore_1
       2: iconst_0
       3: istore_3
       4: iload_3
       5: getstatic     #34                 // Field VALUES:[Ljava/lang/Object;
       8: arraylength
       9: if_icmpge     55
      12: getstatic     #34                 // Field VALUES:[Ljava/lang/Object;
      15: iload_3
      16: aaload
      17: checkcast     #36                 // class java/lang/String
      20: invokevirtual #40                 // Method java/lang/String.trim:()Ljava/lang/String;
      23: astore        4
      25: aload         4
      27: invokevirtual #44                 // Method java/lang/String.length:()I
      30: iconst_4
      31: if_icmpeq     37
      34: goto          49
      37: lload_1
      38: aload         4
      40: bipush        16
      42: invokestatic  #50                 // Method java/lang/Long.parseLong:(Ljava/lang/String;I)J
      45: lconst_1
      46: ladd
      47: ladd
      48: lstore_1
      49: iinc          3, 1
      52: goto          4
      55: lload_1
      56: lreturn

  public long streams();
    Code:
       0: getstatic     #34                 // Field VALUES:[Ljava/lang/Object;
       3: invokestatic  #57                 // InterfaceMethod java/util/stream/Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
       6: invokedynamic #76,  0             // InvokeDynamic #0:apply:()Ljava/util/function/Function;
      11: invokeinterface #80,  2           // InterfaceMethod java/util/stream/Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
      16: invokedynamic #84,  0             // InvokeDynamic #1:apply:()Ljava/util/function/Function;
      21: invokeinterface #80,  2           // InterfaceMethod java/util/stream/Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
      26: invokedynamic #96,  0             // InvokeDynamic #2:test:()Ljava/util/function/Predicate;
      31: invokeinterface #100,  2          // InterfaceMethod java/util/stream/Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      36: invokedynamic #107,  0            // InvokeDynamic #3:apply:()Ljava/util/function/Function;
      41: invokeinterface #80,  2           // InterfaceMethod java/util/stream/Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
      46: invokedynamic #119,  0            // InvokeDynamic #4:applyAsLong:()Ljava/util/function/ToLongFunction;
      51: invokeinterface #123,  2          // InterfaceMethod java/util/stream/Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
      56: invokeinterface #128,  1          // InterfaceMethod java/util/stream/LongStream.sum:()J
      61: lreturn

  static {};
    Code:
       0: lconst_0
       1: ldc2_w        #146                // long 10000000l
       4: invokestatic  #151                // InterfaceMethod java/util/stream/LongStream.range:(JJ)Ljava/util/stream/LongStream;
       7: invokeinterface #155,  1          // InterfaceMethod java/util/stream/LongStream.boxed:()Ljava/util/stream/Stream;
      12: invokedynamic #160,  0            // InvokeDynamic #5:apply:()Ljava/util/function/Function;
      17: invokeinterface #80,  2           // InterfaceMethod java/util/stream/Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
      22: invokeinterface #164,  1          // InterfaceMethod java/util/stream/Stream.toArray:()[Ljava/lang/Object;
      27: putstatic     #34                 // Field VALUES:[Ljava/lang/Object;
      30: return
}

public class org.eolang.benchmark.Even {
  public org.eolang.benchmark.Even();
    Code:
       0: aload_0
       1: invokespecial #29                 // Method java/lang/Object."<init>":()V
       4: return

  public long plain();
    Code:
       0: lconst_0
       1: lstore_1
       2: iconst_0
       3: istore_3
       4: iload_3
       5: getstatic     #34                 // Field VALUES:[J
       8: arraylength
       9: if_icmpge     38
      12: iload_3
      13: iconst_2
      14: irem
      15: ifne          32
      18: lload_1
      19: getstatic     #34                 // Field VALUES:[J
      22: iload_3
      23: laload
      24: getstatic     #34                 // Field VALUES:[J
      27: iload_3
      28: laload
      29: lmul
      30: ladd
      31: lstore_1
      32: iinc          3, 1
      35: goto          4
      38: lload_1
      39: lreturn

  public long streams();
    Code:
       0: getstatic     #34                 // Field VALUES:[J
       3: invokestatic  #41                 // InterfaceMethod java/util/stream/LongStream.of:([J)Ljava/util/stream/LongStream;
       6: invokedynamic #58,  0             // InvokeDynamic #0:test:()Ljava/util/function/LongPredicate;
      11: invokeinterface #62,  2           // InterfaceMethod java/util/stream/LongStream.filter:(Ljava/util/function/LongPredicate;)Ljava/util/stream/LongStream;
      16: invokedynamic #72,  0             // InvokeDynamic #1:applyAsLong:()Ljava/util/function/LongUnaryOperator;
      21: invokeinterface #76,  2           // InterfaceMethod java/util/stream/LongStream.map:(Ljava/util/function/LongUnaryOperator;)Ljava/util/stream/LongStream;
      26: invokeinterface #79,  1           // InterfaceMethod java/util/stream/LongStream.sum:()J
      31: lreturn

  static {};
    Code:
       0: iconst_0
       1: ldc           #86                 // int 100000000
       3: invokestatic  #92                 // InterfaceMethod java/util/stream/IntStream.range:(II)Ljava/util/stream/IntStream;
       6: invokedynamic #99,  0             // InvokeDynamic #2:applyAsLong:()Ljava/util/function/IntToLongFunction;
      11: invokeinterface #103,  2          // InterfaceMethod java/util/stream/IntStream.mapToLong:(Ljava/util/function/IntToLongFunction;)Ljava/util/stream/LongStream;
      16: invokeinterface #107,  1          // InterfaceMethod java/util/stream/LongStream.toArray:()[J
      21: putstatic     #34                 // Field VALUES:[J
      24: return
}

public class org.eolang.benchmark.Sum {
  public org.eolang.benchmark.Sum();
    Code:
       0: aload_0
       1: invokespecial #29                 // Method java/lang/Object."<init>":()V
       4: return

  public long plain();
    Code:
       0: invokedynamic #49,  0             // InvokeDynamic #0:applyAsLong:()Ljava/util/function/LongUnaryOperator;
       5: astore_1
       6: lconst_0
       7: lstore_2
       8: iconst_0
       9: istore        4
      11: iload         4
      13: getstatic     #53                 // Field VALUES:[J
      16: arraylength
      17: if_icmpge     41
      20: lload_2
      21: aload_1
      22: getstatic     #53                 // Field VALUES:[J
      25: iload         4
      27: laload
      28: invokeinterface #55,  3           // InterfaceMethod java/util/function/LongUnaryOperator.applyAsLong:(J)J
      33: ladd
      34: lstore_2
      35: iinc          4, 1
      38: goto          11
      41: lload_2
      42: lreturn

  public long streams();
    Code:
       0: getstatic     #53                 // Field VALUES:[J
       3: invokestatic  #62                 // InterfaceMethod java/util/stream/LongStream.of:([J)Ljava/util/stream/LongStream;
       6: invokedynamic #67,  0             // InvokeDynamic #1:applyAsLong:()Ljava/util/function/LongUnaryOperator;
      11: invokeinterface #71,  2           // InterfaceMethod java/util/stream/LongStream.map:(Ljava/util/function/LongUnaryOperator;)Ljava/util/stream/LongStream;
      16: invokeinterface #74,  1           // InterfaceMethod java/util/stream/LongStream.sum:()J
      21: lreturn

  static {};
    Code:
       0: iconst_0
       1: ldc           #79                 // int 100000000
       3: invokestatic  #85                 // InterfaceMethod java/util/stream/IntStream.range:(II)Ljava/util/stream/IntStream;
       6: invokedynamic #92,  0             // InvokeDynamic #2:applyAsLong:()Ljava/util/function/IntToLongFunction;
      11: invokeinterface #96,  2           // InterfaceMethod java/util/stream/IntStream.mapToLong:(Ljava/util/function/IntToLongFunction;)Ljava/util/stream/LongStream;
      16: invokeinterface #100,  1          // InterfaceMethod java/util/stream/LongStream.toArray:()[J
      21: putstatic     #53                 // Field VALUES:[J
      24: return
}