diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index f719cc72..00000000 --- a/.editorconfig +++ /dev/null @@ -1,1584 +0,0 @@ -[*] -charset = utf-8 -end_of_line = lf -indent_size = 4 -indent_style = space -insert_final_newline = false -max_line_length = 120 -tab_width = 4 -ij_continuation_indent_size = 8 -ij_formatter_off_tag = @formatter:off -ij_formatter_on_tag = @formatter:on -ij_formatter_tags_enabled = false -ij_smart_tabs = false -ij_wrap_on_typing = false - -[*.css] -ij_css_align_closing_brace_with_properties = false -ij_css_blank_lines_around_nested_selector = 1 -ij_css_blank_lines_between_blocks = 1 -ij_css_brace_placement = end_of_line -ij_css_enforce_quotes_on_format = false -ij_css_hex_color_long_format = false -ij_css_hex_color_lower_case = false -ij_css_hex_color_short_format = false -ij_css_hex_color_upper_case = false -ij_css_keep_blank_lines_in_code = 2 -ij_css_keep_indents_on_empty_lines = false -ij_css_keep_single_line_blocks = false -ij_css_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow -ij_css_space_after_colon = true -ij_css_space_before_opening_brace = true -ij_css_use_double_quotes = true -ij_css_value_alignment = do_not_align - -[*.feature] -indent_size = 2 -ij_gherkin_keep_indents_on_empty_lines = false - -[*.gsp] -ij_gsp_keep_indents_on_empty_lines = false - -[*.haml] -indent_size = 2 -ij_haml_keep_indents_on_empty_lines = false - -[*.java] -ij_java_align_consecutive_assignments = false -ij_java_align_consecutive_variable_declarations = true -ij_java_align_group_field_declarations = false -ij_java_align_multiline_annotation_parameters = true -ij_java_align_multiline_array_initializer_expression = true -ij_java_align_multiline_assignment = true -ij_java_align_multiline_binary_operation = false -ij_java_align_multiline_chained_methods = true -ij_java_align_multiline_extends_list = false -ij_java_align_multiline_for = true -ij_java_align_multiline_method_parentheses = true -ij_java_align_multiline_parameters = true -ij_java_align_multiline_parameters_in_calls = true -ij_java_align_multiline_parenthesized_expression = false -ij_java_align_multiline_records = true -ij_java_align_multiline_resources = true -ij_java_align_multiline_ternary_operation = true -ij_java_align_multiline_text_blocks = false -ij_java_align_multiline_throws_list = false -ij_java_align_subsequent_simple_methods = false -ij_java_align_throws_keyword = false -ij_java_annotation_parameter_wrap = off -ij_java_array_initializer_new_line_after_left_brace = false -ij_java_array_initializer_right_brace_on_new_line = false -ij_java_array_initializer_wrap = off -ij_java_assert_statement_colon_on_next_line = false -ij_java_assert_statement_wrap = off -ij_java_assignment_wrap = off -ij_java_binary_operation_sign_on_next_line = false -ij_java_binary_operation_wrap = off -ij_java_blank_lines_after_anonymous_class_header = 0 -ij_java_blank_lines_after_class_header = 0 -ij_java_blank_lines_after_imports = 1 -ij_java_blank_lines_after_package = 1 -ij_java_blank_lines_around_class = 1 -ij_java_blank_lines_around_field = 0 -ij_java_blank_lines_around_field_in_interface = 0 -ij_java_blank_lines_around_initializer = 1 -ij_java_blank_lines_around_method = 1 -ij_java_blank_lines_around_method_in_interface = 1 -ij_java_blank_lines_before_class_end = 0 -ij_java_blank_lines_before_imports = 1 -ij_java_blank_lines_before_method_body = 0 -ij_java_blank_lines_before_package = 0 -ij_java_block_brace_style = end_of_line -ij_java_block_comment_at_first_column = true -ij_java_call_parameters_new_line_after_left_paren = false -ij_java_call_parameters_right_paren_on_new_line = true -ij_java_call_parameters_wrap = split_into_lines -ij_java_case_statement_on_separate_line = true -ij_java_catch_on_new_line = false -ij_java_class_annotation_wrap = split_into_lines -ij_java_class_brace_style = end_of_line -ij_java_class_count_to_use_import_on_demand = 5 -ij_java_class_names_in_javadoc = 1 -ij_java_do_not_indent_top_level_class_members = false -ij_java_do_not_wrap_after_single_annotation = false -ij_java_do_while_brace_force = never -ij_java_doc_add_blank_line_after_description = true -ij_java_doc_add_blank_line_after_param_comments = false -ij_java_doc_add_blank_line_after_return = false -ij_java_doc_add_p_tag_on_empty_lines = true -ij_java_doc_align_exception_comments = true -ij_java_doc_align_param_comments = true -ij_java_doc_do_not_wrap_if_one_line = true -ij_java_doc_enable_formatting = true -ij_java_doc_enable_leading_asterisks = false -ij_java_doc_indent_on_continuation = true -ij_java_doc_keep_empty_lines = false -ij_java_doc_keep_empty_parameter_tag = true -ij_java_doc_keep_empty_return_tag = true -ij_java_doc_keep_empty_throws_tag = true -ij_java_doc_keep_invalid_tags = true -ij_java_doc_param_description_on_new_line = false -ij_java_doc_preserve_line_breaks = true -ij_java_doc_use_throws_not_exception_tag = true -ij_java_else_on_new_line = true -ij_java_entity_dd_suffix = EJB -ij_java_entity_eb_suffix = Bean -ij_java_entity_hi_suffix = Home -ij_java_entity_lhi_prefix = Local -ij_java_entity_lhi_suffix = Home -ij_java_entity_li_prefix = Local -ij_java_entity_pk_class = java.lang.String -ij_java_entity_vo_suffix = VO -ij_java_enum_constants_wrap = off -ij_java_extends_keyword_wrap = off -ij_java_extends_list_wrap = off -ij_java_field_annotation_wrap = split_into_lines -ij_java_finally_on_new_line = false -ij_java_for_brace_force = never -ij_java_for_statement_new_line_after_left_paren = false -ij_java_for_statement_right_paren_on_new_line = true -ij_java_for_statement_wrap = off -ij_java_generate_final_locals = true -ij_java_generate_final_parameters = true -ij_java_if_brace_force = never -ij_java_imports_layout = *,|,javax.**,java.**,|,$* -ij_java_indent_case_from_switch = true -ij_java_insert_inner_class_imports = false -ij_java_insert_override_annotation = true -ij_java_keep_blank_lines_before_right_brace = 2 -ij_java_keep_blank_lines_between_package_declaration_and_header = 2 -ij_java_keep_blank_lines_in_code = 2 -ij_java_keep_blank_lines_in_declarations = 2 -ij_java_keep_control_statement_in_one_line = true -ij_java_keep_first_column_comment = true -ij_java_keep_indents_on_empty_lines = false -ij_java_keep_line_breaks = true -ij_java_keep_multiple_expressions_in_one_line = false -ij_java_keep_simple_blocks_in_one_line = false -ij_java_keep_simple_classes_in_one_line = false -ij_java_keep_simple_lambdas_in_one_line = false -ij_java_keep_simple_methods_in_one_line = false -ij_java_label_indent_absolute = false -ij_java_label_indent_size = 0 -ij_java_lambda_brace_style = end_of_line -ij_java_layout_static_imports_separately = true -ij_java_line_comment_add_space = false -ij_java_line_comment_at_first_column = true -ij_java_message_dd_suffix = EJB -ij_java_message_eb_suffix = Bean -ij_java_method_annotation_wrap = split_into_lines -ij_java_method_brace_style = end_of_line -ij_java_method_call_chain_wrap = split_into_lines -ij_java_method_parameters_new_line_after_left_paren = false -ij_java_method_parameters_right_paren_on_new_line = false -ij_java_method_parameters_wrap = split_into_lines -ij_java_modifier_list_wrap = false -ij_java_names_count_to_use_import_on_demand = 3 -ij_java_new_line_after_lparen_in_record_header = false -ij_java_packages_to_use_import_on_demand = java.awt.*,javax.swing.* -ij_java_parameter_annotation_wrap = off -ij_java_parentheses_expression_new_line_after_left_paren = false -ij_java_parentheses_expression_right_paren_on_new_line = false -ij_java_place_assignment_sign_on_next_line = false -ij_java_prefer_longer_names = true -ij_java_prefer_parameters_wrap = false -ij_java_record_components_wrap = normal -ij_java_repeat_synchronized = true -ij_java_replace_instanceof_and_cast = false -ij_java_replace_null_check = true -ij_java_replace_sum_lambda_with_method_ref = true -ij_java_resource_list_new_line_after_left_paren = false -ij_java_resource_list_right_paren_on_new_line = true -ij_java_resource_list_wrap = split_into_lines -ij_java_rparen_on_new_line_in_record_header = false -ij_java_session_dd_suffix = EJB -ij_java_session_eb_suffix = Bean -ij_java_session_hi_suffix = Home -ij_java_session_lhi_prefix = Local -ij_java_session_lhi_suffix = Home -ij_java_session_li_prefix = Local -ij_java_session_si_suffix = Service -ij_java_space_after_closing_angle_bracket_in_type_argument = false -ij_java_space_after_colon = true -ij_java_space_after_comma = true -ij_java_space_after_comma_in_type_arguments = true -ij_java_space_after_for_semicolon = true -ij_java_space_after_quest = true -ij_java_space_after_type_cast = true -ij_java_space_before_annotation_array_initializer_left_brace = false -ij_java_space_before_annotation_parameter_list = false -ij_java_space_before_array_initializer_left_brace = false -ij_java_space_before_catch_keyword = true -ij_java_space_before_catch_left_brace = true -ij_java_space_before_catch_parentheses = true -ij_java_space_before_class_left_brace = true -ij_java_space_before_colon = true -ij_java_space_before_colon_in_foreach = true -ij_java_space_before_comma = false -ij_java_space_before_do_left_brace = true -ij_java_space_before_else_keyword = true -ij_java_space_before_else_left_brace = true -ij_java_space_before_finally_keyword = true -ij_java_space_before_finally_left_brace = true -ij_java_space_before_for_left_brace = true -ij_java_space_before_for_parentheses = true -ij_java_space_before_for_semicolon = false -ij_java_space_before_if_left_brace = true -ij_java_space_before_if_parentheses = true -ij_java_space_before_method_call_parentheses = false -ij_java_space_before_method_left_brace = true -ij_java_space_before_method_parentheses = false -ij_java_space_before_opening_angle_bracket_in_type_parameter = false -ij_java_space_before_quest = true -ij_java_space_before_switch_left_brace = true -ij_java_space_before_switch_parentheses = true -ij_java_space_before_synchronized_left_brace = true -ij_java_space_before_synchronized_parentheses = true -ij_java_space_before_try_left_brace = true -ij_java_space_before_try_parentheses = true -ij_java_space_before_type_parameter_list = false -ij_java_space_before_while_keyword = true -ij_java_space_before_while_left_brace = true -ij_java_space_before_while_parentheses = true -ij_java_space_inside_one_line_enum_braces = false -ij_java_space_within_empty_array_initializer_braces = false -ij_java_space_within_empty_method_call_parentheses = false -ij_java_space_within_empty_method_parentheses = false -ij_java_spaces_around_additive_operators = true -ij_java_spaces_around_assignment_operators = true -ij_java_spaces_around_bitwise_operators = true -ij_java_spaces_around_equality_operators = true -ij_java_spaces_around_lambda_arrow = true -ij_java_spaces_around_logical_operators = true -ij_java_spaces_around_method_ref_dbl_colon = false -ij_java_spaces_around_multiplicative_operators = true -ij_java_spaces_around_relational_operators = true -ij_java_spaces_around_shift_operators = true -ij_java_spaces_around_type_bounds_in_type_parameters = true -ij_java_spaces_around_unary_operator = false -ij_java_spaces_within_angle_brackets = false -ij_java_spaces_within_annotation_parentheses = false -ij_java_spaces_within_array_initializer_braces = false -ij_java_spaces_within_braces = false -ij_java_spaces_within_brackets = false -ij_java_spaces_within_cast_parentheses = false -ij_java_spaces_within_catch_parentheses = false -ij_java_spaces_within_for_parentheses = false -ij_java_spaces_within_if_parentheses = false -ij_java_spaces_within_method_call_parentheses = false -ij_java_spaces_within_method_parentheses = false -ij_java_spaces_within_parentheses = false -ij_java_spaces_within_switch_parentheses = false -ij_java_spaces_within_synchronized_parentheses = false -ij_java_spaces_within_try_parentheses = false -ij_java_spaces_within_while_parentheses = false -ij_java_special_else_if_treatment = true -ij_java_subclass_name_suffix = Impl -ij_java_ternary_operation_signs_on_next_line = true -ij_java_ternary_operation_wrap = off -ij_java_test_name_suffix = Test -ij_java_throws_keyword_wrap = off -ij_java_throws_list_wrap = off -ij_java_use_external_annotations = false -ij_java_use_fq_class_names = false -ij_java_use_relative_indents = false -ij_java_use_single_class_imports = true -ij_java_variable_annotation_wrap = off -ij_java_visibility = public -ij_java_while_brace_force = never -ij_java_while_on_new_line = false -ij_java_wrap_comments = false -ij_java_wrap_first_method_in_call_chain = false -ij_java_wrap_long_lines = false - -[*.less] -indent_size = 2 -ij_less_align_closing_brace_with_properties = false -ij_less_blank_lines_around_nested_selector = 1 -ij_less_blank_lines_between_blocks = 1 -ij_less_brace_placement = 0 -ij_less_enforce_quotes_on_format = false -ij_less_hex_color_long_format = false -ij_less_hex_color_lower_case = false -ij_less_hex_color_short_format = false -ij_less_hex_color_upper_case = false -ij_less_keep_blank_lines_in_code = 2 -ij_less_keep_indents_on_empty_lines = false -ij_less_keep_single_line_blocks = false -ij_less_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow -ij_less_space_after_colon = true -ij_less_space_before_opening_brace = true -ij_less_use_double_quotes = true -ij_less_value_alignment = 0 - -[*.postfixtemplates] -ij_cpt_align_group_field_declarations = false -ij_cpt_keep_blank_lines_in_code = 2 -ij_cpt_keep_indents_on_empty_lines = false -ij_cpt_spaces_around_assignment_operators = true -ij_cpt_spaces_around_lambda_arrow = true - -[*.sass] -indent_size = 2 -ij_sass_align_closing_brace_with_properties = false -ij_sass_blank_lines_around_nested_selector = 1 -ij_sass_blank_lines_between_blocks = 1 -ij_sass_brace_placement = 0 -ij_sass_enforce_quotes_on_format = false -ij_sass_hex_color_long_format = false -ij_sass_hex_color_lower_case = false -ij_sass_hex_color_short_format = false -ij_sass_hex_color_upper_case = false -ij_sass_keep_blank_lines_in_code = 2 -ij_sass_keep_indents_on_empty_lines = false -ij_sass_keep_single_line_blocks = false -ij_sass_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow -ij_sass_space_after_colon = true -ij_sass_space_before_opening_brace = true -ij_sass_use_double_quotes = true -ij_sass_value_alignment = 0 - -[*.scala] -indent_size = 2 -tab_width = 2 -ij_continuation_indent_size = 2 -ij_scala_align_composite_pattern = true -ij_scala_align_extends_with = 0 -ij_scala_align_group_field_declarations = false -ij_scala_align_if_else = false -ij_scala_align_in_columns_case_branch = false -ij_scala_align_multiline_binary_operation = false -ij_scala_align_multiline_chained_methods = false -ij_scala_align_multiline_for = true -ij_scala_align_multiline_parameters = true -ij_scala_align_multiline_parameters_in_calls = false -ij_scala_align_multiline_parenthesized_expression = false -ij_scala_align_tuple_elements = false -ij_scala_align_types_in_multiline_declarations = false -ij_scala_alternate_continuation_indent_for_params = 4 -ij_scala_binary_operation_wrap = off -ij_scala_blank_lines_after_anonymous_class_header = 0 -ij_scala_blank_lines_after_class_header = 0 -ij_scala_blank_lines_after_imports = 1 -ij_scala_blank_lines_after_package = 1 -ij_scala_blank_lines_around_class = 1 -ij_scala_blank_lines_around_field = 0 -ij_scala_blank_lines_around_field_in_inner_scopes = 0 -ij_scala_blank_lines_around_field_in_interface = 0 -ij_scala_blank_lines_around_method = 1 -ij_scala_blank_lines_around_method_in_inner_scopes = 1 -ij_scala_blank_lines_around_method_in_interface = 1 -ij_scala_blank_lines_before_imports = 1 -ij_scala_blank_lines_before_method_body = 0 -ij_scala_blank_lines_before_package = 0 -ij_scala_block_brace_style = end_of_line -ij_scala_block_comment_at_first_column = true -ij_scala_call_parameters_new_line_after_lparen = 0 -ij_scala_call_parameters_right_paren_on_new_line = false -ij_scala_call_parameters_wrap = off -ij_scala_case_clause_brace_force = never -ij_scala_catch_on_new_line = false -ij_scala_class_annotation_wrap = split_into_lines -ij_scala_class_brace_style = end_of_line -ij_scala_closure_brace_force = never -ij_scala_do_not_align_block_expr_params = true -ij_scala_do_not_indent_case_clause_body = false -ij_scala_do_not_indent_tuples_close_brace = true -ij_scala_do_while_brace_force = never -ij_scala_else_on_new_line = false -ij_scala_enable_scaladoc_formatting = true -ij_scala_enforce_functional_syntax_for_unit = true -ij_scala_extends_keyword_wrap = off -ij_scala_extends_list_wrap = off -ij_scala_field_annotation_wrap = split_into_lines -ij_scala_finally_brace_force = never -ij_scala_finally_on_new_line = false -ij_scala_for_brace_force = never -ij_scala_for_statement_wrap = off -ij_scala_formatter = 0 -ij_scala_if_brace_force = never -ij_scala_implicit_value_class_suffix = Ops -ij_scala_indent_braced_function_args = true -ij_scala_indent_case_from_switch = true -ij_scala_indent_first_parameter = true -ij_scala_indent_first_parameter_clause = false -ij_scala_indent_type_arguments = true -ij_scala_indent_type_parameters = true -ij_scala_insert_whitespaces_in_simple_one_line_method = true -ij_scala_keep_blank_lines_before_right_brace = 2 -ij_scala_keep_blank_lines_in_code = 2 -ij_scala_keep_blank_lines_in_declarations = 2 -ij_scala_keep_comments_on_same_line = true -ij_scala_keep_first_column_comment = false -ij_scala_keep_indents_on_empty_lines = false -ij_scala_keep_line_breaks = true -ij_scala_keep_one_line_lambdas_in_arg_list = false -ij_scala_keep_simple_blocks_in_one_line = false -ij_scala_keep_simple_methods_in_one_line = false -ij_scala_keep_xml_formatting = false -ij_scala_line_comment_at_first_column = true -ij_scala_method_annotation_wrap = split_into_lines -ij_scala_method_brace_force = never -ij_scala_method_brace_style = end_of_line -ij_scala_method_call_chain_wrap = off -ij_scala_method_parameters_new_line_after_left_paren = false -ij_scala_method_parameters_right_paren_on_new_line = false -ij_scala_method_parameters_wrap = off -ij_scala_modifier_list_wrap = false -ij_scala_multiline_string_align_dangling_closing_quotes = false -ij_scala_multiline_string_closing_quotes_on_new_line = false -ij_scala_multiline_string_insert_margin_on_enter = true -ij_scala_multiline_string_margin_char = | -ij_scala_multiline_string_margin_indent = 2 -ij_scala_multiline_string_opening_quotes_on_new_line = true -ij_scala_multiline_string_process_margin_on_copy_paste = true -ij_scala_newline_after_annotations = false -ij_scala_not_continuation_indent_for_params = false -ij_scala_parameter_annotation_wrap = off -ij_scala_parentheses_expression_new_line_after_left_paren = false -ij_scala_parentheses_expression_right_paren_on_new_line = false -ij_scala_place_closure_parameters_on_new_line = false -ij_scala_place_self_type_on_new_line = true -ij_scala_prefer_parameters_wrap = false -ij_scala_preserve_space_after_method_declaration_name = false -ij_scala_reformat_on_compile = false -ij_scala_replace_case_arrow_with_unicode_char = false -ij_scala_replace_for_generator_arrow_with_unicode_char = false -ij_scala_replace_lambda_with_greek_letter = false -ij_scala_replace_map_arrow_with_unicode_char = false -ij_scala_scalafmt_reformat_on_files_save = false -ij_scala_scalafmt_show_invalid_code_warnings = true -ij_scala_scalafmt_use_intellij_formatter_for_range_format = true -ij_scala_sd_align_exception_comments = true -ij_scala_sd_align_other_tags_comments = true -ij_scala_sd_align_parameters_comments = true -ij_scala_sd_align_return_comments = true -ij_scala_sd_blank_line_after_parameters_comments = false -ij_scala_sd_blank_line_after_return_comments = false -ij_scala_sd_blank_line_before_parameters = false -ij_scala_sd_blank_line_before_tags = true -ij_scala_sd_blank_line_between_parameters = false -ij_scala_sd_keep_blank_lines_between_tags = false -ij_scala_sd_preserve_spaces_in_tags = false -ij_scala_space_after_comma = true -ij_scala_space_after_for_semicolon = true -ij_scala_space_after_modifiers_constructor = false -ij_scala_space_after_type_colon = true -ij_scala_space_before_brace_method_call = true -ij_scala_space_before_class_left_brace = true -ij_scala_space_before_infix_like_method_parentheses = false -ij_scala_space_before_infix_method_call_parentheses = false -ij_scala_space_before_infix_operator_like_method_call_parentheses = true -ij_scala_space_before_method_call_parentheses = false -ij_scala_space_before_method_left_brace = true -ij_scala_space_before_method_parentheses = false -ij_scala_space_before_type_colon = false -ij_scala_space_before_type_parameter_in_def_list = false -ij_scala_space_before_type_parameter_leading_context_bound_colon = false -ij_scala_space_before_type_parameter_leading_context_bound_colon_hk = true -ij_scala_space_before_type_parameter_list = false -ij_scala_space_before_type_parameter_rest_context_bound_colons = true -ij_scala_space_inside_closure_braces = true -ij_scala_space_inside_self_type_braces = true -ij_scala_space_within_empty_method_call_parentheses = false -ij_scala_spaces_around_at_in_patterns = false -ij_scala_spaces_in_imports = false -ij_scala_spaces_in_one_line_blocks = false -ij_scala_spaces_within_brackets = false -ij_scala_spaces_within_for_parentheses = false -ij_scala_spaces_within_if_parentheses = false -ij_scala_spaces_within_method_call_parentheses = false -ij_scala_spaces_within_method_parentheses = false -ij_scala_spaces_within_parentheses = false -ij_scala_spaces_within_while_parentheses = false -ij_scala_special_else_if_treatment = true -ij_scala_trailing_comma_arg_list_enabled = true -ij_scala_trailing_comma_import_selector_enabled = false -ij_scala_trailing_comma_mode = trailing_comma_keep -ij_scala_trailing_comma_params_enabled = true -ij_scala_trailing_comma_pattern_arg_list_enabled = false -ij_scala_trailing_comma_tuple_enabled = false -ij_scala_trailing_comma_tuple_type_enabled = false -ij_scala_trailing_comma_type_params_enabled = false -ij_scala_try_brace_force = never -ij_scala_type_annotation_exclude_constant = true -ij_scala_type_annotation_exclude_in_dialect_sources = true -ij_scala_type_annotation_exclude_in_test_sources = false -ij_scala_type_annotation_exclude_member_of_anonymous_class = false -ij_scala_type_annotation_exclude_member_of_private_class = false -ij_scala_type_annotation_exclude_when_type_is_stable = true -ij_scala_type_annotation_function_parameter = false -ij_scala_type_annotation_implicit_modifier = true -ij_scala_type_annotation_local_definition = false -ij_scala_type_annotation_private_member = false -ij_scala_type_annotation_protected_member = true -ij_scala_type_annotation_public_member = true -ij_scala_type_annotation_structural_type = true -ij_scala_type_annotation_underscore_parameter = false -ij_scala_type_annotation_unit_type = true -ij_scala_use_alternate_continuation_indent_for_params = false -ij_scala_use_scaladoc2_formatting = false -ij_scala_variable_annotation_wrap = off -ij_scala_while_brace_force = never -ij_scala_while_on_new_line = false -ij_scala_wrap_before_with_keyword = false -ij_scala_wrap_first_method_in_call_chain = false -ij_scala_wrap_long_lines = false - -[*.scss] -indent_size = 2 -ij_scss_align_closing_brace_with_properties = false -ij_scss_blank_lines_around_nested_selector = 1 -ij_scss_blank_lines_between_blocks = 1 -ij_scss_brace_placement = 0 -ij_scss_enforce_quotes_on_format = false -ij_scss_hex_color_long_format = false -ij_scss_hex_color_lower_case = false -ij_scss_hex_color_short_format = false -ij_scss_hex_color_upper_case = false -ij_scss_keep_blank_lines_in_code = 2 -ij_scss_keep_indents_on_empty_lines = false -ij_scss_keep_single_line_blocks = false -ij_scss_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow -ij_scss_space_after_colon = true -ij_scss_space_before_opening_brace = true -ij_scss_use_double_quotes = true -ij_scss_value_alignment = 0 - -[*.styl] -indent_size = 2 -ij_stylus_align_closing_brace_with_properties = false -ij_stylus_blank_lines_around_nested_selector = 1 -ij_stylus_blank_lines_between_blocks = 1 -ij_stylus_brace_placement = 0 -ij_stylus_enforce_quotes_on_format = false -ij_stylus_hex_color_long_format = false -ij_stylus_hex_color_lower_case = false -ij_stylus_hex_color_short_format = false -ij_stylus_hex_color_upper_case = false -ij_stylus_keep_blank_lines_in_code = 2 -ij_stylus_keep_indents_on_empty_lines = false -ij_stylus_keep_single_line_blocks = false -ij_stylus_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow -ij_stylus_space_after_colon = true -ij_stylus_space_before_opening_brace = true -ij_stylus_use_double_quotes = true -ij_stylus_value_alignment = 0 - -[.editorconfig] -ij_editorconfig_align_group_field_declarations = false -ij_editorconfig_space_after_colon = false -ij_editorconfig_space_after_comma = true -ij_editorconfig_space_before_colon = false -ij_editorconfig_space_before_comma = false -ij_editorconfig_spaces_around_assignment_operators = true - -[{*.ant,*.bpmn,*.fxml,*.jhm,*.jnlp,*.jrxml,*.plan,*.pom,*.rng,*.tld,*.wadl,*.wsdd,*.wsdl,*.xjb,*.xml,*.xsd,*.xsl,*.xslt,*.xul}] -ij_xml_align_attributes = true -ij_xml_align_text = false -ij_xml_attribute_wrap = normal -ij_xml_block_comment_at_first_column = true -ij_xml_keep_blank_lines = 2 -ij_xml_keep_indents_on_empty_lines = false -ij_xml_keep_line_breaks = true -ij_xml_keep_line_breaks_in_text = true -ij_xml_keep_whitespaces = false -ij_xml_keep_whitespaces_around_cdata = preserve -ij_xml_keep_whitespaces_inside_cdata = false -ij_xml_line_comment_at_first_column = true -ij_xml_space_after_tag_name = false -ij_xml_space_around_equals_in_attribute = false -ij_xml_space_inside_empty_tag = false -ij_xml_text_wrap = normal -ij_xml_use_custom_settings = false - -[{*.as,*.es,*.js2}] -ij_actionscript_align_imports = false -ij_actionscript_align_multiline_array_initializer_expression = false -ij_actionscript_align_multiline_binary_operation = false -ij_actionscript_align_multiline_chained_methods = false -ij_actionscript_align_multiline_extends_list = false -ij_actionscript_align_multiline_for = true -ij_actionscript_align_multiline_parameters = true -ij_actionscript_align_multiline_parameters_in_calls = false -ij_actionscript_align_multiline_ternary_operation = false -ij_actionscript_align_object_properties = 0 -ij_actionscript_align_union_types = false -ij_actionscript_align_var_statements = 0 -ij_actionscript_array_initializer_new_line_after_left_brace = false -ij_actionscript_array_initializer_right_brace_on_new_line = false -ij_actionscript_array_initializer_wrap = off -ij_actionscript_assignment_wrap = off -ij_actionscript_binary_operation_sign_on_next_line = false -ij_actionscript_binary_operation_wrap = off -ij_actionscript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** -ij_actionscript_blank_lines_after_imports = 1 -ij_actionscript_blank_lines_after_package = 0 -ij_actionscript_blank_lines_around_function = 1 -ij_actionscript_blank_lines_around_method = 1 -ij_actionscript_blank_lines_before_imports = 1 -ij_actionscript_blank_lines_before_package = 0 -ij_actionscript_block_brace_style = end_of_line -ij_actionscript_call_parameters_new_line_after_left_paren = false -ij_actionscript_call_parameters_right_paren_on_new_line = false -ij_actionscript_call_parameters_wrap = off -ij_actionscript_catch_on_new_line = false -ij_actionscript_chained_call_dot_on_new_line = true -ij_actionscript_class_brace_style = end_of_line -ij_actionscript_comma_on_new_line = false -ij_actionscript_do_while_brace_force = never -ij_actionscript_else_on_new_line = false -ij_actionscript_enforce_trailing_comma = keep -ij_actionscript_extends_keyword_wrap = off -ij_actionscript_extends_list_wrap = off -ij_actionscript_field_prefix = _ -ij_actionscript_file_name_style = relaxed -ij_actionscript_finally_on_new_line = false -ij_actionscript_for_brace_force = never -ij_actionscript_for_statement_new_line_after_left_paren = false -ij_actionscript_for_statement_right_paren_on_new_line = false -ij_actionscript_for_statement_wrap = off -ij_actionscript_force_quote_style = false -ij_actionscript_force_semicolon_style = false -ij_actionscript_function_expression_brace_style = end_of_line -ij_actionscript_if_brace_force = never -ij_actionscript_import_merge_members = global -ij_actionscript_import_prefer_absolute_path = global -ij_actionscript_import_sort_members = true -ij_actionscript_import_sort_module_name = false -ij_actionscript_import_use_node_resolution = true -ij_actionscript_imports_wrap = on_every_item -ij_actionscript_indent_case_from_switch = true -ij_actionscript_indent_chained_calls = true -ij_actionscript_indent_package_children = 0 -ij_actionscript_jsx_attribute_value = braces -ij_actionscript_keep_blank_lines_in_code = 2 -ij_actionscript_keep_first_column_comment = true -ij_actionscript_keep_indents_on_empty_lines = false -ij_actionscript_keep_line_breaks = true -ij_actionscript_keep_simple_blocks_in_one_line = false -ij_actionscript_keep_simple_methods_in_one_line = false -ij_actionscript_line_comment_at_first_column = true -ij_actionscript_method_brace_style = end_of_line -ij_actionscript_method_call_chain_wrap = off -ij_actionscript_method_parameters_new_line_after_left_paren = false -ij_actionscript_method_parameters_right_paren_on_new_line = false -ij_actionscript_method_parameters_wrap = off -ij_actionscript_object_literal_wrap = on_every_item -ij_actionscript_parentheses_expression_new_line_after_left_paren = false -ij_actionscript_parentheses_expression_right_paren_on_new_line = false -ij_actionscript_place_assignment_sign_on_next_line = false -ij_actionscript_prefer_as_type_cast = false -ij_actionscript_prefer_explicit_types_function_expression_returns = false -ij_actionscript_prefer_explicit_types_function_returns = false -ij_actionscript_prefer_explicit_types_vars_fields = false -ij_actionscript_prefer_parameters_wrap = false -ij_actionscript_reformat_c_style_comments = false -ij_actionscript_space_after_colon = true -ij_actionscript_space_after_comma = true -ij_actionscript_space_after_dots_in_rest_parameter = false -ij_actionscript_space_after_generator_mult = true -ij_actionscript_space_after_property_colon = true -ij_actionscript_space_after_quest = true -ij_actionscript_space_after_type_colon = false -ij_actionscript_space_after_unary_not = false -ij_actionscript_space_before_async_arrow_lparen = true -ij_actionscript_space_before_catch_keyword = true -ij_actionscript_space_before_catch_left_brace = true -ij_actionscript_space_before_catch_parentheses = true -ij_actionscript_space_before_class_lbrace = true -ij_actionscript_space_before_colon = true -ij_actionscript_space_before_comma = false -ij_actionscript_space_before_do_left_brace = true -ij_actionscript_space_before_else_keyword = true -ij_actionscript_space_before_else_left_brace = true -ij_actionscript_space_before_finally_keyword = true -ij_actionscript_space_before_finally_left_brace = true -ij_actionscript_space_before_for_left_brace = true -ij_actionscript_space_before_for_parentheses = true -ij_actionscript_space_before_for_semicolon = false -ij_actionscript_space_before_function_left_parenth = true -ij_actionscript_space_before_generator_mult = false -ij_actionscript_space_before_if_left_brace = true -ij_actionscript_space_before_if_parentheses = true -ij_actionscript_space_before_method_call_parentheses = false -ij_actionscript_space_before_method_left_brace = true -ij_actionscript_space_before_method_parentheses = false -ij_actionscript_space_before_property_colon = false -ij_actionscript_space_before_quest = true -ij_actionscript_space_before_switch_left_brace = true -ij_actionscript_space_before_switch_parentheses = true -ij_actionscript_space_before_try_left_brace = true -ij_actionscript_space_before_type_colon = false -ij_actionscript_space_before_unary_not = false -ij_actionscript_space_before_while_keyword = true -ij_actionscript_space_before_while_left_brace = true -ij_actionscript_space_before_while_parentheses = true -ij_actionscript_spaces_around_additive_operators = true -ij_actionscript_spaces_around_arrow_function_operator = true -ij_actionscript_spaces_around_assignment_operators = true -ij_actionscript_spaces_around_bitwise_operators = true -ij_actionscript_spaces_around_equality_operators = true -ij_actionscript_spaces_around_logical_operators = true -ij_actionscript_spaces_around_multiplicative_operators = true -ij_actionscript_spaces_around_relational_operators = true -ij_actionscript_spaces_around_shift_operators = true -ij_actionscript_spaces_around_unary_operator = false -ij_actionscript_spaces_within_array_initializer_brackets = false -ij_actionscript_spaces_within_brackets = false -ij_actionscript_spaces_within_catch_parentheses = false -ij_actionscript_spaces_within_for_parentheses = false -ij_actionscript_spaces_within_if_parentheses = false -ij_actionscript_spaces_within_imports = false -ij_actionscript_spaces_within_interpolation_expressions = false -ij_actionscript_spaces_within_method_call_parentheses = false -ij_actionscript_spaces_within_method_parentheses = false -ij_actionscript_spaces_within_object_literal_braces = false -ij_actionscript_spaces_within_object_type_braces = true -ij_actionscript_spaces_within_parentheses = false -ij_actionscript_spaces_within_switch_parentheses = false -ij_actionscript_spaces_within_type_assertion = false -ij_actionscript_spaces_within_union_types = true -ij_actionscript_spaces_within_while_parentheses = false -ij_actionscript_special_else_if_treatment = true -ij_actionscript_ternary_operation_signs_on_next_line = false -ij_actionscript_ternary_operation_wrap = off -ij_actionscript_union_types_wrap = on_every_item -ij_actionscript_use_chained_calls_group_indents = false -ij_actionscript_use_double_quotes = true -ij_actionscript_use_explicit_js_extension = global -ij_actionscript_use_path_mapping = always -ij_actionscript_use_public_modifier = false -ij_actionscript_use_semicolon_after_statement = true -ij_actionscript_var_declaration_wrap = normal -ij_actionscript_while_brace_force = never -ij_actionscript_while_on_new_line = false -ij_actionscript_wrap_comments = false - -[{*.ats,*.ts}] -ij_continuation_indent_size = 4 -ij_typescript_align_imports = false -ij_typescript_align_multiline_array_initializer_expression = false -ij_typescript_align_multiline_binary_operation = false -ij_typescript_align_multiline_chained_methods = false -ij_typescript_align_multiline_extends_list = false -ij_typescript_align_multiline_for = true -ij_typescript_align_multiline_parameters = true -ij_typescript_align_multiline_parameters_in_calls = false -ij_typescript_align_multiline_ternary_operation = false -ij_typescript_align_object_properties = 0 -ij_typescript_align_union_types = false -ij_typescript_align_var_statements = 0 -ij_typescript_array_initializer_new_line_after_left_brace = false -ij_typescript_array_initializer_right_brace_on_new_line = false -ij_typescript_array_initializer_wrap = off -ij_typescript_assignment_wrap = off -ij_typescript_binary_operation_sign_on_next_line = false -ij_typescript_binary_operation_wrap = off -ij_typescript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** -ij_typescript_blank_lines_after_imports = 1 -ij_typescript_blank_lines_around_class = 1 -ij_typescript_blank_lines_around_field = 0 -ij_typescript_blank_lines_around_field_in_interface = 0 -ij_typescript_blank_lines_around_function = 1 -ij_typescript_blank_lines_around_method = 1 -ij_typescript_blank_lines_around_method_in_interface = 1 -ij_typescript_block_brace_style = end_of_line -ij_typescript_call_parameters_new_line_after_left_paren = false -ij_typescript_call_parameters_right_paren_on_new_line = false -ij_typescript_call_parameters_wrap = off -ij_typescript_catch_on_new_line = false -ij_typescript_chained_call_dot_on_new_line = true -ij_typescript_class_brace_style = end_of_line -ij_typescript_comma_on_new_line = false -ij_typescript_do_while_brace_force = never -ij_typescript_else_on_new_line = false -ij_typescript_enforce_trailing_comma = keep -ij_typescript_extends_keyword_wrap = off -ij_typescript_extends_list_wrap = off -ij_typescript_field_prefix = _ -ij_typescript_file_name_style = relaxed -ij_typescript_finally_on_new_line = false -ij_typescript_for_brace_force = never -ij_typescript_for_statement_new_line_after_left_paren = false -ij_typescript_for_statement_right_paren_on_new_line = false -ij_typescript_for_statement_wrap = off -ij_typescript_force_quote_style = false -ij_typescript_force_semicolon_style = false -ij_typescript_function_expression_brace_style = end_of_line -ij_typescript_if_brace_force = never -ij_typescript_import_merge_members = global -ij_typescript_import_prefer_absolute_path = global -ij_typescript_import_sort_members = true -ij_typescript_import_sort_module_name = false -ij_typescript_import_use_node_resolution = true -ij_typescript_imports_wrap = on_every_item -ij_typescript_indent_case_from_switch = true -ij_typescript_indent_chained_calls = true -ij_typescript_indent_package_children = 0 -ij_typescript_jsdoc_include_types = false -ij_typescript_jsx_attribute_value = braces -ij_typescript_keep_blank_lines_in_code = 2 -ij_typescript_keep_first_column_comment = true -ij_typescript_keep_indents_on_empty_lines = false -ij_typescript_keep_line_breaks = true -ij_typescript_keep_simple_blocks_in_one_line = false -ij_typescript_keep_simple_methods_in_one_line = false -ij_typescript_line_comment_add_space = true -ij_typescript_line_comment_at_first_column = false -ij_typescript_method_brace_style = end_of_line -ij_typescript_method_call_chain_wrap = off -ij_typescript_method_parameters_new_line_after_left_paren = false -ij_typescript_method_parameters_right_paren_on_new_line = false -ij_typescript_method_parameters_wrap = off -ij_typescript_object_literal_wrap = on_every_item -ij_typescript_parentheses_expression_new_line_after_left_paren = false -ij_typescript_parentheses_expression_right_paren_on_new_line = false -ij_typescript_place_assignment_sign_on_next_line = false -ij_typescript_prefer_as_type_cast = false -ij_typescript_prefer_explicit_types_function_expression_returns = false -ij_typescript_prefer_explicit_types_function_returns = false -ij_typescript_prefer_explicit_types_vars_fields = false -ij_typescript_prefer_parameters_wrap = false -ij_typescript_reformat_c_style_comments = false -ij_typescript_space_after_colon = true -ij_typescript_space_after_comma = true -ij_typescript_space_after_dots_in_rest_parameter = false -ij_typescript_space_after_generator_mult = true -ij_typescript_space_after_property_colon = true -ij_typescript_space_after_quest = true -ij_typescript_space_after_type_colon = true -ij_typescript_space_after_unary_not = false -ij_typescript_space_before_async_arrow_lparen = true -ij_typescript_space_before_catch_keyword = true -ij_typescript_space_before_catch_left_brace = true -ij_typescript_space_before_catch_parentheses = true -ij_typescript_space_before_class_lbrace = true -ij_typescript_space_before_class_left_brace = true -ij_typescript_space_before_colon = true -ij_typescript_space_before_comma = false -ij_typescript_space_before_do_left_brace = true -ij_typescript_space_before_else_keyword = true -ij_typescript_space_before_else_left_brace = true -ij_typescript_space_before_finally_keyword = true -ij_typescript_space_before_finally_left_brace = true -ij_typescript_space_before_for_left_brace = true -ij_typescript_space_before_for_parentheses = true -ij_typescript_space_before_for_semicolon = false -ij_typescript_space_before_function_left_parenth = true -ij_typescript_space_before_generator_mult = false -ij_typescript_space_before_if_left_brace = true -ij_typescript_space_before_if_parentheses = true -ij_typescript_space_before_method_call_parentheses = false -ij_typescript_space_before_method_left_brace = true -ij_typescript_space_before_method_parentheses = false -ij_typescript_space_before_property_colon = false -ij_typescript_space_before_quest = true -ij_typescript_space_before_switch_left_brace = true -ij_typescript_space_before_switch_parentheses = true -ij_typescript_space_before_try_left_brace = true -ij_typescript_space_before_type_colon = false -ij_typescript_space_before_unary_not = false -ij_typescript_space_before_while_keyword = true -ij_typescript_space_before_while_left_brace = true -ij_typescript_space_before_while_parentheses = true -ij_typescript_spaces_around_additive_operators = true -ij_typescript_spaces_around_arrow_function_operator = true -ij_typescript_spaces_around_assignment_operators = true -ij_typescript_spaces_around_bitwise_operators = true -ij_typescript_spaces_around_equality_operators = true -ij_typescript_spaces_around_logical_operators = true -ij_typescript_spaces_around_multiplicative_operators = true -ij_typescript_spaces_around_relational_operators = true -ij_typescript_spaces_around_shift_operators = true -ij_typescript_spaces_around_unary_operator = false -ij_typescript_spaces_within_array_initializer_brackets = false -ij_typescript_spaces_within_brackets = false -ij_typescript_spaces_within_catch_parentheses = false -ij_typescript_spaces_within_for_parentheses = false -ij_typescript_spaces_within_if_parentheses = false -ij_typescript_spaces_within_imports = false -ij_typescript_spaces_within_interpolation_expressions = false -ij_typescript_spaces_within_method_call_parentheses = false -ij_typescript_spaces_within_method_parentheses = false -ij_typescript_spaces_within_object_literal_braces = false -ij_typescript_spaces_within_object_type_braces = true -ij_typescript_spaces_within_parentheses = false -ij_typescript_spaces_within_switch_parentheses = false -ij_typescript_spaces_within_type_assertion = false -ij_typescript_spaces_within_union_types = true -ij_typescript_spaces_within_while_parentheses = false -ij_typescript_special_else_if_treatment = true -ij_typescript_ternary_operation_signs_on_next_line = false -ij_typescript_ternary_operation_wrap = off -ij_typescript_union_types_wrap = on_every_item -ij_typescript_use_chained_calls_group_indents = false -ij_typescript_use_double_quotes = true -ij_typescript_use_explicit_js_extension = global -ij_typescript_use_path_mapping = always -ij_typescript_use_public_modifier = false -ij_typescript_use_semicolon_after_statement = true -ij_typescript_var_declaration_wrap = normal -ij_typescript_while_brace_force = never -ij_typescript_while_on_new_line = false -ij_typescript_wrap_comments = false - -[{*.bash,*.sh,*.zsh}] -indent_size = 2 -tab_width = 2 -ij_shell_binary_ops_start_line = false -ij_shell_keep_column_alignment_padding = false -ij_shell_minify_program = false -ij_shell_redirect_followed_by_space = false -ij_shell_switch_cases_indented = false - -[{*.cfc,*.cfm,*.cfml}] -ij_cfml_align_multiline_binary_operation = false -ij_cfml_align_multiline_for = true -ij_cfml_align_multiline_parameters = true -ij_cfml_align_multiline_parameters_in_calls = false -ij_cfml_align_multiline_ternary_operation = false -ij_cfml_assignment_wrap = off -ij_cfml_binary_operation_sign_on_next_line = false -ij_cfml_binary_operation_wrap = off -ij_cfml_block_brace_style = end_of_line -ij_cfml_call_parameters_new_line_after_left_paren = false -ij_cfml_call_parameters_right_paren_on_new_line = false -ij_cfml_call_parameters_wrap = off -ij_cfml_catch_on_new_line = false -ij_cfml_else_on_new_line = false -ij_cfml_for_statement_new_line_after_left_paren = false -ij_cfml_for_statement_right_paren_on_new_line = false -ij_cfml_for_statement_wrap = off -ij_cfml_keep_blank_lines_in_code = 2 -ij_cfml_keep_first_column_comment = true -ij_cfml_keep_indents_on_empty_lines = false -ij_cfml_keep_line_breaks = true -ij_cfml_method_brace_style = next_line -ij_cfml_method_parameters_new_line_after_left_paren = false -ij_cfml_method_parameters_right_paren_on_new_line = false -ij_cfml_method_parameters_wrap = off -ij_cfml_parentheses_expression_new_line_after_left_paren = false -ij_cfml_parentheses_expression_right_paren_on_new_line = false -ij_cfml_place_assignment_sign_on_next_line = false -ij_cfml_space_after_colon = true -ij_cfml_space_after_comma = true -ij_cfml_space_after_for_semicolon = true -ij_cfml_space_after_quest = true -ij_cfml_space_before_catch_keyword = true -ij_cfml_space_before_catch_left_brace = true -ij_cfml_space_before_catch_parentheses = true -ij_cfml_space_before_colon = true -ij_cfml_space_before_comma = false -ij_cfml_space_before_else_keyword = true -ij_cfml_space_before_else_left_brace = true -ij_cfml_space_before_for_left_brace = true -ij_cfml_space_before_for_parentheses = true -ij_cfml_space_before_for_semicolon = false -ij_cfml_space_before_if_left_brace = true -ij_cfml_space_before_if_parentheses = true -ij_cfml_space_before_method_call_parentheses = false -ij_cfml_space_before_method_left_brace = true -ij_cfml_space_before_method_parentheses = false -ij_cfml_space_before_quest = true -ij_cfml_space_before_switch_left_brace = true -ij_cfml_space_before_switch_parentheses = true -ij_cfml_space_before_try_left_brace = true -ij_cfml_space_before_while_keyword = true -ij_cfml_space_before_while_left_brace = true -ij_cfml_space_before_while_parentheses = true -ij_cfml_spaces_around_additive_operators = true -ij_cfml_spaces_around_assignment_operators = true -ij_cfml_spaces_around_equality_operators = true -ij_cfml_spaces_around_logical_operators = true -ij_cfml_spaces_around_multiplicative_operators = true -ij_cfml_spaces_around_relational_operators = true -ij_cfml_spaces_around_unary_operator = false -ij_cfml_spaces_within_catch_parentheses = false -ij_cfml_spaces_within_for_parentheses = false -ij_cfml_spaces_within_if_parentheses = false -ij_cfml_spaces_within_method_call_parentheses = false -ij_cfml_spaces_within_method_parentheses = false -ij_cfml_spaces_within_switch_parentheses = false -ij_cfml_spaces_within_while_parentheses = false -ij_cfml_special_else_if_treatment = false -ij_cfml_ternary_operation_signs_on_next_line = false -ij_cfml_ternary_operation_wrap = off -ij_cfml_while_on_new_line = false - -[{*.cjs,*.js}] -ij_continuation_indent_size = 4 -ij_javascript_align_imports = false -ij_javascript_align_multiline_array_initializer_expression = false -ij_javascript_align_multiline_binary_operation = false -ij_javascript_align_multiline_chained_methods = false -ij_javascript_align_multiline_extends_list = false -ij_javascript_align_multiline_for = true -ij_javascript_align_multiline_parameters = true -ij_javascript_align_multiline_parameters_in_calls = false -ij_javascript_align_multiline_ternary_operation = false -ij_javascript_align_object_properties = 0 -ij_javascript_align_union_types = false -ij_javascript_align_var_statements = 0 -ij_javascript_array_initializer_new_line_after_left_brace = false -ij_javascript_array_initializer_right_brace_on_new_line = false -ij_javascript_array_initializer_wrap = off -ij_javascript_assignment_wrap = off -ij_javascript_binary_operation_sign_on_next_line = false -ij_javascript_binary_operation_wrap = off -ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** -ij_javascript_blank_lines_after_imports = 1 -ij_javascript_blank_lines_around_class = 1 -ij_javascript_blank_lines_around_field = 0 -ij_javascript_blank_lines_around_function = 1 -ij_javascript_blank_lines_around_method = 1 -ij_javascript_block_brace_style = end_of_line -ij_javascript_call_parameters_new_line_after_left_paren = false -ij_javascript_call_parameters_right_paren_on_new_line = false -ij_javascript_call_parameters_wrap = off -ij_javascript_catch_on_new_line = false -ij_javascript_chained_call_dot_on_new_line = true -ij_javascript_class_brace_style = end_of_line -ij_javascript_comma_on_new_line = false -ij_javascript_do_while_brace_force = never -ij_javascript_else_on_new_line = false -ij_javascript_enforce_trailing_comma = keep -ij_javascript_extends_keyword_wrap = off -ij_javascript_extends_list_wrap = off -ij_javascript_field_prefix = _ -ij_javascript_file_name_style = relaxed -ij_javascript_finally_on_new_line = false -ij_javascript_for_brace_force = never -ij_javascript_for_statement_new_line_after_left_paren = false -ij_javascript_for_statement_right_paren_on_new_line = false -ij_javascript_for_statement_wrap = off -ij_javascript_force_quote_style = false -ij_javascript_force_semicolon_style = false -ij_javascript_function_expression_brace_style = end_of_line -ij_javascript_if_brace_force = never -ij_javascript_import_merge_members = global -ij_javascript_import_prefer_absolute_path = global -ij_javascript_import_sort_members = true -ij_javascript_import_sort_module_name = false -ij_javascript_import_use_node_resolution = true -ij_javascript_imports_wrap = on_every_item -ij_javascript_indent_case_from_switch = true -ij_javascript_indent_chained_calls = true -ij_javascript_indent_package_children = 0 -ij_javascript_jsx_attribute_value = braces -ij_javascript_keep_blank_lines_in_code = 2 -ij_javascript_keep_first_column_comment = true -ij_javascript_keep_indents_on_empty_lines = false -ij_javascript_keep_line_breaks = true -ij_javascript_keep_simple_blocks_in_one_line = false -ij_javascript_keep_simple_methods_in_one_line = false -ij_javascript_line_comment_add_space = true -ij_javascript_line_comment_at_first_column = false -ij_javascript_method_brace_style = end_of_line -ij_javascript_method_call_chain_wrap = off -ij_javascript_method_parameters_new_line_after_left_paren = false -ij_javascript_method_parameters_right_paren_on_new_line = false -ij_javascript_method_parameters_wrap = off -ij_javascript_object_literal_wrap = on_every_item -ij_javascript_parentheses_expression_new_line_after_left_paren = false -ij_javascript_parentheses_expression_right_paren_on_new_line = false -ij_javascript_place_assignment_sign_on_next_line = false -ij_javascript_prefer_as_type_cast = false -ij_javascript_prefer_explicit_types_function_expression_returns = false -ij_javascript_prefer_explicit_types_function_returns = false -ij_javascript_prefer_explicit_types_vars_fields = false -ij_javascript_prefer_parameters_wrap = false -ij_javascript_reformat_c_style_comments = false -ij_javascript_space_after_colon = true -ij_javascript_space_after_comma = true -ij_javascript_space_after_dots_in_rest_parameter = false -ij_javascript_space_after_generator_mult = true -ij_javascript_space_after_property_colon = true -ij_javascript_space_after_quest = true -ij_javascript_space_after_type_colon = true -ij_javascript_space_after_unary_not = false -ij_javascript_space_before_async_arrow_lparen = true -ij_javascript_space_before_catch_keyword = true -ij_javascript_space_before_catch_left_brace = true -ij_javascript_space_before_catch_parentheses = true -ij_javascript_space_before_class_lbrace = true -ij_javascript_space_before_class_left_brace = true -ij_javascript_space_before_colon = true -ij_javascript_space_before_comma = false -ij_javascript_space_before_do_left_brace = true -ij_javascript_space_before_else_keyword = true -ij_javascript_space_before_else_left_brace = true -ij_javascript_space_before_finally_keyword = true -ij_javascript_space_before_finally_left_brace = true -ij_javascript_space_before_for_left_brace = true -ij_javascript_space_before_for_parentheses = true -ij_javascript_space_before_for_semicolon = false -ij_javascript_space_before_function_left_parenth = true -ij_javascript_space_before_generator_mult = false -ij_javascript_space_before_if_left_brace = true -ij_javascript_space_before_if_parentheses = true -ij_javascript_space_before_method_call_parentheses = false -ij_javascript_space_before_method_left_brace = true -ij_javascript_space_before_method_parentheses = false -ij_javascript_space_before_property_colon = false -ij_javascript_space_before_quest = true -ij_javascript_space_before_switch_left_brace = true -ij_javascript_space_before_switch_parentheses = true -ij_javascript_space_before_try_left_brace = true -ij_javascript_space_before_type_colon = false -ij_javascript_space_before_unary_not = false -ij_javascript_space_before_while_keyword = true -ij_javascript_space_before_while_left_brace = true -ij_javascript_space_before_while_parentheses = true -ij_javascript_spaces_around_additive_operators = true -ij_javascript_spaces_around_arrow_function_operator = true -ij_javascript_spaces_around_assignment_operators = true -ij_javascript_spaces_around_bitwise_operators = true -ij_javascript_spaces_around_equality_operators = true -ij_javascript_spaces_around_logical_operators = true -ij_javascript_spaces_around_multiplicative_operators = true -ij_javascript_spaces_around_relational_operators = true -ij_javascript_spaces_around_shift_operators = true -ij_javascript_spaces_around_unary_operator = false -ij_javascript_spaces_within_array_initializer_brackets = false -ij_javascript_spaces_within_brackets = false -ij_javascript_spaces_within_catch_parentheses = false -ij_javascript_spaces_within_for_parentheses = false -ij_javascript_spaces_within_if_parentheses = false -ij_javascript_spaces_within_imports = false -ij_javascript_spaces_within_interpolation_expressions = false -ij_javascript_spaces_within_method_call_parentheses = false -ij_javascript_spaces_within_method_parentheses = false -ij_javascript_spaces_within_object_literal_braces = false -ij_javascript_spaces_within_object_type_braces = true -ij_javascript_spaces_within_parentheses = false -ij_javascript_spaces_within_switch_parentheses = false -ij_javascript_spaces_within_type_assertion = false -ij_javascript_spaces_within_union_types = true -ij_javascript_spaces_within_while_parentheses = false -ij_javascript_special_else_if_treatment = true -ij_javascript_ternary_operation_signs_on_next_line = false -ij_javascript_ternary_operation_wrap = off -ij_javascript_union_types_wrap = on_every_item -ij_javascript_use_chained_calls_group_indents = false -ij_javascript_use_double_quotes = true -ij_javascript_use_explicit_js_extension = global -ij_javascript_use_path_mapping = always -ij_javascript_use_public_modifier = false -ij_javascript_use_semicolon_after_statement = true -ij_javascript_var_declaration_wrap = normal -ij_javascript_while_brace_force = never -ij_javascript_while_on_new_line = false -ij_javascript_wrap_comments = false - -[{*.cjsx,*.coffee}] -indent_size = 2 -tab_width = 2 -ij_continuation_indent_size = 2 -ij_coffeescript_align_function_body = false -ij_coffeescript_align_imports = false -ij_coffeescript_align_multiline_array_initializer_expression = true -ij_coffeescript_align_multiline_parameters = true -ij_coffeescript_align_multiline_parameters_in_calls = false -ij_coffeescript_align_object_properties = 0 -ij_coffeescript_align_union_types = false -ij_coffeescript_align_var_statements = 0 -ij_coffeescript_array_initializer_new_line_after_left_brace = false -ij_coffeescript_array_initializer_right_brace_on_new_line = false -ij_coffeescript_array_initializer_wrap = normal -ij_coffeescript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/** -ij_coffeescript_blank_lines_around_function = 1 -ij_coffeescript_call_parameters_new_line_after_left_paren = false -ij_coffeescript_call_parameters_right_paren_on_new_line = false -ij_coffeescript_call_parameters_wrap = normal -ij_coffeescript_chained_call_dot_on_new_line = true -ij_coffeescript_comma_on_new_line = false -ij_coffeescript_enforce_trailing_comma = keep -ij_coffeescript_field_prefix = _ -ij_coffeescript_file_name_style = relaxed -ij_coffeescript_force_quote_style = false -ij_coffeescript_force_semicolon_style = false -ij_coffeescript_function_expression_brace_style = end_of_line -ij_coffeescript_import_merge_members = global -ij_coffeescript_import_prefer_absolute_path = global -ij_coffeescript_import_sort_members = true -ij_coffeescript_import_sort_module_name = false -ij_coffeescript_import_use_node_resolution = true -ij_coffeescript_imports_wrap = on_every_item -ij_coffeescript_indent_chained_calls = true -ij_coffeescript_indent_package_children = 0 -ij_coffeescript_jsx_attribute_value = braces -ij_coffeescript_keep_blank_lines_in_code = 2 -ij_coffeescript_keep_first_column_comment = true -ij_coffeescript_keep_indents_on_empty_lines = false -ij_coffeescript_keep_line_breaks = true -ij_coffeescript_keep_simple_methods_in_one_line = false -ij_coffeescript_method_parameters_new_line_after_left_paren = false -ij_coffeescript_method_parameters_right_paren_on_new_line = false -ij_coffeescript_method_parameters_wrap = off -ij_coffeescript_object_literal_wrap = on_every_item -ij_coffeescript_prefer_as_type_cast = false -ij_coffeescript_prefer_explicit_types_function_expression_returns = false -ij_coffeescript_prefer_explicit_types_function_returns = false -ij_coffeescript_prefer_explicit_types_vars_fields = false -ij_coffeescript_reformat_c_style_comments = false -ij_coffeescript_space_after_comma = true -ij_coffeescript_space_after_dots_in_rest_parameter = false -ij_coffeescript_space_after_generator_mult = true -ij_coffeescript_space_after_property_colon = true -ij_coffeescript_space_after_type_colon = true -ij_coffeescript_space_after_unary_not = false -ij_coffeescript_space_before_async_arrow_lparen = true -ij_coffeescript_space_before_class_lbrace = true -ij_coffeescript_space_before_comma = false -ij_coffeescript_space_before_function_left_parenth = true -ij_coffeescript_space_before_generator_mult = false -ij_coffeescript_space_before_property_colon = false -ij_coffeescript_space_before_type_colon = false -ij_coffeescript_space_before_unary_not = false -ij_coffeescript_spaces_around_additive_operators = true -ij_coffeescript_spaces_around_arrow_function_operator = true -ij_coffeescript_spaces_around_assignment_operators = true -ij_coffeescript_spaces_around_bitwise_operators = true -ij_coffeescript_spaces_around_equality_operators = true -ij_coffeescript_spaces_around_logical_operators = true -ij_coffeescript_spaces_around_multiplicative_operators = true -ij_coffeescript_spaces_around_relational_operators = true -ij_coffeescript_spaces_around_shift_operators = true -ij_coffeescript_spaces_around_unary_operator = false -ij_coffeescript_spaces_within_array_initializer_braces = false -ij_coffeescript_spaces_within_array_initializer_brackets = false -ij_coffeescript_spaces_within_imports = false -ij_coffeescript_spaces_within_index_brackets = false -ij_coffeescript_spaces_within_interpolation_expressions = false -ij_coffeescript_spaces_within_method_call_parentheses = false -ij_coffeescript_spaces_within_method_parentheses = false -ij_coffeescript_spaces_within_object_braces = false -ij_coffeescript_spaces_within_object_literal_braces = false -ij_coffeescript_spaces_within_object_type_braces = true -ij_coffeescript_spaces_within_range_brackets = false -ij_coffeescript_spaces_within_type_assertion = false -ij_coffeescript_spaces_within_union_types = true -ij_coffeescript_union_types_wrap = on_every_item -ij_coffeescript_use_chained_calls_group_indents = false -ij_coffeescript_use_double_quotes = true -ij_coffeescript_use_explicit_js_extension = global -ij_coffeescript_use_path_mapping = always -ij_coffeescript_use_public_modifier = false -ij_coffeescript_use_semicolon_after_statement = false -ij_coffeescript_var_declaration_wrap = normal - -[{*.ft,*.vm,*.vsl}] -ij_vtl_keep_indents_on_empty_lines = false - -[{*.gant,*.gradle,*.groovy,*.gson,*.gy}] -ij_groovy_align_group_field_declarations = false -ij_groovy_align_multiline_array_initializer_expression = false -ij_groovy_align_multiline_assignment = false -ij_groovy_align_multiline_binary_operation = false -ij_groovy_align_multiline_chained_methods = false -ij_groovy_align_multiline_extends_list = false -ij_groovy_align_multiline_for = true -ij_groovy_align_multiline_list_or_map = true -ij_groovy_align_multiline_method_parentheses = false -ij_groovy_align_multiline_parameters = true -ij_groovy_align_multiline_parameters_in_calls = false -ij_groovy_align_multiline_resources = true -ij_groovy_align_multiline_ternary_operation = false -ij_groovy_align_multiline_throws_list = false -ij_groovy_align_named_args_in_map = true -ij_groovy_align_throws_keyword = false -ij_groovy_array_initializer_new_line_after_left_brace = false -ij_groovy_array_initializer_right_brace_on_new_line = false -ij_groovy_array_initializer_wrap = off -ij_groovy_assert_statement_wrap = off -ij_groovy_assignment_wrap = off -ij_groovy_binary_operation_wrap = off -ij_groovy_blank_lines_after_class_header = 0 -ij_groovy_blank_lines_after_imports = 1 -ij_groovy_blank_lines_after_package = 1 -ij_groovy_blank_lines_around_class = 1 -ij_groovy_blank_lines_around_field = 0 -ij_groovy_blank_lines_around_field_in_interface = 0 -ij_groovy_blank_lines_around_method = 1 -ij_groovy_blank_lines_around_method_in_interface = 1 -ij_groovy_blank_lines_before_imports = 1 -ij_groovy_blank_lines_before_method_body = 0 -ij_groovy_blank_lines_before_package = 0 -ij_groovy_block_brace_style = end_of_line -ij_groovy_block_comment_at_first_column = true -ij_groovy_call_parameters_new_line_after_left_paren = false -ij_groovy_call_parameters_right_paren_on_new_line = false -ij_groovy_call_parameters_wrap = off -ij_groovy_catch_on_new_line = false -ij_groovy_class_annotation_wrap = split_into_lines -ij_groovy_class_brace_style = end_of_line -ij_groovy_class_count_to_use_import_on_demand = 5 -ij_groovy_do_while_brace_force = never -ij_groovy_else_on_new_line = false -ij_groovy_enum_constants_wrap = off -ij_groovy_extends_keyword_wrap = off -ij_groovy_extends_list_wrap = off -ij_groovy_field_annotation_wrap = split_into_lines -ij_groovy_finally_on_new_line = false -ij_groovy_for_brace_force = never -ij_groovy_for_statement_new_line_after_left_paren = false -ij_groovy_for_statement_right_paren_on_new_line = false -ij_groovy_for_statement_wrap = off -ij_groovy_if_brace_force = never -ij_groovy_import_annotation_wrap = 2 -ij_groovy_indent_case_from_switch = true -ij_groovy_indent_label_blocks = true -ij_groovy_insert_inner_class_imports = false -ij_groovy_keep_blank_lines_before_right_brace = 2 -ij_groovy_keep_blank_lines_in_code = 2 -ij_groovy_keep_blank_lines_in_declarations = 2 -ij_groovy_keep_control_statement_in_one_line = true -ij_groovy_keep_first_column_comment = true -ij_groovy_keep_indents_on_empty_lines = false -ij_groovy_keep_line_breaks = true -ij_groovy_keep_multiple_expressions_in_one_line = false -ij_groovy_keep_simple_blocks_in_one_line = false -ij_groovy_keep_simple_classes_in_one_line = true -ij_groovy_keep_simple_lambdas_in_one_line = true -ij_groovy_keep_simple_methods_in_one_line = true -ij_groovy_label_indent_absolute = false -ij_groovy_label_indent_size = 0 -ij_groovy_lambda_brace_style = end_of_line -ij_groovy_layout_static_imports_separately = true -ij_groovy_line_comment_add_space = false -ij_groovy_line_comment_at_first_column = true -ij_groovy_method_annotation_wrap = split_into_lines -ij_groovy_method_brace_style = end_of_line -ij_groovy_method_call_chain_wrap = off -ij_groovy_method_parameters_new_line_after_left_paren = false -ij_groovy_method_parameters_right_paren_on_new_line = false -ij_groovy_method_parameters_wrap = off -ij_groovy_modifier_list_wrap = false -ij_groovy_names_count_to_use_import_on_demand = 3 -ij_groovy_parameter_annotation_wrap = off -ij_groovy_parentheses_expression_new_line_after_left_paren = false -ij_groovy_parentheses_expression_right_paren_on_new_line = false -ij_groovy_prefer_parameters_wrap = false -ij_groovy_resource_list_new_line_after_left_paren = false -ij_groovy_resource_list_right_paren_on_new_line = false -ij_groovy_resource_list_wrap = off -ij_groovy_space_after_assert_separator = true -ij_groovy_space_after_colon = true -ij_groovy_space_after_comma = true -ij_groovy_space_after_comma_in_type_arguments = true -ij_groovy_space_after_for_semicolon = true -ij_groovy_space_after_quest = true -ij_groovy_space_after_type_cast = true -ij_groovy_space_before_annotation_parameter_list = false -ij_groovy_space_before_array_initializer_left_brace = false -ij_groovy_space_before_assert_separator = false -ij_groovy_space_before_catch_keyword = true -ij_groovy_space_before_catch_left_brace = true -ij_groovy_space_before_catch_parentheses = true -ij_groovy_space_before_class_left_brace = true -ij_groovy_space_before_closure_left_brace = true -ij_groovy_space_before_colon = true -ij_groovy_space_before_comma = false -ij_groovy_space_before_do_left_brace = true -ij_groovy_space_before_else_keyword = true -ij_groovy_space_before_else_left_brace = true -ij_groovy_space_before_finally_keyword = true -ij_groovy_space_before_finally_left_brace = true -ij_groovy_space_before_for_left_brace = true -ij_groovy_space_before_for_parentheses = true -ij_groovy_space_before_for_semicolon = false -ij_groovy_space_before_if_left_brace = true -ij_groovy_space_before_if_parentheses = true -ij_groovy_space_before_method_call_parentheses = false -ij_groovy_space_before_method_left_brace = true -ij_groovy_space_before_method_parentheses = false -ij_groovy_space_before_quest = true -ij_groovy_space_before_switch_left_brace = true -ij_groovy_space_before_switch_parentheses = true -ij_groovy_space_before_synchronized_left_brace = true -ij_groovy_space_before_synchronized_parentheses = true -ij_groovy_space_before_try_left_brace = true -ij_groovy_space_before_try_parentheses = true -ij_groovy_space_before_while_keyword = true -ij_groovy_space_before_while_left_brace = true -ij_groovy_space_before_while_parentheses = true -ij_groovy_space_in_named_argument = true -ij_groovy_space_in_named_argument_before_colon = false -ij_groovy_space_within_empty_array_initializer_braces = false -ij_groovy_space_within_empty_method_call_parentheses = false -ij_groovy_spaces_around_additive_operators = true -ij_groovy_spaces_around_assignment_operators = true -ij_groovy_spaces_around_bitwise_operators = true -ij_groovy_spaces_around_equality_operators = true -ij_groovy_spaces_around_lambda_arrow = true -ij_groovy_spaces_around_logical_operators = true -ij_groovy_spaces_around_multiplicative_operators = true -ij_groovy_spaces_around_regex_operators = true -ij_groovy_spaces_around_relational_operators = true -ij_groovy_spaces_around_shift_operators = true -ij_groovy_spaces_within_annotation_parentheses = false -ij_groovy_spaces_within_array_initializer_braces = false -ij_groovy_spaces_within_braces = true -ij_groovy_spaces_within_brackets = false -ij_groovy_spaces_within_cast_parentheses = false -ij_groovy_spaces_within_catch_parentheses = false -ij_groovy_spaces_within_for_parentheses = false -ij_groovy_spaces_within_gstring_injection_braces = false -ij_groovy_spaces_within_if_parentheses = false -ij_groovy_spaces_within_list_or_map = false -ij_groovy_spaces_within_method_call_parentheses = false -ij_groovy_spaces_within_method_parentheses = false -ij_groovy_spaces_within_parentheses = false -ij_groovy_spaces_within_switch_parentheses = false -ij_groovy_spaces_within_synchronized_parentheses = false -ij_groovy_spaces_within_try_parentheses = false -ij_groovy_spaces_within_tuple_expression = false -ij_groovy_spaces_within_while_parentheses = false -ij_groovy_special_else_if_treatment = true -ij_groovy_ternary_operation_wrap = off -ij_groovy_throws_keyword_wrap = off -ij_groovy_throws_list_wrap = off -ij_groovy_use_flying_geese_braces = false -ij_groovy_use_fq_class_names = false -ij_groovy_use_fq_class_names_in_javadoc = true -ij_groovy_use_relative_indents = false -ij_groovy_use_single_class_imports = true -ij_groovy_variable_annotation_wrap = off -ij_groovy_while_brace_force = never -ij_groovy_while_on_new_line = false -ij_groovy_wrap_long_lines = false - -[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] -indent_size = 2 -ij_json_keep_blank_lines_in_code = 0 -ij_json_keep_indents_on_empty_lines = false -ij_json_keep_line_breaks = true -ij_json_space_after_colon = true -ij_json_space_after_comma = true -ij_json_space_before_colon = true -ij_json_space_before_comma = false -ij_json_spaces_within_braces = false -ij_json_spaces_within_brackets = false -ij_json_wrap_long_lines = false - -[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}] -ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3 -ij_html_align_attributes = true -ij_html_align_text = false -ij_html_attribute_wrap = normal -ij_html_block_comment_at_first_column = true -ij_html_do_not_align_children_of_min_lines = 0 -ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p -ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot -ij_html_enforce_quotes = false -ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var -ij_html_keep_blank_lines = 2 -ij_html_keep_indents_on_empty_lines = false -ij_html_keep_line_breaks = true -ij_html_keep_line_breaks_in_text = true -ij_html_keep_whitespaces = false -ij_html_keep_whitespaces_inside = span,pre,textarea -ij_html_line_comment_at_first_column = true -ij_html_new_line_after_last_attribute = never -ij_html_new_line_before_first_attribute = never -ij_html_quote_style = double -ij_html_remove_new_line_before_tags = br -ij_html_space_after_tag_name = false -ij_html_space_around_equality_in_attribute = false -ij_html_space_inside_empty_tag = false -ij_html_text_wrap = normal - -[{*.jsf,*.jsp,*.jspf,*.tag,*.tagf,*.xjsp}] -ij_jsp_jsp_prefer_comma_separated_import_list = false -ij_jsp_keep_indents_on_empty_lines = false - -[{*.jspx,*.tagx}] -ij_jspx_keep_indents_on_empty_lines = false - -[{*.kt,*.kts}] -ij_kotlin_align_in_columns_case_branch = false -ij_kotlin_align_multiline_binary_operation = false -ij_kotlin_align_multiline_extends_list = false -ij_kotlin_align_multiline_method_parentheses = false -ij_kotlin_align_multiline_parameters = true -ij_kotlin_align_multiline_parameters_in_calls = false -ij_kotlin_assignment_wrap = off -ij_kotlin_blank_lines_after_class_header = 0 -ij_kotlin_blank_lines_around_block_when_branches = 0 -ij_kotlin_block_comment_at_first_column = true -ij_kotlin_call_parameters_new_line_after_left_paren = false -ij_kotlin_call_parameters_right_paren_on_new_line = false -ij_kotlin_call_parameters_wrap = off -ij_kotlin_catch_on_new_line = false -ij_kotlin_class_annotation_wrap = split_into_lines -ij_kotlin_continuation_indent_for_chained_calls = true -ij_kotlin_continuation_indent_for_expression_bodies = true -ij_kotlin_continuation_indent_in_argument_lists = true -ij_kotlin_continuation_indent_in_elvis = true -ij_kotlin_continuation_indent_in_if_conditions = true -ij_kotlin_continuation_indent_in_parameter_lists = true -ij_kotlin_continuation_indent_in_supertype_lists = true -ij_kotlin_else_on_new_line = false -ij_kotlin_enum_constants_wrap = off -ij_kotlin_extends_list_wrap = off -ij_kotlin_field_annotation_wrap = split_into_lines -ij_kotlin_finally_on_new_line = false -ij_kotlin_if_rparen_on_new_line = false -ij_kotlin_import_nested_classes = false -ij_kotlin_insert_whitespaces_in_simple_one_line_method = true -ij_kotlin_keep_blank_lines_before_right_brace = 2 -ij_kotlin_keep_blank_lines_in_code = 2 -ij_kotlin_keep_blank_lines_in_declarations = 2 -ij_kotlin_keep_first_column_comment = true -ij_kotlin_keep_indents_on_empty_lines = false -ij_kotlin_keep_line_breaks = true -ij_kotlin_lbrace_on_next_line = false -ij_kotlin_line_comment_add_space = false -ij_kotlin_line_comment_at_first_column = true -ij_kotlin_method_annotation_wrap = split_into_lines -ij_kotlin_method_call_chain_wrap = off -ij_kotlin_method_parameters_new_line_after_left_paren = false -ij_kotlin_method_parameters_right_paren_on_new_line = false -ij_kotlin_method_parameters_wrap = off -ij_kotlin_name_count_to_use_star_import = 5 -ij_kotlin_name_count_to_use_star_import_for_members = 3 -ij_kotlin_parameter_annotation_wrap = off -ij_kotlin_space_after_comma = true -ij_kotlin_space_after_extend_colon = true -ij_kotlin_space_after_type_colon = true -ij_kotlin_space_before_catch_parentheses = true -ij_kotlin_space_before_comma = false -ij_kotlin_space_before_extend_colon = true -ij_kotlin_space_before_for_parentheses = true -ij_kotlin_space_before_if_parentheses = true -ij_kotlin_space_before_lambda_arrow = true -ij_kotlin_space_before_type_colon = false -ij_kotlin_space_before_when_parentheses = true -ij_kotlin_space_before_while_parentheses = true -ij_kotlin_spaces_around_additive_operators = true -ij_kotlin_spaces_around_assignment_operators = true -ij_kotlin_spaces_around_equality_operators = true -ij_kotlin_spaces_around_function_type_arrow = true -ij_kotlin_spaces_around_logical_operators = true -ij_kotlin_spaces_around_multiplicative_operators = true -ij_kotlin_spaces_around_range = false -ij_kotlin_spaces_around_relational_operators = true -ij_kotlin_spaces_around_unary_operator = false -ij_kotlin_spaces_around_when_arrow = true -ij_kotlin_variable_annotation_wrap = off -ij_kotlin_while_on_new_line = false -ij_kotlin_wrap_elvis_expressions = 1 -ij_kotlin_wrap_expression_body_functions = 0 -ij_kotlin_wrap_first_method_in_call_chain = false - -[{*.properties,spring.handlers,spring.schemas}] -ij_properties_align_group_field_declarations = false -ij_properties_keep_blank_lines = false -ij_properties_key_value_delimiter = equals -ij_properties_spaces_around_key_value_delimiter = false - -[{*.yaml,*.yml}] -indent_size = 2 -ij_yaml_keep_indents_on_empty_lines = false -ij_yaml_keep_line_breaks = true diff --git a/NOTICE b/NOTICE index 166b29bd..83759f21 100644 --- a/NOTICE +++ b/NOTICE @@ -5,6 +5,6 @@ The following NOTICEs are pertain to software distributed with this project. // Version 2.4.0.0, in this case for // ------------------------------------------------------------------ -Some code from the library org.scala.lang:scala-library is packaged in json-values. -Some code from the library com.fasterxml.jackson.core:jackson-core is packaged in json-values. +Some code from the library DSL-JSON library (https://github.com/ngs-doo/dsl-json) +has been packaged and modified in json-values. diff --git a/benchmarking/pom.xml b/benchmarking/pom.xml index a3c75450..3c0a855d 100644 --- a/benchmarking/pom.xml +++ b/benchmarking/pom.xml @@ -17,6 +17,9 @@ 2.11.1 2.2.14 2.1.0 + 2.0.1.Final + 6.1.5.Final + 6.0.2.Final @@ -34,6 +37,26 @@ json-schema-validator ${JSON-SCHEMA-VALIDATOR.VERSION} + + javax.validation + validation-api + ${VALIDATION-API.VERSION} + + + org.hibernate.validator + hibernate-validator + ${HIBERNATE-VALIDATOR.VERSION} + + + org.hibernate.validator + hibernate-validator-annotation-processor + ${HIBERNATE-VALIDATOR.VERSION} + + + org.glassfish + javax.el + 3.0.1-b11 + org.openjdk.jmh jmh-core diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/Conf.java b/benchmarking/src/main/java/jsonvalues/benchmark/Conf.java index 5e9694ee..19992f33 100644 --- a/benchmarking/src/main/java/jsonvalues/benchmark/Conf.java +++ b/benchmarking/src/main/java/jsonvalues/benchmark/Conf.java @@ -1,8 +1,7 @@ package jsonvalues.benchmark; +import jsonvalues.JsArray; import jsonvalues.spec.JsObjSpec; -import jsonvalues.spec.JsSpecs; - import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; @@ -19,36 +18,38 @@ public class Conf public static final String PERSON_JSON; public static final String PERSON_jSON_SCHEMA; - public final static JsObjSpec PERSON_SPEC = JsObjSpec.strict("firstName", - str, - "lastName", - str, - "age", - integer(greaterOrEqualThan(0)), - "latitude", - decimal(interval(new BigDecimal(-90), - new BigDecimal(90) - ) - ), - "longitude", - decimal(interval(new BigDecimal(-180), - new BigDecimal(180) - ) - ), - "fruits", - arrayOfStr, - "numbers", - arrayOfInt, - "vegetables", - arrayOf(JsObjSpec.strict("veggieName", - str, - "veggieLike", - bool - ) - ) - ); + public final static JsObjSpec PERSON_SPEC; static { + Predicate greaterThanOne = a -> a.size() > 1; + PERSON_SPEC = JsObjSpec.strict("firstName", + str(length(1,255)), + "lastName", + str(length(1,255)), + "age", + integer(interval(0,110)), + "latitude", + decimal(interval(new BigDecimal(-90), + new BigDecimal(90) + ) + ), + "longitude", + decimal(interval(new BigDecimal(-180), + new BigDecimal(180) + ) + ), + "fruits", + arrayOfStrSuchThat(greaterThanOne), + "numbers", + arrayOfIntSuchThat(greaterThanOne), + "vegetables", + arrayOf(JsObjSpec.strict("veggieName", + str(length(1,255)), + "veggieLike", + bool + ) + ).optional() + ); PERSON_jSON_SCHEMA = fileContent("personSchema.json"); PERSON_JSON = fileContent("person.json"); @@ -77,8 +78,9 @@ private static String fromStream(InputStream in) throws IOException { return out.toString(); } - private static IntPredicate greaterOrEqualThan(int value) { - return i -> i >= value; + + private static IntPredicate interval(int min,int max) { + return i -> i >= min && i<=max; } private static Predicate interval(BigDecimal min, @@ -86,4 +88,9 @@ private static Predicate interval(BigDecimal min, ) { return v -> v.doubleValue() <= max.doubleValue() && v.doubleValue() >= min.doubleValue(); } + + private static Predicate length(int min,int max){ + return s -> s.length()>= min && s.length()<=max; + + } } diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/JacksonObjectMapper.java b/benchmarking/src/main/java/jsonvalues/benchmark/JacksonObjectMapper.java deleted file mode 100644 index 89693f7e..00000000 --- a/benchmarking/src/main/java/jsonvalues/benchmark/JacksonObjectMapper.java +++ /dev/null @@ -1,16 +0,0 @@ -package jsonvalues.benchmark; - -import com.fasterxml.jackson.databind.ObjectMapper; - -public class JacksonObjectMapper { - - private static ObjectMapper mapper; - - - public static ObjectMapper get() { - if (mapper == null) mapper = new ObjectMapper(); - return mapper; - } - - -} diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/JsDeserializers.java b/benchmarking/src/main/java/jsonvalues/benchmark/JsDeserializers.java index ba1871b7..ce420f86 100644 --- a/benchmarking/src/main/java/jsonvalues/benchmark/JsDeserializers.java +++ b/benchmarking/src/main/java/jsonvalues/benchmark/JsDeserializers.java @@ -1,41 +1,115 @@ package jsonvalues.benchmark; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; -import com.networknt.schema.JsonSchema; -import com.networknt.schema.JsonSchemaFactory; +import com.github.fge.jackson.JsonLoader; +import com.github.fge.jsonschema.core.exceptions.ProcessingException; +import com.github.fge.jsonschema.core.load.Dereferencing; +import com.github.fge.jsonschema.core.load.configuration.LoadingConfiguration; +import com.github.fge.jsonschema.main.JsonSchema; +import com.github.fge.jsonschema.main.JsonSchemaFactory; import jsonvalues.JsObj; import jsonvalues.spec.JsObjParser; +import org.leadpony.justify.api.JsonValidationService; import org.openjdk.jmh.annotations.*; import org.openjdk.jmh.infra.Blackhole; + +import javax.json.JsonObject; +import javax.json.JsonReader; +import javax.validation.ConstraintViolation; +import javax.validation.Validation; +import javax.validation.Validator; +import javax.validation.ValidatorFactory; import java.io.IOException; -import java.util.Map; +import java.io.StringReader; +import java.util.Set; import java.util.concurrent.TimeUnit; -import static jsonvalues.benchmark.Conf.PERSON_JSON; -import static jsonvalues.benchmark.Conf.PERSON_SPEC; +import static jsonvalues.benchmark.Conf.*; @OutputTimeUnit(TimeUnit.SECONDS) @BenchmarkMode(Mode.Throughput) @State(Scope.Benchmark) public class JsDeserializers { - private final static ObjectMapper objectMapper = new ObjectMapper(); + // jackson mapper + private static final ObjectMapper objectMapper = new ObjectMapper(); + + // json-values parser + private static final JsObjParser jsonParser = new JsObjParser(PERSON_SPEC); + + // hibernate validator init + private static final ValidatorFactory validatorFactory = Validation.buildDefaultValidatorFactory(); + private static final Validator validator = validatorFactory.getValidator(); + + // justify init + private static final JsonValidationService serviceJustify = JsonValidationService.newInstance(); + private static final org.leadpony.justify.api.JsonSchema schemaJustify = + serviceJustify.readSchema(new StringReader(PERSON_jSON_SCHEMA)); + + // json schema validator init + private static final LoadingConfiguration cfg = LoadingConfiguration.newBuilder() + .dereferencing(Dereferencing.INLINE) + .freeze(); + private static final JsonSchemaFactory jsonSchemaFactory = JsonSchemaFactory.newBuilder() + .setLoadingConfiguration(cfg) + .freeze(); + private static final JsonSchema schema; + + static { + try { + schema = jsonSchemaFactory.getJsonSchema(JsonLoader.fromString(PERSON_jSON_SCHEMA)); + } catch (Exception e) { + throw new RuntimeException(e); + } + } - private final static JsObjParser jsonParser = new JsObjParser(PERSON_SPEC); + @Benchmark + public void json_schema_validator(Blackhole bh) throws JsonProcessingException, ProcessingException { + JsonNode json = objectMapper.readTree(PERSON_JSON); + bh.consume(schema.validate(json)); + } @Benchmark - public void json_spec(Blackhole bh) { - bh.consume(jsonParser.parse(PERSON_JSON)); + public void justify(Blackhole bh) { + JsonReader reader = serviceJustify.createReader(new StringReader(PERSON_JSON), + schemaJustify, + bh::consume + ); + JsonObject json = reader.readObject(); + + reader.close(); + + bh.consume(json); } @Benchmark - public void jackson(Blackhole bh) throws IOException { + public void jackson_node(Blackhole bh) throws IOException { bh.consume(objectMapper.readTree(PERSON_JSON)); } + @Benchmark + public void jackson_pojo(Blackhole bh) throws JsonProcessingException { + Person person = objectMapper.readValue(PERSON_JSON, Person.class); + bh.consume(person); + } + + @Benchmark + public void jackson_pojo_bean_validation(Blackhole bh) throws JsonProcessingException { + PersonWithAnnotations person = objectMapper.readValue(PERSON_JSON, PersonWithAnnotations.class); + Set> validate = validator.validate(person); + bh.consume(validate.size() == 0); + } + @Benchmark public void json_values(Blackhole bh) { bh.consume(JsObj.parse(PERSON_JSON)); } + @Benchmark + public void json_spec(Blackhole bh) { + bh.consume(jsonParser.parse(PERSON_JSON)); + } + } diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/JsSchemaValidations.java b/benchmarking/src/main/java/jsonvalues/benchmark/JsSchemaValidations.java deleted file mode 100644 index 16d15030..00000000 --- a/benchmarking/src/main/java/jsonvalues/benchmark/JsSchemaValidations.java +++ /dev/null @@ -1,87 +0,0 @@ -package jsonvalues.benchmark; - -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.github.fge.jackson.JsonLoader; -import com.github.fge.jsonschema.core.exceptions.ProcessingException; -import com.github.fge.jsonschema.core.load.Dereferencing; -import com.github.fge.jsonschema.core.load.configuration.LoadingConfiguration; -import com.github.fge.jsonschema.main.JsonSchema; -import com.github.fge.jsonschema.main.JsonSchemaFactory; -import jsonvalues.JsObj; -import jsonvalues.spec.JsObjParser; -import org.leadpony.justify.api.JsonValidationService; -import org.openjdk.jmh.annotations.Benchmark; -import org.openjdk.jmh.annotations.BenchmarkMode; -import org.openjdk.jmh.annotations.Mode; -import org.openjdk.jmh.annotations.OutputTimeUnit; -import org.openjdk.jmh.infra.Blackhole; -import javax.json.JsonObject; -import javax.json.JsonReader; -import java.io.StringReader; -import java.util.concurrent.TimeUnit; -import static jsonvalues.benchmark.Conf.*; - -@OutputTimeUnit(TimeUnit.SECONDS) -@BenchmarkMode(Mode.Throughput) -public class JsSchemaValidations { - - // json-values parser - private static final JsObjParser parser = new JsObjParser(PERSON_SPEC); - - // justify init - private static final JsonValidationService serviceJustify = JsonValidationService.newInstance(); - private static final org.leadpony.justify.api.JsonSchema schemaJustify = - serviceJustify.readSchema(new StringReader(PERSON_jSON_SCHEMA)); - - - // json schema validator init - private static final LoadingConfiguration cfg = LoadingConfiguration.newBuilder() - .dereferencing(Dereferencing.INLINE) - .freeze(); - private static final JsonSchemaFactory factory = JsonSchemaFactory.newBuilder() - .setLoadingConfiguration(cfg) - .freeze(); - private static final ObjectMapper objectMapper = new ObjectMapper(); - private static final JsonNode jsonSchema; - private static final JsonSchema schema; - - static { - try { - jsonSchema = JsonLoader.fromString(PERSON_jSON_SCHEMA); - schema = factory.getJsonSchema(jsonSchema); - } catch (Exception e) { - throw new RuntimeException(e); - } - } - - @Benchmark - public void json_schema_validator(Blackhole bh) throws JsonProcessingException, ProcessingException { - JsonNode json = objectMapper.readTree(PERSON_JSON); - bh.consume(schema.validate(json)); - } - - @Benchmark - public void json_spec_during_parsing(Blackhole bh) { - bh.consume(parser.parse(PERSON_JSON.getBytes())); - } - - @Benchmark - public void justify(Blackhole bh) { - JsonReader reader = serviceJustify.createReader(new StringReader(PERSON_JSON), - schemaJustify, - bh::consume - ); - JsonObject json = reader.readObject(); - - reader.close(); - - bh.consume(json); - } - - @Benchmark - public void json_spec(Blackhole bh) { - bh.consume(PERSON_SPEC.test(JsObj.parse(PERSON_JSON))); - } -} diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/JsSerializers.java b/benchmarking/src/main/java/jsonvalues/benchmark/JsSerializers.java index 7a902934..8da8b3eb 100644 --- a/benchmarking/src/main/java/jsonvalues/benchmark/JsSerializers.java +++ b/benchmarking/src/main/java/jsonvalues/benchmark/JsSerializers.java @@ -1,6 +1,7 @@ package jsonvalues.benchmark; import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import jsonvalues.JsObj; import org.openjdk.jmh.annotations.Benchmark; @@ -12,30 +13,37 @@ import java.util.Map; import java.util.concurrent.TimeUnit; +import static jsonvalues.benchmark.Conf.PERSON_JSON; + @OutputTimeUnit(TimeUnit.SECONDS) @BenchmarkMode(Mode.Throughput) public class JsSerializers { private static final ObjectMapper objectMapper = new ObjectMapper(); private static final JsObj json; - private static final Map map; + private static final JsonNode node; + private static final Person person; static { try { - json = JsObj.parse(Conf.PERSON_JSON); - map = objectMapper.readValue(Conf.PERSON_JSON, - Map.class - ); + json = JsObj.parse(PERSON_JSON); + node = objectMapper.readTree(PERSON_JSON); + person = objectMapper.readValue(PERSON_JSON,Person.class); } catch (Exception e) { throw new RuntimeException(e); } } + @Benchmark + public void jackson_node(Blackhole bh) throws JsonProcessingException { + byte[] bytes = objectMapper.writeValueAsBytes(node); + bh.consume(bytes); + } @Benchmark - public void jackson(Blackhole bh) throws JsonProcessingException { - byte[] bytes = objectMapper.writeValueAsBytes(map); + public void jackson_pojo(Blackhole bh) throws JsonProcessingException { + byte[] bytes = objectMapper.writeValueAsBytes(person); bh.consume(bytes); } diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/Person.java b/benchmarking/src/main/java/jsonvalues/benchmark/Person.java new file mode 100644 index 00000000..475819f3 --- /dev/null +++ b/benchmarking/src/main/java/jsonvalues/benchmark/Person.java @@ -0,0 +1,99 @@ +package jsonvalues.benchmark; + + +import java.util.List; + +public class Person { + private String firstName; + + private String lastName; + + private int age; + + private Double latitude; + + private Double longitude; + + private List fruits; + + private List vegetables; + + private List numbers; + + public String getFirstName() { + return firstName; + } + + public void setFirstName(final String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(final String lastName) { + this.lastName = lastName; + } + + public int getAge() { + return age; + } + + public void setAge(final int age) { + this.age = age; + } + + public Double getLatitude() { + return latitude; + } + + public void setLatitude(final Double latitude) { + this.latitude = latitude; + } + + public Double getLongitude() { + return longitude; + } + + public void setLongitude(final Double longitude) { + this.longitude = longitude; + } + + public List getFruits() { + return fruits; + } + + public void setFruits(final List fruits) { + this.fruits = fruits; + } + + public List getVegetables() { + return vegetables; + } + + public void setVegetables(final List vegetables) { + this.vegetables = vegetables; + } + public List getNumbers() { + return numbers; + } + + public void setNumbers(final List numbers) { + this.numbers = numbers; + } + + @Override + public String toString() { + return "Person{" + + "firstName='" + firstName + '\'' + + ", lastName='" + lastName + '\'' + + ", age=" + age + + ", latitude=" + latitude + + ", longitude=" + longitude + + ", fruits=" + fruits + + ", vegetables=" + vegetables + + ", numbers=" + numbers + + '}'; + } +} diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/PersonWithAnnotations.java b/benchmarking/src/main/java/jsonvalues/benchmark/PersonWithAnnotations.java new file mode 100644 index 00000000..5f3a74e0 --- /dev/null +++ b/benchmarking/src/main/java/jsonvalues/benchmark/PersonWithAnnotations.java @@ -0,0 +1,122 @@ +package jsonvalues.benchmark; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import javax.annotation.Nullable; +import javax.validation.constraints.*; +import java.util.ArrayList; +import java.util.List; + +public class PersonWithAnnotations { + @NotNull + @Size(min = 1,max = 255) + private String firstName; + + @NotNull + @Size(min = 1,max = 255) + private String lastName; + + @NotNull + @Min(0) + @Max(110) + private int age; + + @NotNull + @Min(-90) + @Max(90) + private Double latitude; + + @NotNull + @Min(-180) + @Max(180) + private Double longitude; + + @NotNull + @Size(min=1) + private List fruits; + + @NotNull + @Size(min=1) + private List vegetables; + + @NotNull + @Size(min=1) + private List numbers; + + public String getFirstName() { + return firstName; + } + + public void setFirstName(final String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return lastName; + } + + public void setLastName(final String lastName) { + this.lastName = lastName; + } + + public int getAge() { + return age; + } + + public void setAge(final int age) { + this.age = age; + } + + public Double getLatitude() { + return latitude; + } + + public void setLatitude(final Double latitude) { + this.latitude = latitude; + } + + public Double getLongitude() { + return longitude; + } + + public void setLongitude(final Double longitude) { + this.longitude = longitude; + } + + public List getFruits() { + return fruits; + } + + public void setFruits(final List fruits) { + this.fruits = fruits; + } + + public List getVegetables() { + return vegetables; + } + + public void setVegetables(final List vegetables) { + this.vegetables = vegetables; + } + public List getNumbers() { + return numbers; + } + + public void setNumbers(final List numbers) { + this.numbers = numbers; + } + + @Override + public String toString() { + return "Person{" + + "firstName='" + firstName + '\'' + + ", lastName='" + lastName + '\'' + + ", age=" + age + + ", latitude=" + latitude + + ", longitude=" + longitude + + ", fruits=" + fruits + + ", vegetables=" + vegetables + + ", numbers=" + numbers + + '}'; + } +} diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/Veggie.java b/benchmarking/src/main/java/jsonvalues/benchmark/Veggie.java new file mode 100644 index 00000000..02ae99c2 --- /dev/null +++ b/benchmarking/src/main/java/jsonvalues/benchmark/Veggie.java @@ -0,0 +1,34 @@ +package jsonvalues.benchmark; + + + +public class Veggie { + + private String veggieName; + + private boolean veggieLike; + + public String getVeggieName() { + return veggieName; + } + + public void setVeggieName(final String veggieName) { + this.veggieName = veggieName; + } + + public boolean isVeggieLike() { + return veggieLike; + } + + public void setVeggieLike(final boolean veggieLike) { + this.veggieLike = veggieLike; + } + + @Override + public String toString() { + return "Veggie{" + + "veggieName='" + veggieName + '\'' + + ", veggieLike=" + veggieLike + + '}'; + } +} diff --git a/benchmarking/src/main/java/jsonvalues/benchmark/VeggieWithAnnotations.java b/benchmarking/src/main/java/jsonvalues/benchmark/VeggieWithAnnotations.java new file mode 100644 index 00000000..a062a035 --- /dev/null +++ b/benchmarking/src/main/java/jsonvalues/benchmark/VeggieWithAnnotations.java @@ -0,0 +1,38 @@ +package jsonvalues.benchmark; + + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +public class VeggieWithAnnotations { + + @NotNull + @Size(min = 1, max = 255) + private String veggieName; + @NotNull + private boolean veggieLike; + + public String getVeggieName() { + return veggieName; + } + + public void setVeggieName(final String veggieName) { + this.veggieName = veggieName; + } + + public boolean isVeggieLike() { + return veggieLike; + } + + public void setVeggieLike(final boolean veggieLike) { + this.veggieLike = veggieLike; + } + + @Override + public String toString() { + return "Veggie{" + + "veggieName='" + veggieName + '\'' + + ", veggieLike=" + veggieLike + + '}'; + } +} diff --git a/benchmarking/src/main/resources/personSchema.json b/benchmarking/src/main/resources/personSchema.json index 2c615992..1cb793ed 100644 --- a/benchmarking/src/main/resources/personSchema.json +++ b/benchmarking/src/main/resources/personSchema.json @@ -2,19 +2,31 @@ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Person", "type": "object", + "required": [ + "firstName", + "lastName", + "age", + "latitude", + "longitude", + "fruits", + "numbers", + "vegetables" + ], "properties": { "firstName": { "type": "string", - "description": "The person's first name." + "minLength": 1, + "maxLength": 255 }, "lastName": { "type": "string", - "description": "The person's last name." + "minLength": 1, + "maxLength": 255 }, "age": { - "description": "Age in years which must be equal to or greater than zero.", "type": "integer", - "minimum": 0 + "minimum": 0, + "maximum": 110 }, "latitude": { "type": "number", @@ -28,12 +40,14 @@ }, "fruits": { "type": "array", + "minItems": 1, "items": { "type": "string" } }, "numbers": { "type": "array", + "minItems": 1, "items": { "type": "integer" } @@ -55,11 +69,11 @@ "properties": { "veggieName": { "type": "string", - "description": "The name of the vegetable" + "minLength": 1, + "maxLength": 255 }, "veggieLike": { - "type": "boolean", - "description": "Do I like this vegetable?" + "type": "boolean" } } } diff --git a/benchmarking/src/main/scripts/CHANGELOG.md b/benchmarking/src/main/scripts/CHANGELOG.md deleted file mode 100644 index 1359ef82..00000000 --- a/benchmarking/src/main/scripts/CHANGELOG.md +++ /dev/null @@ -1,21 +0,0 @@ -# My app - Changelog - - - -## Features - - 🎸 linkedhashmap implementation - ([9838bba6](https://github.com/imrafaelmerino/json-values/commit/9838bba6ed6a78379f72539715dd0c694fb99039)) - - - - -## Documentation - - ✏️ readme typo - ([43efa2a0](https://github.com/imrafaelmerino/json-values/commit/43efa2a0a904990ef08f00a096d866bd4cdf757a)) - - - - - ---- -*Generated with [git-changelog](https://github.com/rafinskipg/git-changelog). If you have any problems or suggestions, create an issue.* :) **Thanks** diff --git a/benchmarking/src/main/scripts/benchamark.sh b/benchmarking/src/main/scripts/benchamark.sh new file mode 100755 index 00000000..6a8cfd45 --- /dev/null +++ b/benchmarking/src/main/scripts/benchamark.sh @@ -0,0 +1,85 @@ +#!/usr/bin/env bash +java -Xms256m \ +-jar releases/8.1.0/benchmark-8.1.0-open-8.jar \ +-rff results/8.1.0/open/deserializer/open-r9-c8.json \ +-rf json \ +jsonvalues\.benchmark\.JsDeserializers + +java -Xms256m \ +-jar releases/8.1.0/benchmark-8.1.0-open-8.jar \ +-rff results/8.1.0/open/serializer/open-r9-c8.json \ +-rf json \ +jsonvalues\.benchmark\.JsSerializers + +java -Xms256m \ +-jar releases/8.1.0/benchmark-8.1.0-open-9.jar \ +-rff results/8.1.0/open/deserializer/open-r9-c9.json \ +-rf json \ +jsonvalues\.benchmark\.JsDeserializers + +java -Xms256m \ +-jar releases/8.1.0/benchmark-8.1.0-open-9.jar \ +-rff results/8.1.0/open/serializer/open-r9-c9.json \ +-rf json \ +jsonvalues\.benchmark\.JsSerializers + +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-10.jar \ +#-rff results/8.1.0/open/deserializer/open-r11-c10.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsDeserializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-10.jar \ +#-rff results/8.1.0/open/serializer/open-r11-c10.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsSerializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-11.jar \ +#-rff results/8.1.0/open/deserializer/open-r11-c11.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsDeserializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-11.jar \ +#-rff results/8.1.0/open/serializer/open-r11-c11.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsSerializers + +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-12.jar \ +#-rff results/8.1.0/open/deserializer/open-r11-c12.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsDeserializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-12.jar \ +#-rff results/8.1.0/open/serializer/open-r11-c12.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsSerializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-13.jar \ +#-rff results/8.1.0/open/deserializer/open-r11-c13.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsDeserializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-13.jar \ +#-rff results/8.1.0/open/serializer/open-r11-c13.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsSerializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-14.jar \ +#-rff results/8.1.0/open/deserializer/open-r11-c14.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsDeserializers +# +#java -Xms256m \ +#-jar releases/8.1.0/benchmark-8.1.0-open-14.jar \ +#-rff results/8.1.0/open/serializer/open-r11-c14.json \ +#-rf json \ +#jsonvalues\.benchmark\.JsSerializers + diff --git a/benchmarking/src/main/scripts/benchamark_deserializers.sh b/benchmarking/src/main/scripts/benchamark_deserializers.sh deleted file mode 100755 index d130dabd..00000000 --- a/benchmarking/src/main/scripts/benchamark_deserializers.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -java -Xms256m \ --jar json-values-benchmark-8.1.0.jar \ --rff jmh-result-deserializers-8.1.0.json \ --rf json \ -jsonvalues\.benchmark\.JsDeserializers - diff --git a/benchmarking/src/main/scripts/benchamark_schema_validation.sh b/benchmarking/src/main/scripts/benchamark_schema_validation.sh deleted file mode 100755 index a9fa0f2a..00000000 --- a/benchmarking/src/main/scripts/benchamark_schema_validation.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -java -Xms256m \ --jar json-values-benchmark-8.0.2.jar \ --rff jmh-result-schema-validations-8.0.2.json \ --rf json \ -jsonvalues\.benchmark\.JsSchemaValidations - diff --git a/benchmarking/src/main/scripts/benchamark_serializers.sh b/benchmarking/src/main/scripts/benchamark_serializers.sh deleted file mode 100755 index 83225a1d..00000000 --- a/benchmarking/src/main/scripts/benchamark_serializers.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -java -Xms256m \ --jar json-values-benchmark-8.0.2.jar \ --rff jmh-result-serializers-8.0.2.json \ --rf json \ -jsonvalues\.benchmark\.JsSerializers - diff --git a/benchmarking/src/main/scripts/jdks b/benchmarking/src/main/scripts/jdks new file mode 100644 index 00000000..0c6e0af4 --- /dev/null +++ b/benchmarking/src/main/scripts/jdks @@ -0,0 +1,13 @@ +8.0.252-zulu +9.0.4-open +9.0.7-zulu +10.0.2-open +10.0.2-zulu +11.0.7-open +11.0.7-zulu +12.0.2-open +12.0.2-zulu +13.0.2-open +13.0.3-zulu +14.0.1-open +14.0.1-zulu \ No newline at end of file diff --git a/benchmarking/src/main/scripts/jmh-result-deserializers-8.0.2.json b/benchmarking/src/main/scripts/jmh-result-deserializers-8.0.2.json deleted file mode 100644 index a2486e4f..00000000 --- a/benchmarking/src/main/scripts/jmh-result-deserializers-8.0.2.json +++ /dev/null @@ -1,244 +0,0 @@ -[ - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 459240.32263926626, - "scoreError" : 6643.346510800271, - "scoreConfidence" : [ - 452596.97612846596, - 465883.66915006656 - ], - "scorePercentiles" : { - "0.0" : 444761.1637930282, - "50.0" : 456227.7368412055, - "90.0" : 473503.7195261331, - "95.0" : 474891.2848722531, - "99.0" : 475287.20127741055, - "99.9" : 475287.20127741055, - "99.99" : 475287.20127741055, - "99.999" : 475287.20127741055, - "99.9999" : 475287.20127741055, - "100.0" : 475287.20127741055 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 448279.31605657015, - 452414.16739724146, - 449525.61528218427, - 445512.84223669244, - 444761.1637930282 - ], - [ - 462766.9529708792, - 463337.30442949035, - 458899.95895035414, - 453858.6016857778, - 455148.3799706821 - ], - [ - 456227.7368412055, - 461292.1512666972, - 462376.5890018497, - 462677.6795372018, - 467356.64861676295 - ], - [ - 454585.40992843686, - 454494.42141673836, - 455861.2041759227, - 452722.16273729585, - 454935.0654045367 - ], - [ - 469942.8372913877, - 475287.20127741055, - 473967.4799268856, - 473194.5459256314, - 471582.62986079184 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 169728.59250404517, - "scoreError" : 804.0810012973451, - "scoreConfidence" : [ - 168924.51150274783, - 170532.6735053425 - ], - "scorePercentiles" : { - "0.0" : 166832.6160549497, - "50.0" : 169541.78766325008, - "90.0" : 171008.52523424977, - "95.0" : 171204.46505011834, - "99.0" : 171284.9173517625, - "99.9" : 171284.9173517625, - "99.99" : 171284.9173517625, - "99.999" : 171284.9173517625, - "99.9999" : 171284.9173517625, - "100.0" : 171284.9173517625 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 171003.04671511718, - 170721.03893999208, - 170562.3586549685, - 171016.74301294863, - 171284.9173517625 - ], - [ - 169350.21161313026, - 169119.68841783254, - 169183.98011278757, - 169309.8151490477, - 167903.32123125036 - ], - [ - 169504.4873247705, - 170018.9708358706, - 170308.31598913565, - 170421.9176373559, - 170237.82484147968 - ], - [ - 169384.19423553548, - 166832.6160549497, - 168915.26809548875, - 169015.9588815537, - 169541.78766325008 - ], - [ - 170609.57708378005, - 170957.09906885884, - 170515.82156879545, - 169065.54681565284, - 168430.30530581504 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 266024.2780710936, - "scoreError" : 34745.954487705414, - "scoreConfidence" : [ - 231278.32358338818, - 300770.23255879903 - ], - "scorePercentiles" : { - "0.0" : 92269.40091131844, - "50.0" : 264606.3606238515, - "90.0" : 315739.324418798, - "95.0" : 317808.99838662444, - "99.0" : 318137.1133002298, - "99.9" : 318137.1133002298, - "99.99" : 318137.1133002298, - "99.999" : 318137.1133002298, - "99.9999" : 318137.1133002298, - "100.0" : 318137.1133002298 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 300949.7674864672, - 301514.0468160397, - 301477.52219402144, - 297425.63048089494, - 300468.0310087479 - ], - [ - 311941.9202319074, - 314869.9427502997, - 317043.3969215453, - 318137.1133002298, - 260194.68601226548 - ], - [ - 92269.40091131844, - 236572.679203114, - 288839.2560362449, - 267181.49087765114, - 273243.9851174968 - ], - [ - 257398.4507882993, - 264606.3606238515, - 249311.86804939117, - 241398.51441262054, - 244099.65117377523 - ], - [ - 242677.14735801448, - 242096.39780255436, - 242382.98513658877, - 242197.21977127023, - 242309.48731273113 - ] - ] - }, - "secondaryMetrics" : { - } - } -] - - diff --git a/benchmarking/src/main/scripts/jmh-result-deserializers-8.1.0.json b/benchmarking/src/main/scripts/jmh-result-deserializers-8.1.0.json deleted file mode 100644 index 66871db6..00000000 --- a/benchmarking/src/main/scripts/jmh-result-deserializers-8.1.0.json +++ /dev/null @@ -1,244 +0,0 @@ -[ - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 468285.2906152162, - "scoreError" : 16892.262114682388, - "scoreConfidence" : [ - 451393.0285005338, - 485177.5527298986 - ], - "scorePercentiles" : { - "0.0" : 369094.5099680244, - "50.0" : 471459.96630526165, - "90.0" : 486214.0089883943, - "95.0" : 491627.9223897227, - "99.0" : 493395.61122382316, - "99.9" : 493395.61122382316, - "99.99" : 493395.61122382316, - "99.999" : 493395.61122382316, - "99.9999" : 493395.61122382316, - "100.0" : 493395.61122382316 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 478017.65580821206, - 473265.4906729078, - 476275.6570538573, - 485354.4715738871, - 493395.61122382316 - ], - [ - 471459.96630526165, - 475991.2277351905, - 476037.7160991329, - 472967.0656359614, - 467457.1799579981 - ], - [ - 469155.7980784224, - 468385.4671426404, - 470032.1604199484, - 465600.1948478504, - 465793.4807925965 - ], - [ - 466391.81727975776, - 459816.3948961715, - 458631.5090914877, - 455122.2901095494, - 464339.59445387614 - ], - [ - 477049.66960189055, - 369094.5099680244, - 487503.31511015503, - 482597.4984910238, - 477396.52303077874 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 162601.42000776491, - "scoreError" : 1572.1168157086859, - "scoreConfidence" : [ - 161029.30319205622, - 164173.5368234736 - ], - "scorePercentiles" : { - "0.0" : 158603.52615292568, - "50.0" : 162876.99645674264, - "90.0" : 165722.36100916477, - "95.0" : 165959.81849790452, - "99.0" : 165978.66629733125, - "99.9" : 165978.66629733125, - "99.99" : 165978.66629733125, - "99.999" : 165978.66629733125, - "99.9999" : 165978.66629733125, - "100.0" : 165978.66629733125 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 162102.95023434868, - 162876.99645674264, - 162879.3166427616, - 159616.9591667816, - 159730.87039052186 - ], - [ - 159485.53524885644, - 159980.24253190646, - 163218.24069119227, - 163186.1729907398, - 162410.4451595062 - ], - [ - 161424.4730565377, - 161372.0935121639, - 161597.87150842373, - 161239.29991446194, - 158603.52615292568 - ], - [ - 162968.26482859786, - 163834.3541513703, - 164988.79976614803, - 163786.66846346966, - 162822.0988293181 - ], - [ - 164833.44202693904, - 165978.66629733125, - 165915.84029924212, - 164588.99705805542, - 165593.37481577985 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 274190.97516399017, - "scoreError" : 26268.30965801991, - "scoreConfidence" : [ - 247922.66550597025, - 300459.2848220101 - ], - "scorePercentiles" : { - "0.0" : 125924.53881265367, - "50.0" : 285374.84201441304, - "90.0" : 300083.5139138602, - "95.0" : 305539.1102746456, - "99.0" : 307875.34379721363, - "99.9" : 307875.34379721363, - "99.99" : 307875.34379721363, - "99.999" : 307875.34379721363, - "99.9999" : 307875.34379721363, - "100.0" : 307875.34379721363 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 294162.58683561056, - 295474.46553029155, - 290501.84670854936, - 291804.51505021274, - 290703.00064875 - ], - [ - 285374.84201441304, - 259078.1961540478, - 268179.29286336526, - 271581.8148556335, - 125924.53881265367 - ], - [ - 262783.1884229936, - 290184.1796259943, - 295031.9225308143, - 257258.78631952716, - 294437.41765902063 - ], - [ - 307875.34379721363, - 258112.29352618623, - 253473.1827778395, - 290958.28053916193, - 254526.5895004432 - ], - [ - 300087.89872198703, - 267601.69431447046, - 270254.9609742284, - 300080.59070844227, - 279322.9502079039 - ] - ] - }, - "secondaryMetrics" : { - } - } -] - - diff --git a/benchmarking/src/main/scripts/jmh-result-schema-validations-8.0.2.json b/benchmarking/src/main/scripts/jmh-result-schema-validations-8.0.2.json deleted file mode 100644 index c867e3ed..00000000 --- a/benchmarking/src/main/scripts/jmh-result-schema-validations-8.0.2.json +++ /dev/null @@ -1,324 +0,0 @@ -[ - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSchemaValidations.json_schema_validator", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 28341.249989039396, - "scoreError" : 565.8779535497295, - "scoreConfidence" : [ - 27775.372035489665, - 28907.127942589126 - ], - "scorePercentiles" : { - "0.0" : 27042.75408745111, - "50.0" : 28526.252175337842, - "90.0" : 29301.063941726705, - "95.0" : 29438.305387018674, - "99.0" : 29460.28742933279, - "99.9" : 29460.28742933279, - "99.99" : 29460.28742933279, - "99.999" : 29460.28742933279, - "99.9999" : 29460.28742933279, - "100.0" : 29460.28742933279 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 28526.252175337842, - 28223.5398250649, - 28873.32270093534, - 28659.73356267108, - 28615.28696753921 - ], - [ - 27938.57913833681, - 28822.414720448873, - 29243.763932909576, - 29387.0139549524, - 29460.28742933279 - ], - [ - 29181.412579508153, - 28980.283199659338, - 29218.04843383222, - 28813.39393547561, - 28933.734207119152 - ], - [ - 27585.364357359398, - 27890.532684106114, - 27849.080691645977, - 28005.866030098616, - 27520.17996618445 - ], - [ - 27381.437920930748, - 27086.83217721944, - 27309.432097821926, - 27042.75408745111, - 27982.702950043753 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSchemaValidations.json_spec", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 106955.66204669542, - "scoreError" : 1872.8663402057725, - "scoreConfidence" : [ - 105082.79570648965, - 108828.52838690119 - ], - "scorePercentiles" : { - "0.0" : 100419.54369469907, - "50.0" : 107099.6333193826, - "90.0" : 110023.614944961, - "95.0" : 110682.59150997862, - "99.0" : 110732.33302081672, - "99.9" : 110732.33302081672, - "99.99" : 110732.33302081672, - "99.999" : 110732.33302081672, - "99.9999" : 110732.33302081672, - "100.0" : 110732.33302081672 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 107531.59988066075, - 106253.93074575698, - 107540.26177406087, - 108499.20722090661, - 107099.6333193826 - ], - [ - 106516.16488642657, - 108812.2463221771, - 107931.22948029864, - 107875.52065195808, - 107231.41883653104 - ], - [ - 101254.92417454562, - 106626.52680325553, - 106673.91938266333, - 106167.45127530814, - 106549.19701140675 - ], - [ - 109426.5371324169, - 109422.36777119238, - 109661.67291847516, - 110732.33302081672, - 110566.52798468975 - ], - [ - 106039.68785618473, - 105391.4371033098, - 106514.64451581141, - 103153.56740445075, - 100419.54369469907 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSchemaValidations.json_spec_during_parsing", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 165936.33524575096, - "scoreError" : 1906.5869600186772, - "scoreConfidence" : [ - 164029.7482857323, - 167842.92220576963 - ], - "scorePercentiles" : { - "0.0" : 157209.78051356887, - "50.0" : 166745.43022011404, - "90.0" : 168452.67876880296, - "95.0" : 168723.50065336708, - "99.0" : 168775.27190027482, - "99.9" : 168775.27190027482, - "99.99" : 168775.27190027482, - "99.999" : 168775.27190027482, - "99.9999" : 168775.27190027482, - "100.0" : 168775.27190027482 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 168775.27190027482, - 168217.65139689593, - 166856.5535176227, - 168602.70107724902, - 168352.66389650558 - ], - [ - 163695.39580219402, - 165002.01194990144, - 165735.84924105668, - 157209.78051356887, - 166444.7384488007 - ], - [ - 166745.43022011404, - 166988.78272934334, - 166283.77426332654, - 166301.63494635603, - 164682.814014882 - ], - [ - 163206.4738039875, - 165732.8012333263, - 166994.3872241559, - 166871.5100081138, - 166889.0354909002 - ], - [ - 166964.03847295282, - 167671.48990960218, - 167910.3731752957, - 165191.96869708842, - 161081.24921026 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSchemaValidations.justify", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 134365.93776736292, - "scoreError" : 10588.322996768025, - "scoreConfidence" : [ - 123777.6147705949, - 144954.26076413094 - ], - "scorePercentiles" : { - "0.0" : 98138.4996968618, - "50.0" : 139095.45761690193, - "90.0" : 150122.50315201425, - "95.0" : 153691.9848968894, - "99.0" : 155017.61294782444, - "99.9" : 155017.61294782444, - "99.99" : 155017.61294782444, - "99.999" : 155017.61294782444, - "99.9999" : 155017.61294782444, - "100.0" : 155017.61294782444 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 149483.9138961728, - 147398.0854303232, - 147498.1057135666, - 145614.45990919846, - 129689.40305952475 - ], - [ - 149804.93673466312, - 139583.05640278672, - 117910.89052660912, - 126893.06793436667, - 115352.25580221623 - ], - [ - 139095.45761690193, - 128383.22665688473, - 144358.37568343684, - 143388.59335386634, - 123347.32882545263 - ], - [ - 141304.3213778958, - 142146.27398132277, - 155017.61294782444, - 150598.85277804098, - 130813.73019136151 - ], - [ - 127286.40785178095, - 130438.54173476348, - 114379.32653192431, - 98138.4996968618, - 121223.71954632684 - ] - ] - }, - "secondaryMetrics" : { - } - } -] - - diff --git a/benchmarking/src/main/scripts/jmh-result-serializers-8.0.2.json b/benchmarking/src/main/scripts/jmh-result-serializers-8.0.2.json deleted file mode 100644 index 6f2853a4..00000000 --- a/benchmarking/src/main/scripts/jmh-result-serializers-8.0.2.json +++ /dev/null @@ -1,164 +0,0 @@ -[ - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 827202.8359670867, - "scoreError" : 6169.59096420696, - "scoreConfidence" : [ - 821033.2450028798, - 833372.4269312937 - ], - "scorePercentiles" : { - "0.0" : 811174.3661223495, - "50.0" : 825213.0661485672, - "90.0" : 839982.4085116213, - "95.0" : 840581.99738581, - "99.0" : 840598.0703389196, - "99.9" : 840598.0703389196, - "99.99" : 840598.0703389196, - "99.999" : 840598.0703389196, - "99.9999" : 840598.0703389196, - "100.0" : 840598.0703389196 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 840544.4938285543, - 839607.6849669993, - 838894.2991938656, - 838179.4479985454, - 827286.620059448 - ], - [ - 824770.7192563995, - 826101.5867773338, - 828127.9929612328, - 824104.2331268697, - 811174.3661223495 - ], - [ - 824877.1540340538, - 822352.8691416396, - 827188.9985128703, - 819385.0992310114, - 821049.9851900932 - ], - [ - 832095.5028652389, - 820131.1480769978, - 819282.0957376698, - 815048.0656824592, - 822330.0536630739 - ], - [ - 838666.3962380463, - 840598.0703389196, - 829051.1885401844, - 825213.0661485672, - 824009.7614847462 - ] - ] - }, - "secondaryMetrics" : { - } - }, - { - "jmhVersion" : "1.23", - "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", - "mode" : "thrpt", - "threads" : 1, - "forks" : 5, - "jvm" : "/Users/rmerino/.sdkman/candidates/java/8.0.202-zulu/jre/bin/java", - "jvmArgs" : [ - "-Xms256m" - ], - "jdkVersion" : "1.8.0_202", - "vmName" : "OpenJDK 64-Bit Server VM", - "vmVersion" : "25.202-b05", - "warmupIterations" : 5, - "warmupTime" : "10 s", - "warmupBatchSize" : 1, - "measurementIterations" : 5, - "measurementTime" : "10 s", - "measurementBatchSize" : 1, - "primaryMetric" : { - "score" : 965630.6831035265, - "scoreError" : 14964.427227412012, - "scoreConfidence" : [ - 950666.2558761145, - 980595.1103309385 - ], - "scorePercentiles" : { - "0.0" : 916474.4226570523, - "50.0" : 966006.0620864525, - "90.0" : 991995.4766539737, - "95.0" : 1006070.7666208755, - "99.0" : 1010349.567187855, - "99.9" : 1010349.567187855, - "99.99" : 1010349.567187855, - "99.999" : 1010349.567187855, - "99.9999" : 1010349.567187855, - "100.0" : 1010349.567187855 - }, - "scoreUnit" : "ops/s", - "rawData" : [ - [ - 976892.6439967945, - 978943.9016237014, - 982925.7238290405, - 976079.8354237439, - 957281.4559948079 - ], - [ - 969896.4569833287, - 973297.5522512483, - 966006.0620864525, - 970514.6906724868, - 959276.269535217 - ], - [ - 952566.7051996317, - 916474.4226570523, - 952898.431900653, - 948789.0271411317, - 944116.7071866068 - ], - [ - 947261.4035660008, - 964313.6940612873, - 952602.6672949283, - 951813.8701723056, - 942884.1666708126 - ], - [ - 989267.8620024519, - 975860.1686353851, - 996086.8986312563, - 1010349.567187855, - 984366.8928839796 - ] - ] - }, - "secondaryMetrics" : { - } - } -] - - diff --git a/benchmarking/src/main/scripts/json-values-benchmark-8.0.2.jar b/benchmarking/src/main/scripts/json-values-benchmark-8.0.2.jar deleted file mode 100644 index e69de29b..00000000 diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-10.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-10.jar new file mode 100644 index 00000000..34216e0e Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-10.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-11.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-11.jar new file mode 100644 index 00000000..991bd948 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-11.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-12.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-12.jar new file mode 100644 index 00000000..3663417a Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-12.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-13.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-13.jar new file mode 100644 index 00000000..fcc95539 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-13.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-14.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-14.jar new file mode 100644 index 00000000..4aeafed3 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-14.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-9.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-9.jar new file mode 100644 index 00000000..1bcd1d7c Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-open-9.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-10.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-10.jar new file mode 100644 index 00000000..00984ffa Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-10.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-11.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-11.jar new file mode 100644 index 00000000..378f0cb2 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-11.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-12.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-12.jar new file mode 100644 index 00000000..b047eddf Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-12.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-13.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-13.jar new file mode 100644 index 00000000..161f8c23 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-13.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-14.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-14.jar new file mode 100644 index 00000000..33af0386 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-14.jar differ diff --git a/benchmarking/src/main/scripts/json-values-benchmark-8.1.0.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-8.jar similarity index 89% rename from benchmarking/src/main/scripts/json-values-benchmark-8.1.0.jar rename to benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-8.jar index c7d10a5c..e01f823a 100644 Binary files a/benchmarking/src/main/scripts/json-values-benchmark-8.1.0.jar and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-8.jar differ diff --git a/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-9.jar b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-9.jar new file mode 100644 index 00000000..33989d10 Binary files /dev/null and b/benchmarking/src/main/scripts/releases/8.1.0/benchmark-8.1.0-zulu-9.jar differ diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c10.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c10.json new file mode 100644 index 00000000..7fae530c --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c10.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 421897.52402212506, + "scoreError" : 7672.28869697725, + "scoreConfidence" : [ + 414225.2353251478, + 429569.8127191023 + ], + "scorePercentiles" : { + "0.0" : 399012.1424721793, + "50.0" : 425135.7332143343, + "90.0" : 434508.14943381713, + "95.0" : 435888.1444248809, + "99.0" : 436000.8274446979, + "99.9" : 436000.8274446979, + "99.99" : 436000.8274446979, + "99.999" : 436000.8274446979, + "99.9999" : 436000.8274446979, + "100.0" : 436000.8274446979 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 418728.33638077875, + 419050.5248079693, + 419543.6492276388, + 418615.90226015897, + 418338.9296642452 + ], + [ + 428229.11407908436, + 435625.21737864125, + 436000.8274446979, + 433212.9665279818, + 433763.43747060106 + ], + [ + 425623.1852460246, + 425985.19807052554, + 425135.7332143343, + 423202.24447650264, + 411953.0639870655 + ], + [ + 409260.81155667495, + 409707.066485815, + 399012.1424721793, + 405181.9087919538, + 405919.5210384864 + ], + [ + 426505.9866037999, + 429979.34880113683, + 429326.2368948421, + 429415.1776089442, + 430121.57006304763 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 456363.5845818099, + "scoreError" : 10690.944828439971, + "scoreConfidence" : [ + 445672.6397533699, + 467054.52941024984 + ], + "scorePercentiles" : { + "0.0" : 429269.64326024486, + "50.0" : 460340.1273961163, + "90.0" : 476445.5039531829, + "95.0" : 476985.80880225776, + "99.0" : 477143.7242059806, + "99.9" : 477143.7242059806, + "99.99" : 477143.7242059806, + "99.999" : 477143.7242059806, + "99.9999" : 477143.7242059806, + "100.0" : 477143.7242059806 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 429269.64326024486, + 435093.99151572597, + 440549.99357951654, + 440881.3739103421, + 440213.11161756533 + ], + [ + 465914.8735483827, + 465173.0789330142, + 466097.18060422014, + 465756.25360684365, + 462103.4062626105 + ], + [ + 472873.1931318697, + 476330.9469040352, + 470301.80176030204, + 476617.3395269044, + 477143.7242059806 + ], + [ + 447972.93825588113, + 437639.11872893677, + 448465.7503334915, + 445457.6867807485, + 443224.6138414188 + ], + [ + 459820.322902901, + 461182.038382881, + 459389.7054042348, + 460340.1273961163, + 461277.40015108016 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 86845.45319005374, + "scoreError" : 3887.5537997540705, + "scoreConfidence" : [ + 82957.89939029967, + 90733.0069898078 + ], + "scorePercentiles" : { + "0.0" : 70403.24238959762, + "50.0" : 87861.98514757323, + "90.0" : 92542.04894852916, + "95.0" : 92644.46455957042, + "99.0" : 92683.8020148167, + "99.9" : 92683.8020148167, + "99.99" : 92683.8020148167, + "99.999" : 92683.8020148167, + "99.9999" : 92683.8020148167, + "100.0" : 92683.8020148167 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 87898.75570522383, + 87988.89237747612, + 87717.87530175174, + 87861.98514757323, + 87331.04613445497 + ], + [ + 88855.18161519403, + 87330.84109230718, + 88148.07212809841, + 87383.96034961694, + 88664.27206699466 + ], + [ + 92534.96347155143, + 92497.27672579543, + 92381.2927206117, + 92552.67716399576, + 92683.8020148167 + ], + [ + 84420.2841226394, + 82942.16170077112, + 84380.31884690323, + 70403.24238959762, + 77767.16589776114 + ], + [ + 87388.5727428486, + 88699.4829584542, + 87219.48184601142, + 77656.25035889146, + 88428.474872003 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 25907.690432753003, + "scoreError" : 991.678594347191, + "scoreConfidence" : [ + 24916.01183840581, + 26899.369027100194 + ], + "scorePercentiles" : { + "0.0" : 22453.803699330656, + "50.0" : 26690.355649130986, + "90.0" : 27137.366429878297, + "95.0" : 27275.817527528983, + "99.0" : 27315.229779313737, + "99.9" : 27315.229779313737, + "99.99" : 27315.229779313737, + "99.999" : 27315.229779313737, + "99.9999" : 27315.229779313737, + "100.0" : 27315.229779313737 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 22453.803699330656, + 26090.98861525411, + 24153.405028258367, + 24538.433027007155, + 25305.22715545079 + ], + [ + 24707.14232224577, + 24911.138712048276, + 24403.22468188941, + 24964.210031095663, + 24411.125147478633 + ], + [ + 24656.997017435373, + 26916.993231231347, + 26660.767360249512, + 27183.855606697896, + 27315.229779313737 + ], + [ + 26737.414517030345, + 26730.869424102188, + 26690.355649130986, + 26728.417927938677, + 26754.676449002985 + ], + [ + 27105.410872831322, + 27062.337161327214, + 27097.28815758717, + 27106.3736453319, + 27006.575599555526 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 214523.07449864157, + "scoreError" : 3110.3786764855045, + "scoreConfidence" : [ + 211412.69582215606, + 217633.45317512707 + ], + "scorePercentiles" : { + "0.0" : 209283.05204060636, + "50.0" : 212342.57891854417, + "90.0" : 220558.02774154037, + "95.0" : 220980.46644156476, + "99.0" : 221084.83882057332, + "99.9" : 221084.83882057332, + "99.99" : 221084.83882057332, + "99.999" : 221084.83882057332, + "99.9999" : 221084.83882057332, + "100.0" : 221084.83882057332 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 217245.9529321036, + 218932.93243761882, + 218280.23521855433, + 217848.51567844726, + 217818.24730248968 + ], + [ + 212737.55002283648, + 212342.57891854417, + 212243.0295446555, + 212645.36745843364, + 212154.45833597376 + ], + [ + 210859.71614907146, + 209283.05204060636, + 209461.93971419998, + 210702.24036586695, + 210197.24695239993 + ], + [ + 211519.33035658422, + 211555.22423010026, + 211281.35357507618, + 211446.8136695719, + 211697.24967662673 + ], + [ + 220438.7589755374, + 220138.17782535634, + 221084.83882057332, + 220736.9308905448, + 220425.12137426622 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 269378.228273323, + "scoreError" : 1479.256848686446, + "scoreConfidence" : [ + 267898.97142463655, + 270857.4851220094 + ], + "scorePercentiles" : { + "0.0" : 264600.5017616388, + "50.0" : 269933.2867850713, + "90.0" : 271332.56352733227, + "95.0" : 271390.657248899, + "99.0" : 271415.2716600234, + "99.9" : 271415.2716600234, + "99.99" : 271415.2716600234, + "99.999" : 271415.2716600234, + "99.9999" : 271415.2716600234, + "100.0" : 271415.2716600234 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 269641.0869367921, + 270004.81748912926, + 270420.0093326472, + 269685.31792759127, + 270065.6775996741 + ], + [ + 265965.7062639505, + 266296.13254927174, + 264600.5017616388, + 266032.95421420515, + 266044.4286505994 + ], + [ + 269686.6207585495, + 269168.8850215302, + 269152.79572717735, + 269522.56583074876, + 269218.4822847988 + ], + [ + 270720.44286307716, + 270456.9806047154, + 270910.5030483716, + 269933.2867850713, + 270650.2081460362 + ], + [ + 271190.98267499695, + 271333.22362294194, + 271006.7016159419, + 271415.2716600234, + 271332.1234635925 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 118298.23127888145, + "scoreError" : 1576.8302263434239, + "scoreConfidence" : [ + 116721.40105253801, + 119875.06150522488 + ], + "scorePercentiles" : { + "0.0" : 115521.84094059597, + "50.0" : 118282.40590269268, + "90.0" : 121972.97856749158, + "95.0" : 122043.00700035959, + "99.0" : 122063.94866458632, + "99.9" : 122063.94866458632, + "99.99" : 122063.94866458632, + "99.999" : 122063.94866458632, + "99.9999" : 122063.94866458632, + "100.0" : 122063.94866458632 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 118757.34719672044, + 118632.31069877364, + 118810.24893669266, + 118697.66225195017, + 118233.74860399617 + ], + [ + 121994.14311716387, + 122063.94866458632, + 121958.86886771004, + 121428.07491379957, + 121784.51227439672 + ], + [ + 117030.22100228755, + 117051.24906768557, + 116884.20216316081, + 117112.54205430912, + 117117.69407467461 + ], + [ + 118338.34158597827, + 118282.40590269268, + 118330.48423188175, + 118178.05541026124, + 118387.90898396826 + ], + [ + 115827.80244743623, + 115682.89130536074, + 115636.52704509597, + 115521.84094059597, + 115712.75023085813 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c11.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c11.json new file mode 100644 index 00000000..8be932a2 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c11.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 422721.64158555714, + "scoreError" : 8157.911780560991, + "scoreConfidence" : [ + 414563.72980499617, + 430879.5533661181 + ], + "scorePercentiles" : { + "0.0" : 397649.8948084226, + "50.0" : 418913.93127748225, + "90.0" : 439895.16003545205, + "95.0" : 439961.2039222774, + "99.0" : 439984.49872727983, + "99.9" : 439984.49872727983, + "99.99" : 439984.49872727983, + "99.999" : 439984.49872727983, + "99.9999" : 439984.49872727983, + "100.0" : 439984.49872727983 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 417379.81471792865, + 417672.55164215434, + 418441.03372251097, + 417748.1436998446, + 418156.9831607352 + ], + [ + 439665.1274641315, + 439887.3671409056, + 439429.88274286303, + 439906.8493772717, + 439984.49872727983 + ], + [ + 413244.6293372092, + 411631.3153263551, + 411553.3782710976, + 412290.54542087676, + 397649.8948084226 + ], + [ + 427574.6882385888, + 427870.8263307355, + 428506.4575198147, + 427381.82181919273, + 427420.72674726637 + ], + [ + 418913.93127748225, + 419194.00172522914, + 418655.3779290656, + 418896.0057363941, + 418985.1867555751 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 467563.46094323666, + "scoreError" : 7687.472137230545, + "scoreConfidence" : [ + 459875.9888060061, + 475250.9330804672 + ], + "scorePercentiles" : { + "0.0" : 455648.27980311937, + "50.0" : 468110.0366355397, + "90.0" : 484861.9776829097, + "95.0" : 485435.1449570081, + "99.0" : 485636.80730073195, + "99.9" : 485636.80730073195, + "99.99" : 485636.80730073195, + "99.999" : 485636.80730073195, + "99.9999" : 485636.80730073195, + "100.0" : 485636.80730073195 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 485636.80730073195, + 484366.5880152167, + 483954.5949306695, + 484964.599488319, + 484793.56314597017 + ], + [ + 467514.9262937861, + 468966.9871972027, + 468394.94851458934, + 468110.0366355397, + 468004.72697961424 + ], + [ + 469532.41394651297, + 470048.3476937588, + 469439.4880398922, + 469805.5854598436, + 469696.2842188198 + ], + [ + 459159.59339604306, + 458707.36845947156, + 458981.47597766767, + 459736.80551320355, + 459621.63570517354 + ], + [ + 455830.56238911126, + 456147.76025524887, + 456296.9071577613, + 455726.2370636481, + 455648.27980311937 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 92085.31881625106, + "scoreError" : 1162.5073831086845, + "scoreConfidence" : [ + 90922.81143314239, + 93247.82619935974 + ], + "scorePercentiles" : { + "0.0" : 89555.82820092601, + "50.0" : 92616.99712220828, + "90.0" : 93985.86899861753, + "95.0" : 94003.60202704373, + "99.0" : 94006.68380098167, + "99.9" : 94006.68380098167, + "99.99" : 94006.68380098167, + "99.999" : 94006.68380098167, + "99.9999" : 94006.68380098167, + "100.0" : 94006.68380098167 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 94006.68380098167, + 93967.2424991478, + 93978.84085023687, + 93996.41122118852, + 93856.34068166518 + ], + [ + 92561.53447730995, + 92642.0117260363, + 92788.63593871587, + 92616.99712220828, + 92586.53680394025 + ], + [ + 92995.64520837608, + 93019.88874727463, + 93062.69596760978, + 92984.96184501369, + 92991.5163304935 + ], + [ + 89618.26188623688, + 89564.71266996083, + 89664.88147685541, + 89721.2039558577, + 89555.82820092601 + ], + [ + 91194.75977001443, + 91135.83181662727, + 91372.4503529314, + 91064.73456776886, + 91184.36248890003 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 26854.649885873907, + "scoreError" : 201.8242147291575, + "scoreConfidence" : [ + 26652.82567114475, + 27056.474100603064 + ], + "scorePercentiles" : { + "0.0" : 26107.044730130732, + "50.0" : 26815.00399454377, + "90.0" : 27244.085537165905, + "95.0" : 27253.716786625544, + "99.0" : 27255.765769512862, + "99.9" : 27255.765769512862, + "99.99" : 27255.765769512862, + "99.999" : 27255.765769512862, + "99.9999" : 27255.765769512862, + "100.0" : 27255.765769512862 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 26751.63446129038, + 26755.352312376945, + 26727.01494740168, + 26744.09182884474, + 26763.772036627655 + ], + [ + 26775.736216374688, + 26754.752116074393, + 26815.00399454377, + 26787.955417094865, + 26731.104747753652 + ], + [ + 27255.765769512862, + 27195.16316593884, + 27248.93582655513, + 27217.875879794203, + 27240.852010906423 + ], + [ + 26939.81626821297, + 26947.736244851414, + 26917.154648518987, + 26954.5790582266, + 26928.724143059757 + ], + [ + 26937.73907157244, + 26931.28523843595, + 26588.993209287964, + 26348.163803460502, + 26107.044730130732 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 216039.1485090183, + "scoreError" : 3116.443682813272, + "scoreConfidence" : [ + 212922.70482620504, + 219155.59219183156 + ], + "scorePercentiles" : { + "0.0" : 208787.9161397236, + "50.0" : 216054.6305884788, + "90.0" : 220384.89051836752, + "95.0" : 220473.46441437944, + "99.0" : 220485.59342235103, + "99.9" : 220485.59342235103, + "99.99" : 220485.59342235103, + "99.999" : 220485.59342235103, + "99.9999" : 220485.59342235103, + "100.0" : 220485.59342235103 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 215418.96584508265, + 215057.43364917045, + 215299.59257530558, + 215255.29524235227, + 215100.00863098886 + ], + [ + 209173.4130311853, + 208868.34638103264, + 208787.9161397236, + 208799.33585588326, + 208871.58509644683 + ], + [ + 220282.91867541985, + 219718.7420248951, + 220485.59342235103, + 220165.86280223395, + 220445.16339577912 + ], + [ + 219488.31992965558, + 219804.33166931145, + 219141.01788165266, + 219865.7594191412, + 220344.70860009312 + ], + [ + 216566.58163963794, + 215974.82000741086, + 216054.6305884788, + 216290.39464046955, + 215717.9755817563 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 287235.89106968837, + "scoreError" : 23786.366529716855, + "scoreConfidence" : [ + 263449.5245399715, + 311022.25759940525 + ], + "scorePercentiles" : { + "0.0" : 268203.68823536223, + "50.0" : 270914.61337878165, + "90.0" : 349237.9413410348, + "95.0" : 349377.3066436424, + "99.0" : 349421.836152346, + "99.9" : 349421.836152346, + "99.99" : 349421.836152346, + "99.999" : 349421.836152346, + "99.9999" : 349421.836152346, + "100.0" : 349421.836152346 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 270354.88618032396, + 270718.0575383262, + 270834.8958898122, + 270572.5804992131, + 270637.34103385406 + ], + [ + 276695.31486663216, + 276945.4672067852, + 276546.2539412381, + 277075.4414736318, + 277068.7750499829 + ], + [ + 349421.836152346, + 349031.8047229745, + 349273.4044566674, + 349214.29926394636, + 349115.69061065116 + ], + [ + 268702.9411143082, + 268310.1049637103, + 268435.5871254654, + 268203.68823536223, + 268879.9333031641 + ], + [ + 270894.0747212727, + 270810.1250604492, + 270945.51267592184, + 271294.64727738884, + 270914.61337878165 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 117020.33102901207, + "scoreError" : 1372.0974898859326, + "scoreConfidence" : [ + 115648.23353912614, + 118392.428518898 + ], + "scorePercentiles" : { + "0.0" : 115506.97778688499, + "50.0" : 116402.56423307344, + "90.0" : 120569.57953308758, + "95.0" : 120618.30764623055, + "99.0" : 120636.55100540663, + "99.9" : 120636.55100540663, + "99.99" : 120636.55100540663, + "99.999" : 120636.55100540663, + "99.9999" : 120636.55100540663, + "100.0" : 120636.55100540663 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 115506.97778688499, + 115645.98356254453, + 115679.97021098612, + 115734.29963631954, + 115541.94139649073 + ], + [ + 120575.73980815301, + 120565.47268304396, + 120495.87956084526, + 120498.22568188717, + 120636.55100540663 + ], + [ + 116444.69802719391, + 116268.26191407761, + 116509.8947229729, + 116502.80274359825, + 116410.51688544676 + ], + [ + 115990.93609084016, + 115970.36691084059, + 116099.79773221916, + 115966.19949385396, + 116192.13494289955 + ], + [ + 116604.18853149285, + 116454.38997011674, + 116327.58415439456, + 116482.89803971922, + 116402.56423307344 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c9.json new file mode 100644 index 00000000..7a16542a --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r11-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 398034.5765313411, + "scoreError" : 8351.108220398248, + "scoreConfidence" : [ + 389683.4683109429, + 406385.6847517394 + ], + "scorePercentiles" : { + "0.0" : 369888.4810742268, + "50.0" : 399174.35516764905, + "90.0" : 410206.9312760734, + "95.0" : 412174.0304087179, + "99.0" : 412921.4699953076, + "99.9" : 412921.4699953076, + "99.99" : 412921.4699953076, + "99.999" : 412921.4699953076, + "99.9999" : 412921.4699953076, + "100.0" : 412921.4699953076 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 380065.23972097365, + 391992.1496128548, + 389557.44785308384, + 394666.4334542592, + 387398.95474166505 + ], + [ + 382250.6083033815, + 369888.4810742268, + 383864.00377412065, + 391955.24109241454, + 398513.4189691292 + ], + [ + 398965.0701708983, + 399174.35516764905, + 405828.17804701015, + 412921.4699953076, + 410430.00470667536 + ], + [ + 410006.36836643977, + 410058.2156556721, + 408437.52954579116, + 397645.07085456856, + 401925.0538338428 + ], + [ + 400581.49879793386, + 403648.32390441943, + 403649.7450621374, + 408285.0212403916, + 409156.5293386835 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 447448.1177260157, + "scoreError" : 4474.943817801576, + "scoreConfidence" : [ + 442973.1739082141, + 451923.0615438173 + ], + "scorePercentiles" : { + "0.0" : 432417.75838050875, + "50.0" : 450040.9578932433, + "90.0" : 453985.4320687232, + "95.0" : 454977.77819603705, + "99.0" : 455266.62648585404, + "99.9" : 455266.62648585404, + "99.99" : 455266.62648585404, + "99.999" : 455266.62648585404, + "99.9999" : 455266.62648585404, + "100.0" : 455266.62648585404 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 444565.17387583386, + 445875.7871568918, + 432417.75838050875, + 436264.1310216242, + 440425.03033913317 + ], + [ + 451084.1687383149, + 445306.1179490274, + 451691.84448667016, + 442646.7565125215, + 452529.94800066226 + ], + [ + 453346.10771675204, + 451818.5787587962, + 450077.2796308354, + 454303.79885313066, + 455266.62648585404 + ], + [ + 450813.9912353381, + 446916.519275856, + 453773.1875457849, + 451480.1208118506, + 443269.3047161661 + ], + [ + 450040.9578932433, + 450580.4385652839, + 438632.78276625514, + 444242.4008381109, + 448834.1315959473 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 89956.02445519558, + "scoreError" : 1540.9938524708982, + "scoreConfidence" : [ + 88415.03060272468, + 91497.01830766648 + ], + "scorePercentiles" : { + "0.0" : 86813.91158306318, + "50.0" : 89798.82728989924, + "90.0" : 92963.79377615433, + "95.0" : 93640.56304853718, + "99.0" : 93687.31497718811, + "99.9" : 93687.31497718811, + "99.99" : 93687.31497718811, + "99.999" : 93687.31497718811, + "99.9999" : 93687.31497718811, + "100.0" : 93687.31497718811 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 87201.36491912708, + 89309.3380910944, + 90268.94748620439, + 89654.18131104723, + 90721.89877365997 + ], + [ + 86813.91158306318, + 86817.31382220631, + 87773.34237032785, + 88064.32385338181, + 88184.9428285278 + ], + [ + 89633.20177460393, + 89798.82728989924, + 89843.36024335695, + 89692.90056237618, + 86905.13519087703 + ], + [ + 92585.33948357831, + 91829.14284702096, + 89197.01938788262, + 91284.44769135429, + 91885.5388465748 + ], + [ + 90110.80686377721, + 91894.10805420204, + 92212.42791353991, + 93531.47521501835, + 93687.31497718811 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 26714.24399772821, + "scoreError" : 252.24584940832946, + "scoreConfidence" : [ + 26461.99814831988, + 26966.489847136538 + ], + "scorePercentiles" : { + "0.0" : 26030.388933115395, + "50.0" : 26720.790910481046, + "90.0" : 27169.033268992174, + "95.0" : 27191.60517005052, + "99.0" : 27194.175866751386, + "99.9" : 27194.175866751386, + "99.99" : 27194.175866751386, + "99.999" : 27194.175866751386, + "99.9999" : 27194.175866751386, + "100.0" : 27194.175866751386 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 26345.411750401425, + 26432.787686283227, + 26701.129685916352, + 26783.250331321433, + 26835.22223828648 + ], + [ + 26761.716606909085, + 26202.74218920568, + 26453.492476788993, + 26643.46363852004, + 26671.745368916076 + ], + [ + 27079.840552401805, + 26500.12377942968, + 27043.820125753227, + 26934.425893685937, + 27068.325330950276 + ], + [ + 26862.211248716885, + 27157.984196487956, + 27194.175866751386, + 27026.5935333724, + 27185.606877748498 + ], + [ + 26720.790910481046, + 26030.388933115395, + 26459.818079024, + 26095.99480682157, + 26665.03783591652 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 217569.70494549867, + "scoreError" : 1765.9123722209467, + "scoreConfidence" : [ + 215803.79257327772, + 219335.61731771962 + ], + "scorePercentiles" : { + "0.0" : 213115.22084325622, + "50.0" : 218160.06463297122, + "90.0" : 220115.4563823757, + "95.0" : 220917.29480714348, + "99.0" : 221152.6078945032, + "99.9" : 221152.6078945032, + "99.99" : 221152.6078945032, + "99.999" : 221152.6078945032, + "99.9999" : 221152.6078945032, + "100.0" : 221152.6078945032 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 213123.4578855286, + 217599.54075941615, + 216389.72315615558, + 213115.22084325622, + 213306.18015938438 + ], + [ + 216595.26664187678, + 217148.29999674569, + 216391.9352078573, + 216483.83004957178, + 216600.6100921946 + ], + [ + 219621.50466476404, + 219044.86128861684, + 219946.94001286782, + 217587.83255479444, + 213180.1787671416 + ], + [ + 219706.9916015424, + 219695.0667981369, + 218854.3664199198, + 221152.6078945032, + 220368.23093663753 + ], + [ + 218160.06463297122, + 218689.07904146967, + 218374.16357147563, + 218733.2138873571, + 219373.45677328104 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 285709.0654474383, + "scoreError" : 20902.507868710578, + "scoreConfidence" : [ + 264806.5575787277, + 306611.57331614883 + ], + "scorePercentiles" : { + "0.0" : 259641.14093804578, + "50.0" : 275068.8653774719, + "90.0" : 339768.96578824415, + "95.0" : 340133.57622571936, + "99.0" : 340166.85292900883, + "99.9" : 340166.85292900883, + "99.99" : 340166.85292900883, + "99.999" : 340166.85292900883, + "99.9999" : 340166.85292900883, + "100.0" : 340166.85292900883 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 338658.7770392869, + 339233.3629126324, + 340166.85292900883, + 340055.9305847107, + 339577.65592393314 + ], + [ + 275318.25739986624, + 276153.0648313966, + 276158.5661924453, + 271570.2712195537, + 275300.5282901736 + ], + [ + 259641.14093804578, + 264754.2740606583, + 263591.91602888313, + 265049.1674074318, + 264423.10835373605 + ], + [ + 273005.03534611256, + 274534.7006094529, + 275068.8653774719, + 274631.0697650684, + 274952.7783736584 + ], + [ + 273335.40373641695, + 277360.0678909109, + 277776.67888989625, + 278099.38128317706, + 274309.78080202773 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 115621.39634163285, + "scoreError" : 1767.239080936552, + "scoreConfidence" : [ + 113854.1572606963, + 117388.6354225694 + ], + "scorePercentiles" : { + "0.0" : 111245.19963563082, + "50.0" : 116193.86200932886, + "90.0" : 118321.51804614595, + "95.0" : 118504.06895130003, + "99.0" : 118558.46396279013, + "99.9" : 118558.46396279013, + "99.99" : 118558.46396279013, + "99.999" : 118558.46396279013, + "99.9999" : 118558.46396279013, + "100.0" : 118558.46396279013 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 116193.86200932886, + 113408.18809537595, + 115685.03117183014, + 116009.09182810242, + 115847.23788108995 + ], + [ + 112554.43547591692, + 112746.13827390801, + 112325.7918635502, + 111657.0587779587, + 111245.19963563082 + ], + [ + 117334.32166804532, + 117923.72439561057, + 118377.14725782309, + 118558.46396279013, + 118284.43190502786 + ], + [ + 117716.01446977856, + 117228.00361251038, + 112860.72492553708, + 114167.50530764091, + 117087.46544027016 + ], + [ + 117362.22114035524, + 117513.48453656286, + 117660.19977891396, + 116713.34293958472, + 114075.82218767806 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c10.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c10.json new file mode 100644 index 00000000..0bf65828 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c10.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 396243.7615292491, + "scoreError" : 24415.986692871167, + "scoreConfidence" : [ + 371827.77483637794, + 420659.7482221202 + ], + "scorePercentiles" : { + "0.0" : 294056.48848951235, + "50.0" : 408432.85975685506, + "90.0" : 427997.4043577629, + "95.0" : 428160.4967734064, + "99.0" : 428198.36516195396, + "99.9" : 428198.36516195396, + "99.99" : 428198.36516195396, + "99.999" : 428198.36516195396, + "99.9999" : 428198.36516195396, + "100.0" : 428198.36516195396 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 428072.1372001288, + 428198.36516195396, + 427947.58246285224, + 427479.68440591154, + 384111.0215492044 + ], + [ + 391596.9566028939, + 401580.98160081194, + 337647.1535347644, + 380480.477294662, + 294056.48848951235 + ], + [ + 324401.27098112874, + 385734.226761962, + 400465.6030361629, + 395813.21167283546, + 400528.63239894237 + ], + [ + 408163.7381005816, + 408432.85975685506, + 408997.9640858847, + 409262.66909429897, + 408978.495899169 + ], + [ + 411082.8050748925, + 409483.94819456345, + 412330.5447118816, + 410214.5630767034, + 411032.657082669 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 399191.76908443205, + "scoreError" : 41263.95209598875, + "scoreConfidence" : [ + 357927.8169884433, + 440455.7211804208 + ], + "scorePercentiles" : { + "0.0" : 214052.45122351652, + "50.0" : 426772.6216053621, + "90.0" : 440337.45618962013, + "95.0" : 441003.58154498925, + "99.0" : 441099.17444651236, + "99.9" : 441099.17444651236, + "99.99" : 441099.17444651236, + "99.999" : 441099.17444651236, + "99.9999" : 441099.17444651236, + "100.0" : 441099.17444651236 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 426772.6216053621, + 433412.9479928974, + 424230.99311897747, + 427564.09302017227, + 434932.2998829138 + ], + [ + 360370.80057824607, + 416190.7187764716, + 336689.5554705375, + 379920.3943777141, + 439885.7692324779 + ], + [ + 433921.5823904339, + 440042.07268841, + 441099.17444651236, + 440780.5314414354, + 436829.389182656 + ], + [ + 393911.5893091804, + 349867.9000134756, + 397180.93622954027, + 305732.8358999026, + 214052.45122351652 + ], + [ + 369506.0143186208, + 359754.1705386655, + 439066.0270283521, + 439801.804089058, + 438277.55425527255 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 68665.45096817697, + "scoreError" : 13455.790087270236, + "scoreConfidence" : [ + 55209.66088090673, + 82121.2410554472 + ], + "scorePercentiles" : { + "0.0" : 26318.0107305585, + "50.0" : 77223.04520918232, + "90.0" : 83055.37400017586, + "95.0" : 84179.37753979207, + "99.0" : 84190.43059458524, + "99.9" : 84190.43059458524, + "99.99" : 84190.43059458524, + "99.999" : 84190.43059458524, + "99.9999" : 84190.43059458524, + "100.0" : 84190.43059458524 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 75805.90589520338, + 77223.04520918232, + 84190.43059458524, + 84153.587078608, + 82220.06307573795 + ], + [ + 81870.89290537481, + 81917.49593811671, + 69523.91155354718, + 79873.12848729968, + 62337.20695603619 + ], + [ + 78856.33680756361, + 68314.98523474512, + 71060.28628367971, + 81137.28524813986, + 82323.23194788776 + ], + [ + 80069.23972670104, + 80417.4928627661, + 79713.25847360997, + 44115.85585013062, + 57918.83093374729 + ], + [ + 37142.11395101523, + 29219.803222522776, + 26318.0107305585, + 46297.57802865951, + 74616.29720900551 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 22041.002928310594, + "scoreError" : 3217.9180898719287, + "scoreConfidence" : [ + 18823.084838438666, + 25258.921018182522 + ], + "scorePercentiles" : { + "0.0" : 11172.94910845324, + "50.0" : 23680.357376068565, + "90.0" : 26292.5291672806, + "95.0" : 26465.90135582488, + "99.0" : 26532.339407293613, + "99.9" : 26532.339407293613, + "99.99" : 26532.339407293613, + "99.999" : 26532.339407293613, + "99.9999" : 26532.339407293613, + "100.0" : 26532.339407293613 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 22557.015609912287, + 23680.357376068565, + 19659.666025552797, + 21514.46263446261, + 24808.60706330457 + ], + [ + 26280.295788313557, + 26532.339407293613, + 26310.87923573117, + 26020.86790959166, + 24793.226804847614 + ], + [ + 23627.64810707983, + 24476.21793361724, + 24981.711243255984, + 24891.676818538057, + 24299.92800695388 + ], + [ + 22077.596876777872, + 13781.190866084457, + 14549.387433646329, + 21014.50287733352, + 16405.62820645659 + ], + [ + 11172.94910845324, + 17832.497683794158, + 19708.548748412057, + 25037.1440621511, + 25010.72738013203 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 177601.51140599968, + "scoreError" : 37025.671831266576, + "scoreConfidence" : [ + 140575.8395747331, + 214627.18323726626 + ], + "scorePercentiles" : { + "0.0" : 50601.567692005505, + "50.0" : 203810.91646416346, + "90.0" : 214109.1055942156, + "95.0" : 217447.22749694428, + "99.0" : 218814.40353649578, + "99.9" : 218814.40353649578, + "99.99" : 218814.40353649578, + "99.999" : 218814.40353649578, + "99.9999" : 218814.40353649578, + "100.0" : 218814.40353649578 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 214257.1500713241, + 204004.60297096262, + 204146.60542955712, + 214010.40927614324, + 203810.91646416346 + ], + [ + 213106.6579474202, + 213163.72297724694, + 213840.58177022685, + 210782.80961047605, + 205962.0109022598 + ], + [ + 212747.66540555243, + 200952.092675148, + 200987.09413005994, + 209210.4709332152, + 218814.40353649578 + ], + [ + 188289.09345259424, + 184064.12874387953, + 182206.4902840424, + 163051.10672948236, + 106397.4343076049 + ], + [ + 50601.567692005505, + 81788.42667027302, + 97630.12505638777, + 121411.70868324049, + 124800.5094302306 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 186739.6631259181, + "scoreError" : 39595.73609414807, + "scoreConfidence" : [ + 147143.92703177003, + 226335.39922006617 + ], + "scorePercentiles" : { + "0.0" : 83404.73965720861, + "50.0" : 203020.9097793688, + "90.0" : 238649.83130127052, + "95.0" : 248024.71951617, + "99.0" : 251291.4836031539, + "99.9" : 251291.4836031539, + "99.99" : 251291.4836031539, + "99.999" : 251291.4836031539, + "99.9999" : 251291.4836031539, + "100.0" : 251291.4836031539 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 237481.53884886802, + 227508.05951664515, + 214361.36128805042, + 229674.70085796964, + 251291.4836031539 + ], + [ + 182649.7570855891, + 110157.30357176161, + 123131.1845970387, + 210326.9328767993, + 203020.9097793688 + ], + [ + 83404.73965720861, + 154314.21078546514, + 233640.30248422042, + 240402.26997987428, + 236919.9006425374 + ], + [ + 235041.67412404474, + 225554.41641338266, + 198161.7675398628, + 189545.59555099613, + 222968.617277866 + ], + [ + 124480.3348583136, + 148013.12660431242, + 88168.16090814931, + 111979.57476207423, + 186293.65453439963 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 91580.35153277362, + "scoreError" : 5731.313518238139, + "scoreConfidence" : [ + 85849.03801453549, + 97311.66505101176 + ], + "scorePercentiles" : { + "0.0" : 78202.61819742115, + "50.0" : 93211.16631895541, + "90.0" : 101453.62645118733, + "95.0" : 103123.08398817376, + "99.0" : 103569.81202512066, + "99.9" : 103569.81202512066, + "99.99" : 103569.81202512066, + "99.999" : 103569.81202512066, + "99.9999" : 103569.81202512066, + "100.0" : 103569.81202512066 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 79060.45660383123, + 79712.2054172909, + 93211.16631895541, + 98871.6813527364, + 93495.32458988231 + ], + [ + 87332.12567972684, + 87657.96747446229, + 99701.59983313986, + 78202.61819742115, + 87108.10615326391 + ], + [ + 86799.04963963733, + 102080.718568631, + 94593.67370798647, + 85927.45498939528, + 82513.99890170386 + ], + [ + 86512.74577296097, + 100280.91825690944, + 96730.03548092334, + 86493.88512835649, + 88125.56127955606 + ], + [ + 101035.56503955822, + 95723.90955565077, + 95173.76072329526, + 99594.44762894511, + 103569.81202512066 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c11.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c11.json new file mode 100644 index 00000000..8a4bf037 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c11.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 429830.9223130059, + "scoreError" : 3693.2097761883, + "scoreConfidence" : [ + 426137.7125368176, + 433524.1320891942 + ], + "scorePercentiles" : { + "0.0" : 421748.52076006186, + "50.0" : 433296.029821678, + "90.0" : 434192.2229568753, + "95.0" : 434811.3726075099, + "99.0" : 435041.5092123583, + "99.9" : 435041.5092123583, + "99.99" : 435041.5092123583, + "99.999" : 435041.5092123583, + "99.9999" : 435041.5092123583, + "100.0" : 435041.5092123583 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 426695.6743260465, + 427228.6937448677, + 426595.1792763441, + 427501.1992509653, + 427788.8452965751 + ], + [ + 433915.3951742433, + 433427.79342424835, + 434058.4103638591, + 433296.029821678, + 434052.26935350784 + ], + [ + 421935.6482866969, + 421752.8982973333, + 421816.11680326215, + 421748.52076006186, + 422003.8422613926 + ], + [ + 433325.10362912517, + 434137.44679732743, + 433768.4297626565, + 435041.5092123583, + 434274.387196197 + ], + [ + 433770.4024608621, + 433716.0124309647, + 433300.24129085813, + 433025.06203420373, + 427597.94656951324 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 452769.04110373795, + "scoreError" : 2994.5981619891986, + "scoreConfidence" : [ + 449774.44294174877, + 455763.63926572714 + ], + "scorePercentiles" : { + "0.0" : 445677.29045927495, + "50.0" : 450526.2556764368, + "90.0" : 458696.2133490949, + "95.0" : 459660.55678262876, + "99.0" : 459878.77271777054, + "99.9" : 459878.77271777054, + "99.99" : 459878.77271777054, + "99.999" : 459878.77271777054, + "99.9999" : 459878.77271777054, + "100.0" : 459878.77271777054 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 457246.0629592548, + 459878.77271777054, + 459151.386267298, + 457659.6580132371, + 458392.76473695954 + ], + [ + 450347.03585583443, + 453195.31472827244, + 457777.19267468445, + 457654.19143982546, + 453637.68352604855 + ], + [ + 454848.445585009, + 454850.7770189755, + 450057.8763026338, + 450090.2608943929, + 445677.29045927495 + ], + [ + 450401.79249958316, + 450526.2556764368, + 450587.7896762468, + 450040.1651654255, + 450448.50557495136 + ], + [ + 449311.05176286044, + 448802.79535034543, + 449021.8914720398, + 449765.62743504025, + 449855.43980104866 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 90052.6969542446, + "scoreError" : 643.6823115602758, + "scoreConfidence" : [ + 89409.01464268433, + 90696.37926580488 + ], + "scorePercentiles" : { + "0.0" : 88632.99109671419, + "50.0" : 90211.3719728705, + "90.0" : 90995.63509657524, + "95.0" : 91049.52155611642, + "99.0" : 91053.49768141781, + "99.9" : 91053.49768141781, + "99.99" : 91053.49768141781, + "99.999" : 91053.49768141781, + "99.9999" : 91053.49768141781, + "100.0" : 91053.49768141781 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 89507.36531725927, + 89464.29958690306, + 89564.5455628957, + 89511.6125909474, + 89519.42303903431 + ], + [ + 90243.90048907591, + 90247.10051171851, + 90211.3719728705, + 90146.28244074777, + 90030.71033759801 + ], + [ + 90746.2718232987, + 90829.8669851902, + 90894.97398067455, + 90965.01635126198, + 90736.30066649591 + ], + [ + 88633.07059790839, + 88939.71942489641, + 88632.99109671419, + 88728.17746177211, + 88791.53049805576 + ], + [ + 91053.49768141781, + 91040.2439304132, + 90965.89587401658, + 90954.92695000139, + 90958.3286849473 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 26697.458234729726, + "scoreError" : 404.95759642114064, + "scoreConfidence" : [ + 26292.500638308586, + 27102.415831150865 + ], + "scorePercentiles" : { + "0.0" : 26151.39985790051, + "50.0" : 26340.553243930568, + "90.0" : 27478.117106884056, + "95.0" : 27579.048255655223, + "99.0" : 27616.166527942903, + "99.9" : 27616.166527942903, + "99.99" : 27616.166527942903, + "99.999" : 27616.166527942903, + "99.9999" : 27616.166527942903, + "100.0" : 27616.166527942903 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 26169.515318688893, + 26151.39985790051, + 26208.33963090509, + 26175.891597111266, + 26217.182853377217 + ], + [ + 26327.137128826675, + 26325.41390179781, + 26316.414243159474, + 26317.74350821805, + 26347.854318437196 + ], + [ + 26359.033894122003, + 26292.70126714218, + 26340.553243930568, + 26306.92531039633, + 26290.266301303618 + ], + [ + 27253.259900462683, + 27223.33867714687, + 27230.514599460028, + 27195.30023795636, + 26997.643736662292 + ], + [ + 27492.438953650642, + 27616.166527942903, + 27468.569209039666, + 27388.9731645362, + 27423.878486068534 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 205999.15614549193, + "scoreError" : 28554.208003063744, + "scoreConfidence" : [ + 177444.94814242818, + 234553.36414855567 + ], + "scorePercentiles" : { + "0.0" : 102901.55670741855, + "50.0" : 224224.58851664007, + "90.0" : 228367.5548122589, + "95.0" : 230359.93651575415, + "99.0" : 231177.92134424183, + "99.9" : 231177.92134424183, + "99.99" : 231177.92134424183, + "99.999" : 231177.92134424183, + "99.9999" : 231177.92134424183, + "100.0" : 231177.92134424183 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 228032.13253527772, + 228451.3052492829, + 228311.72118757622, + 227784.9592967055, + 226305.94611159668 + ], + [ + 225217.84325628754, + 225287.24831392712, + 225542.41114660128, + 218513.81565188162, + 214612.2135574867 + ], + [ + 204452.7659833821, + 227706.39639748752, + 231177.92134424183, + 224224.58851664007, + 224166.18431944284 + ], + [ + 195150.4059200525, + 165806.45547559223, + 114197.46443933327, + 102901.55670741855, + 119247.72848547304 + ], + [ + 226590.3974222137, + 217483.54447425704, + 208515.90137094256, + 213187.91019398673, + 227110.08628021087 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 266255.46092448384, + "scoreError" : 1021.5282526254039, + "scoreConfidence" : [ + 265233.9326718584, + 267276.98917710927 + ], + "scorePercentiles" : { + "0.0" : 263048.70824235975, + "50.0" : 266295.27764037944, + "90.0" : 267856.22506152594, + "95.0" : 268086.27769891836, + "99.0" : 268174.6804934108, + "99.9" : 268174.6804934108, + "99.99" : 268174.6804934108, + "99.999" : 268174.6804934108, + "99.9999" : 268174.6804934108, + "100.0" : 268174.6804934108 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 266392.2968759059, + 266133.62238766596, + 265894.71240690496, + 266230.4402601795, + 265788.6350332736 + ], + [ + 267321.82301045954, + 267622.9942578164, + 267777.54083401494, + 267438.0627784182, + 267423.17034372874 + ], + [ + 266295.27764037944, + 266629.6724874146, + 266777.0966235281, + 266621.09222130943, + 265051.19415692263 + ], + [ + 267840.3720946971, + 268174.6804934108, + 267880.0045117693, + 265323.31010820606, + 266027.481729926 + ], + [ + 265859.4269895473, + 263048.70824235975, + 263129.88208133675, + 264488.01618381974, + 265217.00935910264 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 115476.51197217585, + "scoreError" : 1238.64150629176, + "scoreConfidence" : [ + 114237.87046588409, + 116715.15347846762 + ], + "scorePercentiles" : { + "0.0" : 111904.09587662989, + "50.0" : 116428.8864497972, + "90.0" : 117145.52055972304, + "95.0" : 117201.02008909156, + "99.0" : 117210.69718219526, + "99.9" : 117210.69718219526, + "99.99" : 117210.69718219526, + "99.999" : 117210.69718219526, + "99.9999" : 117210.69718219526, + "100.0" : 117210.69718219526 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 113068.1937367426, + 114562.44960449297, + 111904.09587662989, + 116440.80429285613, + 117178.44020518291 + ], + [ + 116677.9271481933, + 117123.57412941645, + 116645.456822014, + 116898.35543567107, + 117210.69718219526 + ], + [ + 116428.8864497972, + 116870.97330462057, + 116966.24118030448, + 114885.36622186158, + 116426.98588290371 + ], + [ + 116678.11268087564, + 115686.28095071937, + 114596.08172499495, + 116703.41779958109, + 116629.19229275611 + ], + [ + 113576.23428024458, + 113204.99020166331, + 113285.6775231969, + 113792.47487716231, + 113471.88950032029 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c12.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c12.json new file mode 100644 index 00000000..d58e31bf --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c12.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 393236.02613250195, + "scoreError" : 34181.81385851944, + "scoreConfidence" : [ + 359054.2122739825, + 427417.8399910214 + ], + "scorePercentiles" : { + "0.0" : 234235.10178905595, + "50.0" : 402383.4768140337, + "90.0" : 434067.9259789712, + "95.0" : 438592.3955599876, + "99.0" : 438738.81569716777, + "99.9" : 438738.81569716777, + "99.99" : 438738.81569716777, + "99.999" : 438738.81569716777, + "99.9999" : 438738.81569716777, + "100.0" : 438738.81569716777 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 399687.7936579229, + 390503.05733811815, + 401713.54790601745, + 407223.27554430155, + 404541.38965302403 + ], + [ + 409085.7268829883, + 399321.23722567305, + 412572.5355334824, + 402383.4768140337, + 399126.6305747559 + ], + [ + 409732.43367239, + 408189.12102969724, + 402319.3482225601, + 402788.84941173275, + 401443.48204439186 + ], + [ + 438250.7485732338, + 438738.81569716777, + 424301.31088061526, + 429182.16671181284, + 431279.3775827961 + ], + [ + 358882.0426123862, + 234235.10178905595, + 324297.8725536681, + 402285.621255026, + 298815.6901456969 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 409912.7809081699, + "scoreError" : 44194.463239180186, + "scoreConfidence" : [ + 365718.31766898977, + 454107.2441473501 + ], + "scorePercentiles" : { + "0.0" : 198157.2487327423, + "50.0" : 430548.65050820896, + "90.0" : 448470.94892766693, + "95.0" : 448814.8289708792, + "99.0" : 448891.01487588935, + "99.9" : 448891.01487588935, + "99.99" : 448891.01487588935, + "99.999" : 448891.01487588935, + "99.9999" : 448891.01487588935, + "100.0" : 448891.01487588935 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 448637.0618591888, + 441298.7627521626, + 425648.5348062588, + 405015.24224412517, + 434593.841720979 + ], + [ + 444102.54546814284, + 447081.0564668104, + 448891.01487588935, + 448360.206973319, + 443690.9826553126 + ], + [ + 441091.1884350711, + 443363.30554590415, + 438403.74550768646, + 441115.0128320933, + 430548.65050820896 + ], + [ + 198157.2487327423, + 265879.4651198888, + 377156.6322488439, + 383569.4515243329, + 424159.67969642294 + ], + [ + 408580.35119811713, + 375410.0140759094, + 424945.9195527019, + 412432.04247083334, + 395687.5654333022 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 70133.28887161605, + "scoreError" : 14514.065583398255, + "scoreConfidence" : [ + 55619.2232882178, + 84647.35445501431 + ], + "scorePercentiles" : { + "0.0" : 31527.816043231538, + "50.0" : 81536.15420744564, + "90.0" : 86560.54732250325, + "95.0" : 87754.96740740868, + "99.0" : 87838.87037289438, + "99.9" : 87838.87037289438, + "99.99" : 87838.87037289438, + "99.999" : 87838.87037289438, + "99.9999" : 87838.87037289438, + "100.0" : 87838.87037289438 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 35505.77396664637, + 41807.797233282785, + 46342.75552733237, + 67176.12242438391, + 48060.86613419346 + ], + [ + 82534.79535369408, + 78570.77605579887, + 81536.15420744564, + 84483.32420203017, + 83035.34346207487 + ], + [ + 83782.5189820075, + 84530.0991609374, + 84781.26450952094, + 85644.4604334044, + 84567.04367280827 + ], + [ + 72249.45866066992, + 50642.62773611116, + 66733.13989435718, + 36221.98110860251, + 31527.816043231538 + ], + [ + 78179.49381133732, + 85894.78298998851, + 87838.87037289438, + 87559.19382127537, + 84125.7620263721 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 24344.236316954666, + "scoreError" : 2568.2933320551374, + "scoreConfidence" : [ + 21775.942984899528, + 26912.529649009804 + ], + "scorePercentiles" : { + "0.0" : 13197.715539939813, + "50.0" : 25397.442555211484, + "90.0" : 26531.58226385571, + "95.0" : 26567.93147408223, + "99.0" : 26577.324949256534, + "99.9" : 26577.324949256534, + "99.99" : 26577.324949256534, + "99.999" : 26577.324949256534, + "99.9999" : 26577.324949256534, + "100.0" : 26577.324949256534 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 25397.442555211484, + 25045.891397667303, + 24754.647944347864, + 25332.541457385407, + 25188.781285455174 + ], + [ + 17882.05820930334, + 23289.162573515972, + 25328.559464570368, + 15852.274113377907, + 13197.715539939813 + ], + [ + 24288.34715013104, + 25954.025415135384, + 25948.623641815968, + 25958.35140840107, + 25560.52105542809 + ], + [ + 25579.0572413612, + 25630.46260397885, + 25252.5260553402, + 25215.652466092335, + 25471.129027135703 + ], + [ + 26329.604310880157, + 26521.961529531392, + 26503.233163261957, + 26577.324949256534, + 26546.01336534219 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 222654.41384943557, + "scoreError" : 3081.6063872555865, + "scoreConfidence" : [ + 219572.80746217998, + 225736.02023669117 + ], + "scorePercentiles" : { + "0.0" : 216496.17277358557, + "50.0" : 222014.18614817917, + "90.0" : 229027.93304986923, + "95.0" : 230056.39630860998, + "99.0" : 230197.792324536, + "99.9" : 230197.792324536, + "99.99" : 230197.792324536, + "99.999" : 230197.792324536, + "99.9999" : 230197.792324536, + "100.0" : 230197.792324536 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 221914.3793271884, + 222014.18614817917, + 222146.10457011583, + 222242.2888412645, + 221250.36114312455 + ], + [ + 218625.95505182838, + 219120.72016750244, + 216496.17277358557, + 216502.2614110542, + 218741.71487548004 + ], + [ + 217286.3731571545, + 219986.70328111306, + 220080.9305519159, + 219902.6981941542, + 219919.2582558786 + ], + [ + 225210.11955086782, + 225477.37990086648, + 225297.88673914262, + 225464.3181313481, + 225191.4430932794 + ], + [ + 226875.12134057493, + 230197.792324536, + 229726.47227144922, + 228562.24023548255, + 228127.46489880333 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 277364.3026356611, + "scoreError" : 17183.6407168963, + "scoreConfidence" : [ + 260180.6619187648, + 294547.94335255737 + ], + "scorePercentiles" : { + "0.0" : 262318.7164000976, + "50.0" : 266659.15478534123, + "90.0" : 322278.9921401756, + "95.0" : 322520.05301292, + "99.0" : 322578.3200932861, + "99.9" : 322578.3200932861, + "99.99" : 322578.3200932861, + "99.999" : 322578.3200932861, + "99.9999" : 322578.3200932861, + "100.0" : 322578.3200932861 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 266045.89221214695, + 265869.9982666181, + 262318.7164000976, + 264632.7226941687, + 265833.52173173486 + ], + [ + 264660.3305325791, + 266321.09511761134, + 266449.13124043844, + 267183.85498703015, + 267709.2888672901 + ], + [ + 267008.47716318036, + 267474.0948663628, + 266659.15478534123, + 266858.2589206122, + 267075.923170241 + ], + [ + 321974.4110984905, + 322208.92257224885, + 322157.8625860442, + 322578.3200932861, + 322384.09649206576 + ], + [ + 266622.752818631, + 267196.5738164839, + 266015.2610003465, + 264501.3939923868, + 266367.5104660902 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 109064.20813469624, + "scoreError" : 2124.2130064956536, + "scoreConfidence" : [ + 106939.99512820058, + 111188.4211411919 + ], + "scorePercentiles" : { + "0.0" : 102569.03938278275, + "50.0" : 109743.12598051467, + "90.0" : 112564.22354844092, + "95.0" : 113105.03230727828, + "99.0" : 113155.1569528033, + "99.9" : 113155.1569528033, + "99.99" : 113155.1569528033, + "99.999" : 113155.1569528033, + "99.9999" : 113155.1569528033, + "100.0" : 113155.1569528033 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 111759.65226775057, + 112132.64437791935, + 109743.12598051467, + 110797.80736879585, + 111165.06608044586 + ], + [ + 112281.6560466994, + 111766.74008465679, + 111483.0656954752, + 112988.07480105321, + 113155.1569528033 + ], + [ + 109899.224642264, + 105231.27115653182, + 109794.37219342508, + 108979.69199819489, + 109013.46368829804 + ], + [ + 106657.46311112358, + 108305.35139313644, + 106364.85714917714, + 102569.03938278275, + 110531.5190627856 + ], + [ + 107055.23921916162, + 107584.70194613884, + 106164.28169859554, + 105358.02709455717, + 105823.70997511926 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c13.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c13.json new file mode 100644 index 00000000..488093f4 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c13.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 443732.4466171848, + "scoreError" : 7036.964528804563, + "scoreConfidence" : [ + 436695.4820883802, + 450769.4111459894 + ], + "scorePercentiles" : { + "0.0" : 421035.89252100326, + "50.0" : 445191.9066019308, + "90.0" : 455955.47112020146, + "95.0" : 458938.7179141, + "99.0" : 459660.97264169564, + "99.9" : 459660.97264169564, + "99.99" : 459660.97264169564, + "99.999" : 459660.97264169564, + "99.9999" : 459660.97264169564, + "100.0" : 459660.97264169564 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 445191.9066019308, + 444212.66970488656, + 421035.89252100326, + 434246.5683870363, + 424570.8519584562 + ], + [ + 445357.9690712155, + 448050.058832796, + 451678.33449600864, + 455090.1472783067, + 459660.97264169564 + ], + [ + 446350.1222959588, + 457253.4568830435, + 453514.75391829514, + 447076.19077855657, + 454455.7875925556 + ], + [ + 439205.7100855233, + 432142.55603350996, + 438964.3563862653, + 437542.15477384906, + 443193.14758072514 + ], + [ + 442204.8975424331, + 437424.0988552624, + 443867.78184335714, + 445676.02310865634, + 445344.75625829375 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 477328.72756030335, + "scoreError" : 4393.222256523799, + "scoreConfidence" : [ + 472935.50530377956, + 481721.94981682714 + ], + "scorePercentiles" : { + "0.0" : 466302.9345652686, + "50.0" : 476130.66601311456, + "90.0" : 485974.49299837917, + "95.0" : 487270.8746844502, + "99.0" : 487526.7638437966, + "99.9" : 487526.7638437966, + "99.99" : 487526.7638437966, + "99.999" : 487526.7638437966, + "99.9999" : 487526.7638437966, + "100.0" : 487526.7638437966 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 473634.44101987657, + 466302.9345652686, + 473591.9945131141, + 473469.6643520962, + 472822.48056796915 + ], + [ + 477389.4460157311, + 476806.2401979227, + 483859.30018342944, + 476130.66601311456, + 471515.2520455675 + ], + [ + 474194.1681692148, + 478098.435898072, + 478407.99162536487, + 468834.1879709143, + 473131.8666377267 + ], + [ + 484087.67154610564, + 485056.2555290991, + 483352.19023590855, + 473214.2084183615, + 474113.28721238207 + ], + [ + 473620.1208567538, + 481876.53326606035, + 486673.7999793086, + 487526.7638437966, + 485508.2883444262 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 90859.3265785644, + "scoreError" : 2421.103152493548, + "scoreConfidence" : [ + 88438.22342607085, + 93280.42973105796 + ], + "scorePercentiles" : { + "0.0" : 81371.62387057042, + "50.0" : 91334.11851576123, + "90.0" : 93793.29981393459, + "95.0" : 94631.63924976198, + "99.0" : 94660.6066237562, + "99.9" : 94660.6066237562, + "99.99" : 94660.6066237562, + "99.999" : 94660.6066237562, + "99.9999" : 94660.6066237562, + "100.0" : 94660.6066237562 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 89707.61106480597, + 91092.85451206965, + 91340.77133765227, + 91334.11851576123, + 91871.75025810547 + ], + [ + 94660.6066237562, + 94564.04871044212, + 92257.88763405751, + 93279.46721626291, + 93223.98617320697 + ], + [ + 92813.2697537689, + 93246.72751383134, + 93261.32650309573, + 92696.00029152287, + 93096.96310000525 + ], + [ + 89748.34672793007, + 90384.44239465838, + 90878.64430376225, + 90876.57821291813, + 90591.77760568599 + ], + [ + 90675.50907108243, + 89090.13663209193, + 82234.57563796533, + 81371.62387057042, + 87184.14079910085 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 26127.04356318115, + "scoreError" : 1588.0826233519351, + "scoreConfidence" : [ + 24538.960939829212, + 27715.126186533085 + ], + "scorePercentiles" : { + "0.0" : 19471.08566153671, + "50.0" : 26768.354936923948, + "90.0" : 28198.12488987528, + "95.0" : 28209.99279063131, + "99.0" : 28213.069270670767, + "99.9" : 28213.069270670767, + "99.99" : 28213.069270670767, + "99.999" : 28213.069270670767, + "99.9999" : 28213.069270670767, + "100.0" : 28213.069270670767 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28108.949948411588, + 27722.11554766332, + 27209.37760877792, + 27290.22907228909, + 26768.354936923948 + ], + [ + 26714.494487734675, + 27182.73231462991, + 26781.606765826353, + 26504.646109882367, + 25992.77667416929 + ], + [ + 26074.978945599807, + 25518.11943613755, + 24281.721135218006, + 19471.08566153671, + 26979.301543444526 + ], + [ + 28150.06318972049, + 28213.069270670767, + 28202.81433720591, + 28194.998591654858, + 27981.900947265396 + ], + [ + 22563.08268773104, + 24036.216005722275, + 23794.72679314011, + 24144.611071377094, + 25294.11599679576 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 214514.3318620773, + "scoreError" : 17677.177349603426, + "scoreConfidence" : [ + 196837.15451247388, + 232191.5092116807 + ], + "scorePercentiles" : { + "0.0" : 135351.6091772967, + "50.0" : 222354.96801918047, + "90.0" : 236227.14761605463, + "95.0" : 237454.02681012396, + "99.0" : 237971.53256465052, + "99.9" : 237971.53256465052, + "99.99" : 237971.53256465052, + "99.999" : 237971.53256465052, + "99.9999" : 237971.53256465052, + "100.0" : 237971.53256465052 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 222391.2472321427, + 210085.72862236734, + 194640.31561896065, + 159510.79190000513, + 225699.8690113842 + ], + [ + 224476.140090272, + 218841.58357920917, + 183885.91267073646, + 135351.6091772967, + 212511.7071352492 + ], + [ + 225209.87860586238, + 218824.18096889672, + 215556.70731385634, + 221654.62121067513, + 218382.72877273324 + ], + [ + 215924.62554012012, + 223034.0346540367, + 222354.96801918047, + 231634.89467420898, + 236214.23710482754 + ], + [ + 237971.53256465052, + 236246.5133828953, + 226760.87500914282, + 222861.4861352315, + 222832.10755799263 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 253596.12067599752, + "scoreError" : 11232.144678640843, + "scoreConfidence" : [ + 242363.97599735667, + 264828.26535463834 + ], + "scorePercentiles" : { + "0.0" : 218085.55926210675, + "50.0" : 254902.35110394013, + "90.0" : 275862.71304563375, + "95.0" : 278507.7568808095, + "99.0" : 278775.07421346015, + "99.9" : 278775.07421346015, + "99.99" : 278775.07421346015, + "99.999" : 278775.07421346015, + "99.9999" : 278775.07421346015, + "100.0" : 278775.07421346015 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 263881.3050317591, + 271803.5090442651, + 257341.64403879832, + 248493.2602682067, + 245121.46895864603 + ], + [ + 257705.82379530708, + 250162.2567822179, + 261268.01703918702, + 260074.86436010248, + 244337.7736760692 + ], + [ + 243275.6453175224, + 260074.58770897365, + 254902.35110394013, + 255810.18075122242, + 223118.2049790226 + ], + [ + 238876.0021533343, + 249177.3656172097, + 238596.40151292784, + 218085.55926210675, + 249963.25339913534 + ], + [ + 251049.42657026005, + 274515.1774507509, + 265609.84742755414, + 277884.016437958, + 278775.07421346015 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 121849.94619224254, + "scoreError" : 2457.5699248102133, + "scoreConfidence" : [ + 119392.37626743232, + 124307.51611705276 + ], + "scorePercentiles" : { + "0.0" : 113528.52372530157, + "50.0" : 123288.62286707423, + "90.0" : 125358.99772856307, + "95.0" : 125563.87204733347, + "99.0" : 125625.40880981491, + "99.9" : 125625.40880981491, + "99.99" : 125625.40880981491, + "99.999" : 125625.40880981491, + "99.9999" : 125625.40880981491, + "100.0" : 125625.40880981491 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 124994.23254351715, + 125420.28626821013, + 121342.42604340981, + 125318.1387021317, + 125625.40880981491 + ], + [ + 123442.16497997122, + 123514.83850881373, + 123526.58181839719, + 123434.94372584105, + 122418.38971848594 + ], + [ + 122597.08583232561, + 117371.89270012178, + 122145.64838769299, + 122474.75353449423, + 123288.62286707423 + ], + [ + 123121.72084593096, + 123743.03079984542, + 123707.12514510089, + 123439.94616489406, + 123538.26462031632 + ], + [ + 117254.5403240037, + 117190.4190408097, + 116788.62174167307, + 113528.52372530157, + 117021.04795788632 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c14.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c14.json new file mode 100644 index 00000000..7be01e22 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c14.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 446717.8275571864, + "scoreError" : 3993.0242946950893, + "scoreConfidence" : [ + 442724.80326249136, + 450710.8518518815 + ], + "scorePercentiles" : { + "0.0" : 438278.55409626156, + "50.0" : 447023.7245729543, + "90.0" : 456634.5172536437, + "95.0" : 457131.05119693297, + "99.0" : 457238.2954789963, + "99.9" : 457238.2954789963, + "99.99" : 457238.2954789963, + "99.999" : 457238.2954789963, + "99.9999" : 457238.2954789963, + "100.0" : 457238.2954789963 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 444679.4847738207, + 441060.5585634551, + 442876.286099377, + 441886.4512879401, + 445727.1336297046 + ], + [ + 440458.81074265984, + 438278.55409626156, + 440564.98899283906, + 440291.2582357303, + 441355.5092484746 + ], + [ + 447761.2905776584, + 448270.3556050972, + 445668.8886613438, + 448756.52014213277, + 449556.57684770605 + ], + [ + 457238.2954789963, + 456470.3190635494, + 453359.03859482956, + 456880.81453878526, + 445293.78689453355 + ], + [ + 447882.41031594184, + 447023.7245729543, + 449358.92589832225, + 448030.64383836236, + 449215.0622291825 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 471318.28746834485, + "scoreError" : 5392.8781112851875, + "scoreConfidence" : [ + 465925.40935705963, + 476711.16557963006 + ], + "scorePercentiles" : { + "0.0" : 460603.18499581766, + "50.0" : 467511.09008316236, + "90.0" : 481446.1705514592, + "95.0" : 482656.1784176487, + "99.0" : 483152.5390029085, + "99.9" : 483152.5390029085, + "99.99" : 483152.5390029085, + "99.999" : 483152.5390029085, + "99.9999" : 483152.5390029085, + "100.0" : 483152.5390029085 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 460603.18499581766, + 461344.0808988139, + 465813.9853804936, + 468745.54623104195, + 468146.5685775785 + ], + [ + 466578.63280568284, + 466607.53836761595, + 465800.81864373136, + 466329.9367863328, + 465080.3656568527 + ], + [ + 467511.09008316236, + 465336.60437806434, + 467050.04979309364, + 466999.5472183074, + 466771.7433552296 + ], + [ + 483152.5390029085, + 478997.0272064693, + 475399.83177769854, + 473286.26821404125, + 479823.42718990444 + ], + [ + 480009.40591261914, + 479773.86151121306, + 480885.5138966117, + 481411.6151066259, + 481498.00371870917 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 89149.92114273383, + "scoreError" : 2895.963635006815, + "scoreConfidence" : [ + 86253.95750772701, + 92045.88477774065 + ], + "scorePercentiles" : { + "0.0" : 80817.87013433495, + "50.0" : 89815.90299882957, + "90.0" : 94452.297120922, + "95.0" : 94660.11405107731, + "99.0" : 94737.78461361694, + "99.9" : 94737.78461361694, + "99.99" : 94737.78461361694, + "99.999" : 94737.78461361694, + "99.9999" : 94737.78461361694, + "100.0" : 94737.78461361694 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 94434.57337588009, + 94478.88273848487, + 94102.09757542227, + 94737.78461361694, + 93984.61067267673 + ], + [ + 90607.83049754974, + 89816.93938105213, + 88073.0624354924, + 89815.90299882957, + 90311.33596531411 + ], + [ + 90080.4631811092, + 90057.24262040493, + 88809.62617569687, + 89431.27090655305, + 89694.74228791146 + ], + [ + 87667.82960900606, + 90462.30383688523, + 89031.06518411363, + 90692.93009942927, + 84966.67372901866 + ], + [ + 82863.95138347804, + 80929.40103487272, + 80817.87013433495, + 86959.79088220876, + 85919.84724900337 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 25447.849914860148, + "scoreError" : 777.1313184992576, + "scoreConfidence" : [ + 24670.71859636089, + 26224.981233359405 + ], + "scorePercentiles" : { + "0.0" : 22972.061368209434, + "50.0" : 25384.40364654812, + "90.0" : 26870.48388504737, + "95.0" : 26982.194535291877, + "99.0" : 26989.186804844863, + "99.9" : 26989.186804844863, + "99.99" : 26989.186804844863, + "99.999" : 26989.186804844863, + "99.9999" : 26989.186804844863, + "100.0" : 26989.186804844863 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 25882.906081950474, + 25988.469681171413, + 26806.88698196679, + 24876.851267653772, + 26989.186804844863 + ], + [ + 25129.856323491145, + 26449.165376896257, + 25349.38276183245, + 26275.305033123546, + 26965.879239668244 + ], + [ + 26333.251718914184, + 25185.399434281655, + 25018.383905383052, + 24594.164287984808, + 24966.445208322926 + ], + [ + 25792.34069567272, + 25189.348659351002, + 23437.8869666245, + 22972.061368209434, + 25384.40364654812 + ], + [ + 25731.10678200893, + 26318.125124482893, + 25663.030386025293, + 25302.32786510593, + 23594.082269989256 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 227786.14470081785, + "scoreError" : 18251.280746574193, + "scoreConfidence" : [ + 209534.86395424366, + 246037.42544739204 + ], + "scorePercentiles" : { + "0.0" : 161645.2263500619, + "50.0" : 237292.65318586936, + "90.0" : 241507.10768695126, + "95.0" : 241907.56950057237, + "99.0" : 242078.0994222547, + "99.9" : 242078.0994222547, + "99.99" : 242078.0994222547, + "99.999" : 242078.0994222547, + "99.9999" : 242078.0994222547, + "100.0" : 242078.0994222547 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 223136.64673702972, + 184917.625140732, + 161645.2263500619, + 188294.41555141204, + 164797.44758986766 + ], + [ + 240858.8606304061, + 241095.02148466377, + 240726.554190778, + 241309.10863637482, + 241505.40191159857 + ], + [ + 241509.6663499803, + 242078.0994222547, + 236976.67432925737, + 240653.03822903812, + 240204.41792448788 + ], + [ + 230930.07527153663, + 235255.3847982909, + 235892.83094388945, + 237152.0520929848, + 236601.6148005097 + ], + [ + 236737.16526545075, + 237292.65318586936, + 237964.360620009, + 238691.80853946105, + 238427.4675245004 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 278025.14440485754, + "scoreError" : 2936.167405799925, + "scoreConfidence" : [ + 275088.97699905763, + 280961.31181065744 + ], + "scorePercentiles" : { + "0.0" : 268761.76070740586, + "50.0" : 278197.5902427069, + "90.0" : 284211.8579396102, + "95.0" : 284905.70967934316, + "99.0" : 284920.0313206539, + "99.9" : 284920.0313206539, + "99.99" : 284920.0313206539, + "99.999" : 284920.0313206539, + "99.9999" : 284920.0313206539, + "100.0" : 284920.0313206539 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 277082.8482370571, + 277861.18464134244, + 278363.6233638741, + 278200.95204553235, + 268761.76070740586 + ], + [ + 278616.45604886184, + 277607.07781866106, + 270148.6882511303, + 278495.8223352527, + 278786.50313762244 + ], + [ + 284920.0313206539, + 284872.2925162848, + 280080.2022588638, + 283771.56822182715, + 282960.3902229525 + ], + [ + 277540.8349890699, + 278197.5902427069, + 279450.79647347564, + 279362.7056714417, + 275861.7235866317 + ], + [ + 277032.81816947786, + 270935.30884998734, + 276760.8275300084, + 277114.4256383892, + 277842.17784292635 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 120131.26024954711, + "scoreError" : 3459.9938655412343, + "scoreConfidence" : [ + 116671.26638400587, + 123591.25411508835 + ], + "scorePercentiles" : { + "0.0" : 109702.3339991445, + "50.0" : 121883.96699624675, + "90.0" : 125908.44889717214, + "95.0" : 126095.08268410651, + "99.0" : 126107.9611138126, + "99.9" : 126107.9611138126, + "99.99" : 126107.9611138126, + "99.999" : 126107.9611138126, + "99.9999" : 126107.9611138126, + "100.0" : 126107.9611138126 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 123627.31955052156, + 123543.80077923769, + 123599.5203581757, + 123744.89206160251, + 123352.08804842512 + ], + [ + 109702.3339991445, + 112320.65382622136, + 116681.04056105047, + 117411.60930643008, + 117413.04187701095 + ], + [ + 111715.442990388, + 121883.96699624675, + 121799.114886532, + 122481.09942838586, + 122606.02294217712 + ], + [ + 125804.05948542537, + 126065.0330147923, + 126107.9611138126, + 123969.1853453239, + 122524.36536294543 + ], + [ + 118123.84260935629, + 118046.9326626855, + 118269.97679117565, + 115170.81291852871, + 117317.38932308264 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c9.json new file mode 100644 index 00000000..6ea47a82 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r14-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 379421.60838455823, + "scoreError" : 26104.23276727723, + "scoreConfidence" : [ + 353317.375617281, + 405525.84115183546 + ], + "scorePercentiles" : { + "0.0" : 296850.44823000825, + "50.0" : 383979.7963345947, + "90.0" : 414593.8393125692, + "95.0" : 417226.037874976, + "99.0" : 417288.0456540941, + "99.9" : 417288.0456540941, + "99.99" : 417288.0456540941, + "99.999" : 417288.0456540941, + "99.9999" : 417288.0456540941, + "100.0" : 417288.0456540941 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 406103.3203775536, + 401359.67415588367, + 405423.23278452543, + 403530.8823309929, + 381286.23833498795 + ], + [ + 371898.72899401217, + 383979.7963345947, + 343098.41816887824, + 301071.88889557583, + 296850.44823000825 + ], + [ + 379412.29973017826, + 381578.46535869024, + 383339.07222571963, + 379005.2190426377, + 412935.49681625946 + ], + [ + 412909.9082556159, + 390478.37583080854, + 331994.9473580636, + 320366.3104073173, + 397954.70219174365 + ], + [ + 417081.3530570338, + 388221.85137404845, + 369810.1262045104, + 417288.0456540941, + 408561.40750022256 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 419962.91187180305, + "scoreError" : 12857.860190154537, + "scoreConfidence" : [ + 407105.05168164853, + 432820.77206195757 + ], + "scorePercentiles" : { + "0.0" : 380045.5062605491, + "50.0" : 416104.651131573, + "90.0" : 444625.6259584553, + "95.0" : 451585.5870906081, + "99.0" : 453671.6974156979, + "99.9" : 453671.6974156979, + "99.99" : 453671.6974156979, + "99.999" : 453671.6974156979, + "99.9999" : 453671.6974156979, + "100.0" : 453671.6974156979 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 409797.63942179986, + 416514.6383152158, + 390083.80132333306, + 410089.4797608105, + 413175.9595486845 + ], + [ + 413936.3409472608, + 410243.6419276037, + 414150.8255113572, + 430237.17201859475, + 429951.77179767936 + ], + [ + 410769.90587496076, + 380045.5062605491, + 423518.96122838475, + 422012.90763756237, + 414540.7821010732 + ], + [ + 446717.9963320651, + 453671.6974156979, + 443230.7123760488, + 424019.9446956041, + 412276.3268768903 + ], + [ + 442351.5139210069, + 434704.52601796243, + 436049.9515820034, + 400876.142771356, + 416104.651131573 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 81042.56319959098, + "scoreError" : 3775.3385839907214, + "scoreConfidence" : [ + 77267.22461560025, + 84817.9017835817 + ], + "scorePercentiles" : { + "0.0" : 66062.22115034635, + "50.0" : 81373.22652864826, + "90.0" : 87095.02375712931, + "95.0" : 89106.14170382259, + "99.0" : 89660.74359895657, + "99.9" : 89660.74359895657, + "99.99" : 89660.74359895657, + "99.999" : 89660.74359895657, + "99.9999" : 89660.74359895657, + "100.0" : 89660.74359895657 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 86298.40844422756, + 85527.26574171797, + 84982.39500367762, + 86616.99251843107, + 89660.74359895657 + ], + [ + 80054.74494297492, + 71598.30606470499, + 82305.5847050163, + 83398.64711181013, + 78707.2421077525 + ], + [ + 76848.43272103282, + 66062.22115034635, + 77647.77563969397, + 81924.2825940515, + 80210.47953696112 + ], + [ + 87812.07061517666, + 81339.17756515376, + 77108.31029492656, + 80338.04633312277, + 81373.22652864826 + ], + [ + 79905.82487057468, + 77954.99147582785, + 81980.3908150604, + 83528.57117131387, + 82879.94843861453 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 21591.011285150835, + "scoreError" : 3945.721231750442, + "scoreConfidence" : [ + 17645.290053400393, + 25536.732516901277 + ], + "scorePercentiles" : { + "0.0" : 7906.525544884061, + "50.0" : 23948.814161092396, + "90.0" : 25465.969734824735, + "95.0" : 25537.385732862593, + "99.0" : 25538.00732904091, + "99.9" : 25538.00732904091, + "99.99" : 25538.00732904091, + "99.999" : 25538.00732904091, + "99.9999" : 25538.00732904091, + "100.0" : 25538.00732904091 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 23948.814161092396, + 25137.08343566688, + 24985.051314130247, + 25535.935341779852, + 25538.00732904091 + ], + [ + 22699.985909265753, + 24632.477026325974, + 24464.120965341783, + 24279.395957103447, + 25075.249891931733 + ], + [ + 25339.93943534564, + 25383.21092276517, + 22929.183409808797, + 18111.530916728043, + 22542.672666150254 + ], + [ + 25000.263988420567, + 25419.32599685466, + 23623.841292579873, + 20726.269412883605, + 23718.781347402295 + ], + [ + 15249.432506025325, + 7906.525544884061, + 11166.593115412692, + 15468.115532112857, + 10893.47470971815 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 163071.50342817107, + "scoreError" : 40311.858840233144, + "scoreConfidence" : [ + 122759.64458793792, + 203383.36226840422 + ], + "scorePercentiles" : { + "0.0" : 71686.77935505667, + "50.0" : 176114.07895114916, + "90.0" : 226856.28579838452, + "95.0" : 226992.44420192056, + "99.0" : 227012.7662677129, + "99.9" : 227012.7662677129, + "99.99" : 227012.7662677129, + "99.999" : 227012.7662677129, + "99.9999" : 227012.7662677129, + "100.0" : 227012.7662677129 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 99904.73743131144, + 137124.86714254346, + 176114.07895114916, + 212328.24156264195, + 218269.94429016183 + ], + [ + 167752.1058503466, + 135389.37079677702, + 94208.19238003733, + 99829.98677906851, + 71686.77935505667 + ], + [ + 195232.07711941242, + 200117.43019431373, + 204810.96838911172, + 183345.68442260136, + 195772.33209869973 + ], + [ + 109729.2358976813, + 89443.45044241831, + 93884.83907115024, + 126124.30981094397, + 131819.65785628773 + ], + [ + 226559.77908926387, + 226945.0260484051, + 227012.7662677129, + 226797.12563170414, + 226584.5988254763 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 256884.3912392633, + "scoreError" : 45121.842072100335, + "scoreConfidence" : [ + 211762.54916716297, + 302006.2333113636 + ], + "scorePercentiles" : { + "0.0" : 135898.95203858704, + "50.0" : 257676.77540108084, + "90.0" : 316182.3157915851, + "95.0" : 316472.0959525463, + "99.0" : 316584.68516885163, + "99.9" : 316584.68516885163, + "99.99" : 316584.68516885163, + "99.999" : 316584.68516885163, + "99.9999" : 316584.68516885163, + "100.0" : 316584.68516885163 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 314640.4427213453, + 316209.3877811671, + 316164.26779853035, + 316093.47520169767, + 316584.68516885163 + ], + [ + 315526.6989507877, + 312248.10828342795, + 310976.053829398, + 309691.68047350564, + 310561.62775740476 + ], + [ + 161360.06074599325, + 177262.38322239337, + 158664.62553578647, + 135898.95203858704, + 141428.00600431504 + ], + [ + 220545.91274570665, + 250223.0742808681, + 253321.91765940224, + 251989.5186145165, + 252932.50431838125 + ], + [ + 257676.77540108084, + 258979.55504987095, + 251068.9648947942, + 257810.46815093706, + 254250.63435283373 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 106162.28552928362, + "scoreError" : 5410.205386748632, + "scoreConfidence" : [ + 100752.08014253498, + 111572.49091603226 + ], + "scorePercentiles" : { + "0.0" : 78158.51790261955, + "50.0" : 108588.51961542563, + "90.0" : 111030.59742259605, + "95.0" : 111574.52285891047, + "99.0" : 111723.06284426179, + "99.9" : 111723.06284426179, + "99.99" : 111723.06284426179, + "99.999" : 111723.06284426179, + "99.9999" : 111723.06284426179, + "100.0" : 111723.06284426179 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 107284.7116982571, + 109624.3007471649, + 109803.38091658126, + 109167.12046990187, + 109066.1156426493 + ], + [ + 107808.06072154001, + 105541.87298690464, + 109814.92923063354, + 108713.25047905484, + 108588.51961542563 + ], + [ + 110836.54118021947, + 111227.92955975737, + 109748.7775267676, + 110899.0426644885, + 111723.06284426179 + ], + [ + 106929.09037683457, + 108541.43857910912, + 108652.53043145656, + 107820.07877000625, + 105854.13225068574 + ], + [ + 103835.42813735495, + 102903.59578627389, + 91673.84354565662, + 99840.86616848464, + 78158.51790261955 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r9-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r9-c9.json new file mode 100644 index 00000000..408b0e01 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/deserializer/open-r9-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 385635.59044742153, + "scoreError" : 11669.96746371957, + "scoreConfidence" : [ + 373965.622983702, + 397305.5579111411 + ], + "scorePercentiles" : { + "0.0" : 353137.9813951061, + "50.0" : 391554.05266746116, + "90.0" : 399479.8665692513, + "95.0" : 404342.6555834122, + "99.0" : 405898.4965119727, + "99.9" : 405898.4965119727, + "99.99" : 405898.4965119727, + "99.999" : 405898.4965119727, + "99.9999" : 405898.4965119727, + "100.0" : 405898.4965119727 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 390283.7625704351, + 395482.9694240383, + 396030.7816290938, + 396975.9909975788, + 381075.96017801017 + ], + [ + 405898.4965119727, + 400712.3600834377, + 394484.29781644134, + 392422.3870982326, + 396294.4969657418 + ], + [ + 387600.9850962383, + 374102.51509819535, + 397011.6247317345, + 397704.2487189494, + 397523.138755657 + ], + [ + 380096.88824102806, + 391554.05266746116, + 386106.92779188784, + 387811.8436033484, + 398658.2042264603 + ], + [ + 362076.86467537953, + 357930.95612031536, + 366360.64103916916, + 353137.9813951061, + 353551.3857496249 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 426937.4225702895, + "scoreError" : 8653.674087022351, + "scoreConfidence" : [ + 418283.74848326715, + 435591.0966573119 + ], + "scorePercentiles" : { + "0.0" : 404386.2608149243, + "50.0" : 429862.7612196112, + "90.0" : 439263.38355151843, + "95.0" : 442864.68429150636, + "99.0" : 444307.48698271933, + "99.9" : 444307.48698271933, + "99.99" : 444307.48698271933, + "99.999" : 444307.48698271933, + "99.9999" : 444307.48698271933, + "100.0" : 444307.48698271933 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 408079.1811818836, + 419572.76510930725, + 405847.12928475725, + 404386.2608149243, + 407765.9585934326 + ], + [ + 439498.14467867615, + 444307.48698271933, + 435799.95039232326, + 431051.40866664343, + 436290.7368878887 + ], + [ + 433170.7909190935, + 417440.5333636871, + 422608.474820036, + 431563.0484185898, + 439106.8761334133 + ], + [ + 436448.4856518853, + 438089.4851351082, + 425613.03291209886, + 426455.2810805189, + 435678.03292556613 + ], + [ + 421327.61957925104, + 438654.3891433543, + 423100.47662437556, + 421717.2537380916, + 429862.7612196112 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 78957.90046327891, + "scoreError" : 1983.5962743198627, + "scoreConfidence" : [ + 76974.30418895905, + 80941.49673759878 + ], + "scorePercentiles" : { + "0.0" : 70601.28959312031, + "50.0" : 79384.53495634627, + "90.0" : 82160.88941736458, + "95.0" : 82476.3334018444, + "99.0" : 82595.74727925315, + "99.9" : 82595.74727925315, + "99.99" : 82595.74727925315, + "99.999" : 82595.74727925315, + "99.9999" : 82595.74727925315, + "100.0" : 82595.74727925315 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 80751.3640197906, + 82197.70102122401, + 78584.11551471065, + 81231.14203458068, + 78545.07845807623 + ], + [ + 79703.99642476541, + 82595.74727925315, + 81191.56753105084, + 80001.32951434032, + 78148.42265651093 + ], + [ + 77466.28389588174, + 79384.53495634627, + 70601.28959312031, + 79143.31756541698, + 78063.89761521791 + ], + [ + 80180.5803814276, + 79475.68193033132, + 77830.85139431656, + 75968.21628732057, + 74741.98499426794 + ], + [ + 75807.88128540882, + 78907.9043588794, + 80496.65364591927, + 80791.62087569045, + 82136.34834812497 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 24914.428920393297, + "scoreError" : 348.3591598166043, + "scoreConfidence" : [ + 24566.06976057669, + 25262.788080209903 + ], + "scorePercentiles" : { + "0.0" : 24003.83223632492, + "50.0" : 24972.991417991376, + "90.0" : 25738.704511489523, + "95.0" : 25753.840062710784, + "99.0" : 25756.73990025317, + "99.9" : 25756.73990025317, + "99.99" : 25756.73990025317, + "99.999" : 25756.73990025317, + "99.9999" : 25756.73990025317, + "100.0" : 25756.73990025317 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 24003.83223632492, + 24513.628008744065, + 24639.49664022121, + 24738.650735905772, + 24733.53633836298 + ], + [ + 25110.244902444996, + 24972.991417991376, + 24988.010995906254, + 25054.22467370158, + 24999.414009549775 + ], + [ + 24439.094225409644, + 24367.25486102606, + 24507.891976595005, + 24419.647124936528, + 24448.3248028287 + ], + [ + 24755.9815879156, + 24951.189119457402, + 25015.658989781638, + 25040.71541050579, + 25075.609592988156 + ], + [ + 25747.073775111883, + 25138.326503095977, + 25710.060178365995, + 25756.73990025317, + 25733.12500240795 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 194294.84670061216, + "scoreError" : 4797.263086396941, + "scoreConfidence" : [ + 189497.58361421523, + 199092.1097870091 + ], + "scorePercentiles" : { + "0.0" : 181895.59051473605, + "50.0" : 197879.91395037077, + "90.0" : 198831.54929159128, + "95.0" : 199278.6219069821, + "99.0" : 199336.76024332346, + "99.9" : 199336.76024332346, + "99.99" : 199336.76024332346, + "99.999" : 199336.76024332346, + "99.9999" : 199336.76024332346, + "100.0" : 199336.76024332346 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 182219.36480046876, + 182617.47336654758, + 182186.8513992112, + 181895.59051473605, + 182235.77351615418 + ], + [ + 197903.65513553945, + 197901.97306333718, + 197988.8580453173, + 197954.53490792177, + 197879.91395037077 + ], + [ + 196988.6629795409, + 196772.2408115566, + 196791.3823293729, + 197353.15204640682, + 196747.60815148035 + ], + [ + 199336.76024332346, + 193178.13684714356, + 190863.2636223608, + 197893.43679403845, + 199142.96578885222 + ], + [ + 198623.93829341733, + 198292.21509764012, + 198261.30575302182, + 198352.01769003252, + 197990.09236751214 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 280992.9664275083, + "scoreError" : 19971.333730828876, + "scoreConfidence" : [ + 261021.6326966794, + 300964.30015833717 + ], + "scorePercentiles" : { + "0.0" : 261992.45377960696, + "50.0" : 271092.0003340174, + "90.0" : 333503.29801338445, + "95.0" : 334662.48917985527, + "99.0" : 335143.87991861894, + "99.9" : 335143.87991861894, + "99.99" : 335143.87991861894, + "99.999" : 335143.87991861894, + "99.9999" : 335143.87991861894, + "100.0" : 335143.87991861894 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 262022.4462944321, + 262191.97295725497, + 262462.85003901116, + 263109.4141642794, + 261992.45377960696 + ], + [ + 266528.38200687885, + 267137.57890810043, + 267031.924141126, + 266250.58948331646, + 266621.8733816066 + ], + [ + 328130.30502832774, + 333539.2441227401, + 333479.3339404807, + 333359.1489183414, + 335143.87991861894 + ], + [ + 271686.7135143363, + 271037.1170082311, + 272334.9283286911, + 272568.617444687, + 272575.5426438371 + ], + [ + 271092.0003340174, + 271351.602773428, + 271217.6782048337, + 270773.02217752207, + 271185.54117400246 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 117905.67842816617, + "scoreError" : 1007.8254581875779, + "scoreConfidence" : [ + 116897.85296997859, + 118913.50388635375 + ], + "scorePercentiles" : { + "0.0" : 114557.85300287661, + "50.0" : 118243.94769578999, + "90.0" : 119368.70305241457, + "95.0" : 119542.91182246472, + "99.0" : 119574.74301365037, + "99.9" : 119574.74301365037, + "99.99" : 119574.74301365037, + "99.999" : 119574.74301365037, + "99.9999" : 119574.74301365037, + "100.0" : 119574.74301365037 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 119022.1476745512, + 119107.71930427758, + 119265.29424222223, + 119281.76443604701, + 119168.56676087923 + ], + [ + 115708.64989406864, + 118269.99621170186, + 118307.41735358165, + 118243.94769578999, + 118640.81783936972 + ], + [ + 119291.93443703336, + 119574.74301365037, + 119468.63904303158, + 119302.0790586699, + 114557.85300287661 + ], + [ + 116414.90713859376, + 116538.68096434105, + 116686.35411965054, + 116786.28215296216, + 116712.64490098521 + ], + [ + 117325.86059936462, + 117492.8344278068, + 117314.5914476359, + 117517.78742185711, + 117640.44756320695 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c10.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c10.json new file mode 100644 index 00000000..19dd03d3 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c10.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 768974.4974519926, + "scoreError" : 11651.684686903054, + "scoreConfidence" : [ + 757322.8127650896, + 780626.1821388956 + ], + "scorePercentiles" : { + "0.0" : 750214.7147661162, + "50.0" : 773067.3208514139, + "90.0" : 793492.3370019683, + "95.0" : 793516.3682956827, + "99.0" : 793519.6345228236, + "99.9" : 793519.6345228236, + "99.99" : 793519.6345228236, + "99.999" : 793519.6345228236, + "99.9999" : 793519.6345228236, + "100.0" : 793519.6345228236 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 751182.6122985134, + 750214.7147661162, + 751317.0710750442, + 751277.9889057726, + 750902.4090079591 + ], + [ + 793481.3969372667, + 790402.4701246717, + 793519.6345228236, + 793207.0291256179, + 793508.7470990206 + ], + [ + 773067.3208514139, + 774260.8078936161, + 773253.5599052256, + 769928.2251011046, + 773807.8736388142 + ], + [ + 775083.5365049927, + 773404.8605027248, + 774529.5690445919, + 774716.4003688202, + 772865.1458977162 + ], + [ + 753425.4994631448, + 753942.757812371, + 755635.4068084399, + 753111.8159715896, + 754315.5826724434 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 934660.8975373766, + "scoreError" : 7577.380978063605, + "scoreConfidence" : [ + 927083.516559313, + 942238.2785154402 + ], + "scorePercentiles" : { + "0.0" : 916725.9253359252, + "50.0" : 929789.97409165, + "90.0" : 952611.5369252822, + "95.0" : 953041.227302382, + "99.0" : 953149.8048899417, + "99.9" : 953149.8048899417, + "99.99" : 953149.8048899417, + "99.999" : 953149.8048899417, + "99.9999" : 953149.8048899417, + "100.0" : 953149.8048899417 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 952787.8795980759, + 953149.8048899417, + 950930.8634904323, + 952493.9751434198, + 951536.097172224 + ], + [ + 929685.3148524512, + 929033.1939029268, + 930858.2971410602, + 929789.97409165, + 928979.4972893822 + ], + [ + 928887.7178833, + 929081.8525987995, + 929606.5619304595, + 928102.2328468476, + 930718.2363375241 + ], + [ + 937840.4156352276, + 937172.7449617102, + 935052.0088057201, + 938677.3073519837, + 939335.1330274248 + ], + [ + 926657.2123151827, + 916725.9253359252, + 926439.7845318667, + 925769.9651857017, + 927210.4421151801 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 817800.6761903921, + "scoreError" : 27772.434391081442, + "scoreConfidence" : [ + 790028.2417993107, + 845573.1105814736 + ], + "scorePercentiles" : { + "0.0" : 772937.2675651448, + "50.0" : 797794.1229295647, + "90.0" : 864237.5743787178, + "95.0" : 864517.9780709775, + "99.0" : 864571.8289966977, + "99.9" : 864571.8289966977, + "99.99" : 864571.8289966977, + "99.999" : 864571.8289966977, + "99.9999" : 864571.8289966977, + "100.0" : 864571.8289966977 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 797220.0151794951, + 797794.1229295647, + 798063.80836077, + 796220.3041613137, + 798167.1766854023 + ], + [ + 774000.8059518401, + 773639.4827375764, + 772937.2675651448, + 773621.5984877801, + 774465.6586702646 + ], + [ + 863658.0978292631, + 864122.4618357829, + 864571.8289966977, + 864392.3259109637, + 864134.4066905539 + ], + [ + 857705.2162147021, + 858096.2160979243, + 858313.1922165452, + 857064.634033864, + 858117.1911942658 + ], + [ + 796217.9916728233, + 794920.0119434687, + 794595.6475418181, + 796398.8075814211, + 796578.6342705569 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c11.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c11.json new file mode 100644 index 00000000..45261f08 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c11.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 755751.2841188605, + "scoreError" : 7240.616238474339, + "scoreConfidence" : [ + 748510.6678803861, + 762991.9003573349 + ], + "scorePercentiles" : { + "0.0" : 746946.0641630045, + "50.0" : 752501.0187010132, + "90.0" : 774051.6532943725, + "95.0" : 774671.5826484606, + "99.0" : 774855.3736279788, + "99.9" : 774855.3736279788, + "99.99" : 774855.3736279788, + "99.999" : 774855.3736279788, + "99.9999" : 774855.3736279788, + "100.0" : 774855.3736279788 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 746946.0641630045, + 747859.3303621068, + 748361.0010550541, + 748613.7261030915, + 748091.7880257114 + ], + [ + 755099.6522993793, + 755614.6528991233, + 755538.6855021301, + 754735.9357475258, + 756000.119868068 + ], + [ + 773924.2641375642, + 774242.7370295849, + 773695.9573976543, + 774855.3736279788, + 773183.6904909521 + ], + [ + 750795.0931946352, + 750580.0177097813, + 752501.0187010132, + 752875.7203946878, + 752607.087101997 + ], + [ + 749230.3456888314, + 749784.6510505291, + 749452.3163624133, + 749811.6026489455, + 749381.2714097478 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 930303.5424433693, + "scoreError" : 7101.138907898581, + "scoreConfidence" : [ + 923202.4035354707, + 937404.6813512678 + ], + "scorePercentiles" : { + "0.0" : 893406.5993968601, + "50.0" : 930374.0294913318, + "90.0" : 941285.4487263676, + "95.0" : 942118.2709024012, + "99.0" : 942392.5364483343, + "99.9" : 942392.5364483343, + "99.99" : 942392.5364483343, + "99.999" : 942392.5364483343, + "99.9999" : 942392.5364483343, + "100.0" : 942392.5364483343 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 927331.8254978319, + 926475.7495063854, + 920354.2003254971, + 893406.5993968601, + 923981.8862988297 + ], + [ + 930196.0613260285, + 930430.5101928073, + 930360.8677996142, + 930927.9647958454, + 930374.0294913318 + ], + [ + 940604.9477179477, + 940555.3477974284, + 941156.869236019, + 942392.5364483343, + 941478.3179618904 + ], + [ + 932485.117078227, + 932363.9620703657, + 931940.667049213, + 933090.7620912765, + 932255.8607978805 + ], + [ + 927982.9729557658, + 929448.6589208359, + 929647.0918029236, + 928890.650254765, + 929455.1042703281 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 832801.5741413622, + "scoreError" : 26154.839247701675, + "scoreConfidence" : [ + 806646.7348936605, + 858956.4133890639 + ], + "scorePercentiles" : { + "0.0" : 789336.297201495, + "50.0" : 849042.3496080624, + "90.0" : 871652.283958917, + "95.0" : 871993.0820200845, + "99.0" : 872131.634090014, + "99.9" : 872131.634090014, + "99.99" : 872131.634090014, + "99.999" : 872131.634090014, + "99.9999" : 872131.634090014, + "100.0" : 872131.634090014 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 790578.4848078236, + 791032.0057012968, + 789336.297201495, + 790063.3684806284, + 790953.2934369275 + ], + [ + 849628.0738715813, + 848776.9999414426, + 849042.3496080624, + 849671.7932482866, + 848702.5778687114 + ], + [ + 870539.2510696201, + 871640.6106935847, + 871669.7938569154, + 871115.8771860047, + 872131.634090014 + ], + [ + 793676.8839173729, + 792989.1970221566, + 792121.9164878189, + 793943.4852401844, + 793508.9197942284 + ], + [ + 860366.3942848298, + 858504.751366812, + 859941.3512092476, + 860157.7128548933, + 859946.3302941174 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c9.json new file mode 100644 index 00000000..0b2ba4a2 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r11-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 762184.4069390999, + "scoreError" : 11896.770548082131, + "scoreConfidence" : [ + 750287.6363910178, + 774081.177487182 + ], + "scorePercentiles" : { + "0.0" : 733766.2358986001, + "50.0" : 762564.8251667774, + "90.0" : 787870.6500698904, + "95.0" : 788194.2849038116, + "99.0" : 788273.3196048582, + "99.9" : 788273.3196048582, + "99.99" : 788273.3196048582, + "99.999" : 788273.3196048582, + "99.9999" : 788273.3196048582, + "100.0" : 788273.3196048582 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 787683.3594514962, + 782971.7706963811, + 787777.8363822376, + 788009.8706013697, + 788273.3196048582 + ], + [ + 764279.8144579884, + 760888.581185836, + 772024.4261502331, + 770571.6207859123, + 768376.5222765504 + ], + [ + 744153.7314597452, + 745508.0846080051, + 745634.150670204, + 745009.1482466942, + 745132.1162285863 + ], + [ + 760401.5479351071, + 764028.1288569507, + 762564.8251667774, + 765941.2813345939, + 764249.4697066712 + ], + [ + 733766.2358986001, + 752914.8519960957, + 747114.5926287887, + 752361.811920604, + 754973.0752272072 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 932055.2393746163, + "scoreError" : 5999.604902705116, + "scoreConfidence" : [ + 926055.6344719112, + 938054.8442773214 + ], + "scorePercentiles" : { + "0.0" : 914131.3953688977, + "50.0" : 934120.7446366063, + "90.0" : 941117.2422387939, + "95.0" : 943885.4580360783, + "99.0" : 944408.3673610274, + "99.9" : 944408.3673610274, + "99.99" : 944408.3673610274, + "99.999" : 944408.3673610274, + "99.9999" : 944408.3673610274, + "100.0" : 944408.3673610274 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 940085.1795460808, + 937284.3988807605, + 939032.7305706511, + 939038.1415885809, + 939316.5236081327 + ], + [ + 942665.3362778636, + 916241.2255581412, + 932579.6891455993, + 944408.3673610274, + 937460.7923749274 + ], + [ + 934500.9745827549, + 936071.7801592925, + 914131.3953688977, + 923227.9475941866, + 925078.9658468856 + ], + [ + 934700.4494627928, + 933365.5029576982, + 936007.0327869758, + 934120.7446366063, + 933871.2629847921 + ], + [ + 920669.9914523894, + 926373.6385186036, + 929362.8172267771, + 924180.8163872856, + 927605.2794876996 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.2-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.2", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.2+9", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 818948.4253091811, + "scoreError" : 26566.50010878722, + "scoreConfidence" : [ + 792381.9252003939, + 845514.9254179683 + ], + "scorePercentiles" : { + "0.0" : 753430.0011939271, + "50.0" : 831164.8565208659, + "90.0" : 857714.6389721173, + "95.0" : 860628.0471635846, + "99.0" : 861371.2076222579, + "99.9" : 861371.2076222579, + "99.99" : 861371.2076222579, + "99.999" : 861371.2076222579, + "99.9999" : 861371.2076222579, + "100.0" : 861371.2076222579 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 765929.0559348805, + 766545.5124775701, + 753430.0011939271, + 753595.0204496718, + 756184.7027297742 + ], + [ + 858894.0060933471, + 861371.2076222579, + 848310.3239657095, + 856928.3942246309, + 849715.6947225888 + ], + [ + 824991.8636688857, + 828737.7625101489, + 831164.8565208659, + 836209.4498074106, + 834846.241736714 + ], + [ + 803328.3133648271, + 805280.5741722353, + 805361.9804229852, + 802757.8271332909, + 803821.4108754363 + ], + [ + 838133.7889559333, + 847723.902965517, + 844035.923347617, + 849688.1089450773, + 846724.708888221 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c10.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c10.json new file mode 100644 index 00000000..2d8bd635 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c10.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 694518.6574581289, + "scoreError" : 7133.402399786259, + "scoreConfidence" : [ + 687385.2550583426, + 701652.0598579152 + ], + "scorePercentiles" : { + "0.0" : 668164.208157403, + "50.0" : 697371.9748865503, + "90.0" : 703638.543656376, + "95.0" : 703817.9139365554, + "99.0" : 703827.0756029774, + "99.9" : 703827.0756029774, + "99.99" : 703827.0756029774, + "99.999" : 703827.0756029774, + "99.9999" : 703827.0756029774, + "100.0" : 703827.0756029774 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 672716.6690273298, + 668164.208157403, + 693150.920214342, + 693531.7416587991, + 693982.3750471589 + ], + [ + 678561.7665155308, + 684407.5610765421, + 687868.5208708434, + 696251.5223047178, + 698343.3602169317 + ], + [ + 700554.3952559641, + 700340.7919479066, + 701557.5893368109, + 701527.3998964354, + 701700.7414579272 + ], + [ + 694150.2509961865, + 697371.9748865503, + 697540.592634991, + 697211.6414265432, + 697586.2720302693 + ], + [ + 702961.5798209865, + 692327.7344044837, + 703827.0756029774, + 703533.2149506905, + 703796.536714904 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 823193.3863884982, + "scoreError" : 4762.795476948183, + "scoreConfidence" : [ + 818430.5909115501, + 827956.1818654464 + ], + "scorePercentiles" : { + "0.0" : 813655.6888893222, + "50.0" : 823459.7459562438, + "90.0" : 833019.9669360664, + "95.0" : 833519.9887639225, + "99.0" : 833683.3335121528, + "99.9" : 833683.3335121528, + "99.99" : 833683.3335121528, + "99.999" : 833683.3335121528, + "99.9999" : 833683.3335121528, + "100.0" : 833683.3335121528 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 824710.9317149839, + 822344.9109225626, + 823068.1087829687, + 823459.7459562438, + 823731.249364489 + ], + [ + 818509.6876462685, + 819367.8892110767, + 819641.2095339138, + 818924.9988005147, + 821080.5560756468 + ], + [ + 827051.0206008754, + 825807.83869151, + 825763.6352593, + 825376.0973623663, + 825929.5055660121 + ], + [ + 831890.4787137912, + 833138.8510180518, + 833683.3335121528, + 832940.7108814095, + 831958.2742699902 + ], + [ + 814159.8892503795, + 815113.8914183904, + 813706.4174607334, + 813655.6888893222, + 814819.7388095054 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 853999.8712313798, + "scoreError" : 7690.91039803793, + "scoreConfidence" : [ + 846308.9608333418, + 861690.7816294178 + ], + "scorePercentiles" : { + "0.0" : 831635.2016464153, + "50.0" : 853542.1664338701, + "90.0" : 867348.3832117225, + "95.0" : 871004.4172562296, + "99.0" : 871101.0949665802, + "99.9" : 871101.0949665802, + "99.99" : 871101.0949665802, + "99.999" : 871101.0949665802, + "99.9999" : 871101.0949665802, + "100.0" : 871101.0949665802 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 864252.5253676873, + 862764.5751038024, + 862574.7325176029, + 862826.5647034976, + 861865.7177552258 + ], + [ + 853542.1664338701, + 854021.1862542027, + 849361.1070484981, + 852335.1949969366, + 855263.1354535425 + ], + [ + 870778.8359320782, + 871101.0949665802, + 865061.4147314854, + 856943.8501325478, + 863584.4618742742 + ], + [ + 847593.6846422963, + 831635.2016464153, + 833078.6137629021, + 845608.9039855229, + 848238.6634265352 + ], + [ + 846196.7510143693, + 846814.8619669373, + 846343.44769987, + 851358.5472588883, + 846851.5421089255 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c11.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c11.json new file mode 100644 index 00000000..f3bafd8d --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c11.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 703034.0376481169, + "scoreError" : 6370.743328555518, + "scoreConfidence" : [ + 696663.2943195614, + 709404.7809766724 + ], + "scorePercentiles" : { + "0.0" : 675025.1292262037, + "50.0" : 705450.1882702584, + "90.0" : 710913.1807763169, + "95.0" : 711396.5895926071, + "99.0" : 711425.79840521, + "99.9" : 711425.79840521, + "99.99" : 711425.79840521, + "99.999" : 711425.79840521, + "99.9999" : 711425.79840521, + "100.0" : 711425.79840521 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 706424.6815313465, + 707356.0277833757, + 707684.3128253147, + 706444.8392983489, + 708161.6614272983 + ], + [ + 711425.79840521, + 710465.6860416676, + 711328.4356965338, + 697321.6148878426, + 710636.344162839 + ], + [ + 707901.2285025681, + 707763.2189731869, + 708585.6265157093, + 704789.1064003397, + 702403.5399868396 + ], + [ + 699615.9652876174, + 675025.1292262037, + 689183.7608325658, + 687092.4164994627, + 701544.988441417 + ], + [ + 702434.6231016029, + 698025.0613140931, + 703487.6274032475, + 705299.0583880328, + 705450.1882702584 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 798506.7542160233, + "scoreError" : 7025.041375370878, + "scoreConfidence" : [ + 791481.7128406523, + 805531.7955913942 + ], + "scorePercentiles" : { + "0.0" : 782111.1916251249, + "50.0" : 798006.9931966009, + "90.0" : 814766.3252782987, + "95.0" : 816569.8315753877, + "99.0" : 817185.3944633023, + "99.9" : 817185.3944633023, + "99.99" : 817185.3944633023, + "99.999" : 817185.3944633023, + "99.9999" : 817185.3944633023, + "100.0" : 817185.3944633023 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 787031.0695647339, + 782111.1916251249, + 784403.1238423021, + 789359.0522907318, + 797325.9709545217 + ], + [ + 812857.4444411332, + 807877.9519339105, + 798006.9931966009, + 797800.9849251758, + 803849.9347163849 + ], + [ + 791884.832777422, + 801480.3596433568, + 814521.5300169953, + 817185.3944633023, + 815133.5181702538 + ], + [ + 790234.8171552611, + 792974.9590971288, + 794162.6726796, + 795141.8537052216, + 792722.1908195536 + ], + [ + 800080.4629399928, + 798525.4237327372, + 798714.6101388833, + 800346.7819116814, + 798935.7306585701 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 831090.5412897104, + "scoreError" : 11315.655674551082, + "scoreConfidence" : [ + 819774.8856151594, + 842406.1969642615 + ], + "scorePercentiles" : { + "0.0" : 781808.5772734114, + "50.0" : 831437.9661890676, + "90.0" : 848765.2037387901, + "95.0" : 850685.8275804049, + "99.0" : 851444.9153936532, + "99.9" : 851444.9153936532, + "99.99" : 851444.9153936532, + "99.999" : 851444.9153936532, + "99.9999" : 851444.9153936532, + "100.0" : 851444.9153936532 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 819838.6370603202, + 820797.375534318, + 825264.3695238958, + 822814.7694836229, + 816201.6702133449 + ], + [ + 832650.1300002454, + 831391.9937791155, + 833316.386020663, + 831997.8782630978, + 832431.5956290371 + ], + [ + 831437.9661890676, + 829173.6308137602, + 830881.4857844895, + 832657.9854356874, + 831155.1268398348 + ], + [ + 846668.35112873, + 848499.2796252645, + 848665.5911094331, + 845487.0944001512, + 847046.7356191949 + ], + [ + 851444.9153936532, + 848914.6226828255, + 781808.5772734114, + 811210.4761594774, + 825506.8882801214 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c12.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c12.json new file mode 100644 index 00000000..50a341b6 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c12.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 627172.9947793607, + "scoreError" : 91770.2518927663, + "scoreConfidence" : [ + 535402.7428865944, + 718943.246672127 + ], + "scorePercentiles" : { + "0.0" : 286898.4496701294, + "50.0" : 676409.9700377572, + "90.0" : 691298.9163550171, + "95.0" : 701112.4421639238, + "99.0" : 704895.2777243931, + "99.9" : 704895.2777243931, + "99.99" : 704895.2777243931, + "99.999" : 704895.2777243931, + "99.9999" : 704895.2777243931, + "100.0" : 704895.2777243931 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 704895.2777243931, + 690640.976687587, + 690379.2979725188, + 686855.3872330771, + 686619.9526620897 + ], + [ + 654058.8681151458, + 480902.6244278191, + 286898.4496701294, + 343026.3959952896, + 337526.50236239657 + ], + [ + 627003.4141419503, + 684234.3547366685, + 684467.5511231805, + 676608.2817045744, + 692285.8258561622 + ], + [ + 674421.6429648799, + 676059.9177318293, + 676409.9700377572, + 676096.7228262771, + 682357.837449631 + ], + [ + 670188.0623690141, + 676930.107357555, + 668019.1964010524, + 675731.1667228149, + 676707.0852102241 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 775032.798957865, + "scoreError" : 88590.54213314036, + "scoreConfidence" : [ + 686442.2568247246, + 863623.3410910054 + ], + "scorePercentiles" : { + "0.0" : 471774.5302234051, + "50.0" : 795445.9427647407, + "90.0" : 884687.5581769416, + "95.0" : 886421.2266095184, + "99.0" : 887031.0066156432, + "99.9" : 887031.0066156432, + "99.99" : 887031.0066156432, + "99.999" : 887031.0066156432, + "99.9999" : 887031.0066156432, + "100.0" : 887031.0066156432 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 792464.0839795768, + 599973.7712473203, + 488412.33848122513, + 471774.5302234051, + 555594.8354946781 + ], + [ + 796415.2676393061, + 798157.3136626432, + 782221.0869670447, + 794474.2247386201, + 784671.4682073785 + ], + [ + 793730.3808521352, + 782024.4518086455, + 789343.4629483621, + 766017.9723937272, + 798890.2245881268 + ], + [ + 797447.7352013502, + 795445.9427647407, + 860294.277361822, + 858210.5161694757, + 861428.1680049087 + ], + [ + 884480.3258980846, + 884998.4065952272, + 887031.0066156432, + 870839.0956463325, + 881479.0864568476 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 904125.7253208077, + "scoreError" : 21504.566696116017, + "scoreConfidence" : [ + 882621.1586246917, + 925630.2920169237 + ], + "scorePercentiles" : { + "0.0" : 865347.3098224119, + "50.0" : 898907.3114466171, + "90.0" : 961065.5024585428, + "95.0" : 965730.129539648, + "99.0" : 967663.1433552676, + "99.9" : 967663.1433552676, + "99.99" : 967663.1433552676, + "99.999" : 967663.1433552676, + "99.9999" : 967663.1433552676, + "100.0" : 967663.1433552676 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 922624.8393949178, + 890353.5288684841, + 884763.6845640689, + 893907.8215866424, + 907069.9935695663 + ], + [ + 954257.7780192348, + 961219.7639698687, + 917407.49402981, + 960962.6614509923, + 967663.1433552676 + ], + [ + 869400.3571492207, + 865347.3098224119, + 899001.6973480968, + 898907.3114466171, + 891893.9521312035 + ], + [ + 889008.6196640513, + 875918.6028300044, + 885998.3560245505, + 871381.4062469949, + 892654.5610199653 + ], + [ + 897899.6913885174, + 900980.6041308618, + 900469.5422066338, + 903206.0741604316, + 900844.3386417823 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c13.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c13.json new file mode 100644 index 00000000..92495a85 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c13.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 742346.4653963329, + "scoreError" : 2452.236781648143, + "scoreConfidence" : [ + 739894.2286146848, + 744798.702177981 + ], + "scorePercentiles" : { + "0.0" : 733066.6336723833, + "50.0" : 743139.864740723, + "90.0" : 746045.1663324056, + "95.0" : 747410.8393121551, + "99.0" : 747555.6537158593, + "99.9" : 747555.6537158593, + "99.99" : 747555.6537158593, + "99.999" : 747555.6537158593, + "99.9999" : 747555.6537158593, + "100.0" : 747555.6537158593 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 742830.724452153, + 744238.2021215524, + 740295.9428545247, + 744163.1961574038, + 744292.8583971221 + ], + [ + 740727.0782985308, + 743139.864740723, + 743290.1714595862, + 747072.9390368456, + 747555.6537158593 + ], + [ + 743178.8533380532, + 745359.9845294458, + 744475.3571663623, + 744520.2329864077, + 744992.2315032528 + ], + [ + 738613.9898815637, + 742360.019720794, + 741755.0738621098, + 743102.775315202, + 744284.8937354432 + ], + [ + 733066.6336723833, + 737673.5766551398, + 738272.3994493126, + 738075.2599303393, + 741323.721928213 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 871282.9996762127, + "scoreError" : 4063.050998507342, + "scoreConfidence" : [ + 867219.9486777054, + 875346.05067472 + ], + "scorePercentiles" : { + "0.0" : 855762.4595071046, + "50.0" : 870602.9674180277, + "90.0" : 879648.3044996923, + "95.0" : 881563.7835865823, + "99.0" : 882326.7964093302, + "99.9" : 882326.7964093302, + "99.99" : 882326.7964093302, + "99.999" : 882326.7964093302, + "99.9999" : 882326.7964093302, + "100.0" : 882326.7964093302 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 870051.6832797043, + 870720.7755968863, + 868408.3001936247, + 869089.0220115857, + 867375.468089989 + ], + [ + 875114.1568664212, + 873323.3182823387, + 882326.7964093302, + 879783.4203335036, + 879558.2272771514 + ], + [ + 869294.156448235, + 869429.448333877, + 872796.1218343398, + 873002.3737378719, + 870213.7258046442 + ], + [ + 866877.6463742214, + 874519.0938989434, + 876619.5813929214, + 871885.9555345584, + 874472.8127627351 + ], + [ + 855762.4595071046, + 863996.1591511555, + 867749.4317449532, + 869101.8896211965, + 870602.9674180277 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 896610.2187982085, + "scoreError" : 7910.755992157205, + "scoreConfidence" : [ + 888699.4628060514, + 904520.9747903657 + ], + "scorePercentiles" : { + "0.0" : 870159.4816377028, + "50.0" : 898779.9300239315, + "90.0" : 912263.2910209373, + "95.0" : 915982.2671963001, + "99.0" : 917495.4043605705, + "99.9" : 917495.4043605705, + "99.99" : 917495.4043605705, + "99.999" : 917495.4043605705, + "99.9999" : 917495.4043605705, + "100.0" : 917495.4043605705 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 917495.4043605705, + 907674.3370099425, + 912137.7424928937, + 899139.1733186794, + 912451.6138130026 + ], + [ + 887573.8285651734, + 878512.1019904607, + 890742.5547967952, + 891991.6389378944, + 894667.7604814052 + ], + [ + 870159.4816377028, + 893457.5492624982, + 880232.2581337101, + 888245.4841507326, + 896784.6736831192 + ], + [ + 898779.9300239315, + 900395.0432736902, + 900738.4215185173, + 900021.22117704, + 898061.8499021006 + ], + [ + 898968.3418861487, + 900157.4918088265, + 895452.2348304024, + 900992.861394569, + 900422.471505406 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c14.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c14.json new file mode 100644 index 00000000..5d62b06c --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c14.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 741720.3880622077, + "scoreError" : 5656.3365728700755, + "scoreConfidence" : [ + 736064.0514893377, + 747376.7246350778 + ], + "scorePercentiles" : { + "0.0" : 726494.3892958472, + "50.0" : 742783.3687929193, + "90.0" : 750830.0237176808, + "95.0" : 751999.5471906201, + "99.0" : 752455.3456025134, + "99.9" : 752455.3456025134, + "99.99" : 752455.3456025134, + "99.999" : 752455.3456025134, + "99.9999" : 752455.3456025134, + "100.0" : 752455.3456025134 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 736842.4974855672, + 737116.3845707633, + 736338.4229432964, + 742211.8751877974, + 745898.7958113091 + ], + [ + 748876.2024010317, + 752455.3456025134, + 750188.77701405, + 750936.0175628692, + 741085.4049953657 + ], + [ + 729776.5728838157, + 727527.5332729319, + 726494.3892958472, + 733311.1567747974, + 738951.1739049281 + ], + [ + 750759.3611542218, + 749789.2350848886, + 749629.4847620459, + 739468.6070144804, + 734568.9914339822 + ], + [ + 744225.9617156674, + 742783.3687929193, + 743692.4707515304, + 745217.9317692773, + 744863.739369296 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 837691.6074906788, + "scoreError" : 26359.881925673533, + "scoreConfidence" : [ + 811331.7255650052, + 864051.4894163524 + ], + "scorePercentiles" : { + "0.0" : 769063.0211513813, + "50.0" : 849340.6747688851, + "90.0" : 873680.4995205293, + "95.0" : 876134.2131493847, + "99.0" : 877002.0082370265, + "99.9" : 877002.0082370265, + "99.99" : 877002.0082370265, + "99.999" : 877002.0082370265, + "99.9999" : 877002.0082370265, + "100.0" : 877002.0082370265 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 861146.6306065329, + 865651.9925672483, + 869560.026713697, + 874109.3579448874, + 877002.0082370265 + ], + [ + 847272.5942054784, + 797663.2293625125, + 790753.8663818801, + 815310.4385396092, + 804572.8596368225 + ], + [ + 785036.4903422548, + 780141.4916762763, + 819251.4702334038, + 827815.1470278733, + 798762.276178865 + ], + [ + 848566.5027432231, + 873394.5939042906, + 849806.3987512541, + 769063.0211513813, + 849340.6747688851 + ], + [ + 871198.412992085, + 868778.2951736931, + 870012.9198487791, + 869530.671517448, + 858548.8167615654 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 898855.5731912679, + "scoreError" : 19680.397802001662, + "scoreConfidence" : [ + 879175.1753892662, + 918535.9709932696 + ], + "scorePercentiles" : { + "0.0" : 854224.2757093238, + "50.0" : 892367.6656560161, + "90.0" : 950166.680673482, + "95.0" : 951944.4496398917, + "99.0" : 952238.5370868054, + "99.9" : 952238.5370868054, + "99.99" : 952238.5370868054, + "99.999" : 952238.5370868054, + "99.9999" : 952238.5370868054, + "100.0" : 952238.5370868054 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 892405.1349201873, + 881618.9580157244, + 876966.6161726591, + 886367.2790667781, + 854224.2757093238 + ], + [ + 883708.492990461, + 893146.7275736415, + 894387.7508070082, + 892428.1322885087, + 893246.7860079941 + ], + [ + 882550.3763160805, + 885689.2824192877, + 892598.1670187453, + 893207.9021484551, + 892367.6656560161 + ], + [ + 883667.1485005528, + 887607.3231566523, + 888473.0137078859, + 888759.4036123761, + 889266.8179456189 + ], + [ + 949438.9707244079, + 952238.5370868054, + 951258.245597093, + 941630.4010571, + 944135.9212823275 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c9.json new file mode 100644 index 00000000..b796e718 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r14-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 622455.2095259986, + "scoreError" : 80094.96554733632, + "scoreConfidence" : [ + 542360.2439786622, + 702550.175073335 + ], + "scorePercentiles" : { + "0.0" : 386994.0375281351, + "50.0" : 674964.2156505521, + "90.0" : 703556.0523086244, + "95.0" : 705124.0550828086, + "99.0" : 705542.1959299576, + "99.9" : 705542.1959299576, + "99.99" : 705542.1959299576, + "99.999" : 705542.1959299576, + "99.9999" : 705542.1959299576, + "100.0" : 705542.1959299576 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 386994.0375281351, + 422762.6163480505, + 411974.368912823, + 532232.7000322388, + 693478.8285395933 + ], + [ + 674964.2156505521, + 691449.3736267624, + 667898.0793665947, + 705542.1959299576, + 701388.1197516202 + ], + [ + 673537.713108351, + 672975.6554894969, + 680408.2632383951, + 688219.7631827415, + 678489.5453660358 + ], + [ + 614269.5048420614, + 539783.484378047, + 593677.166544086, + 606063.286292671, + 414746.8946079818 + ], + [ + 702623.7842024869, + 703161.1584436221, + 704148.3931061277, + 698364.4643487354, + 702226.6253127992 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 786722.1598002705, + "scoreError" : 27333.86685238072, + "scoreConfidence" : [ + 759388.2929478898, + 814056.0266526511 + ], + "scorePercentiles" : { + "0.0" : 643636.3777163957, + "50.0" : 799649.765436449, + "90.0" : 813457.6259034635, + "95.0" : 815522.0376180387, + "99.0" : 815867.9198259511, + "99.9" : 815867.9198259511, + "99.99" : 815867.9198259511, + "99.999" : 815867.9198259511, + "99.9999" : 815867.9198259511, + "100.0" : 815867.9198259511 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 811268.2148943441, + 805579.5387176585, + 801586.3635235892, + 806577.0924136396, + 643636.3777163957 + ], + [ + 799649.765436449, + 792598.5142865542, + 801258.893009247, + 785918.7933497351, + 792784.5778987895 + ], + [ + 771310.8954469729, + 767646.6752362469, + 795609.362079548, + 806514.841463078, + 793290.651226047 + ], + [ + 753445.9282801439, + 728425.3651273948, + 800237.6457052435, + 789230.3158184898, + 764061.7129122238 + ], + [ + 812619.3904171658, + 814714.9791329099, + 806578.9645760445, + 815867.9198259511, + 807641.2165129004 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+7", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 775170.8784952697, + "scoreError" : 88194.66427308097, + "scoreConfidence" : [ + 686976.2142221887, + 863365.5427683507 + ], + "scorePercentiles" : { + "0.0" : 416250.99323728547, + "50.0" : 822995.5643397382, + "90.0" : 859522.6470433022, + "95.0" : 860369.9347530513, + "99.0" : 860399.7596804729, + "99.9" : 860399.7596804729, + "99.99" : 860399.7596804729, + "99.999" : 860399.7596804729, + "99.9999" : 860399.7596804729, + "100.0" : 860399.7596804729 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 822995.5643397382, + 824872.2578915472, + 813305.5202247071, + 800728.6048752313, + 805575.0543634653 + ], + [ + 789176.8582054181, + 545661.6114992215, + 530921.6447400628, + 768842.2789299411, + 626686.6080286963 + ], + [ + 416250.99323728547, + 724879.9668657475, + 827365.0262845908, + 811447.2203913539, + 785843.9763158687 + ], + [ + 836338.2386970791, + 834490.3086192001, + 839257.6914838523, + 840163.0213498193, + 842327.5075475384 + ], + [ + 856050.823674569, + 856386.898978921, + 860300.3432557343, + 860399.7596804729, + 859004.1829016807 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r9-c9.json b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r9-c9.json new file mode 100644 index 00000000..3da60175 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/open/serializer/open-r9-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 764018.4910422926, + "scoreError" : 8758.807095779364, + "scoreConfidence" : [ + 755259.6839465132, + 772777.2981380719 + ], + "scorePercentiles" : { + "0.0" : 748751.5226533635, + "50.0" : 760187.7345382428, + "90.0" : 780356.636738786, + "95.0" : 781332.3295983936, + "99.0" : 781734.748781807, + "99.9" : 781734.748781807, + "99.99" : 781734.748781807, + "99.999" : 781734.748781807, + "99.9999" : 781734.748781807, + "100.0" : 781734.748781807 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 761145.0735565677, + 760875.7104808113, + 759772.2103378788, + 758922.0894617918, + 760187.7345382428 + ], + [ + 755777.2953472739, + 756032.6308292429, + 756544.1584154423, + 752413.5789252368, + 755211.3401304228 + ], + [ + 773127.677835873, + 778991.5173757005, + 780393.3515037623, + 780332.1602288018, + 781734.748781807 + ], + [ + 750363.7198113402, + 751096.409069822, + 751404.0179413912, + 748751.5226533635, + 749079.5214511543 + ], + [ + 774281.465749103, + 776317.2214621765, + 775455.9679455599, + 776111.423163623, + 776139.7290609203 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 945134.7206241213, + "scoreError" : 3614.198887664714, + "scoreConfidence" : [ + 941520.5217364565, + 948748.919511786 + ], + "scorePercentiles" : { + "0.0" : 938844.3040526492, + "50.0" : 945164.1232772873, + "90.0" : 952439.7127570985, + "95.0" : 952608.8543420136, + "99.0" : 952636.4856835615, + "99.9" : 952636.4856835615, + "99.99" : 952636.4856835615, + "99.999" : 952636.4856835615, + "99.9999" : 952636.4856835615, + "100.0" : 952636.4856835615 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 947385.9853252477, + 947798.7287760563, + 945164.1232772873, + 949704.0914461813, + 948680.8185868122 + ], + [ + 948011.4428953261, + 945961.3025661114, + 946502.068898001, + 944708.6206492444, + 944225.8219051814 + ], + [ + 939903.1206449481, + 940673.547581694, + 939832.3809288384, + 940775.6046913095, + 940012.8255679182 + ], + [ + 939642.5169648175, + 938844.3040526492, + 940497.4723562112, + 941199.2985823526, + 938995.4183120425 + ], + [ + 952636.4856835615, + 952544.381211735, + 952369.9337873409, + 951560.3255817023, + 950737.3953304632 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.4-open/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.4", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.4+11", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 822166.2882896631, + "scoreError" : 6593.935197369666, + "scoreConfidence" : [ + 815572.3530922935, + 828760.2234870328 + ], + "scorePercentiles" : { + "0.0" : 804482.0435576828, + "50.0" : 825880.4180517128, + "90.0" : 828001.4119341951, + "95.0" : 828116.035080782, + "99.0" : 828153.5073971589, + "99.9" : 828153.5073971589, + "99.99" : 828153.5073971589, + "99.999" : 828153.5073971589, + "99.9999" : 828153.5073971589, + "100.0" : 828153.5073971589 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 826174.9726361386, + 828028.5996759026, + 826923.6474600246, + 827490.99528878, + 828153.5073971589 + ], + [ + 824358.8792864975, + 825982.1819092263, + 824775.5503820212, + 825562.33594113, + 826935.4766360237 + ], + [ + 805842.7732767111, + 805156.3406550031, + 805292.512817328, + 804504.8594057283, + 804482.0435576828 + ], + [ + 825045.1919607075, + 825880.4180517128, + 825808.9609817431, + 825081.8172635055, + 825107.8863414439 + ], + [ + 827451.8512963603, + 826571.5941485446, + 827973.5186594563, + 827983.2867730567, + 827588.0054396916 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c10.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c10.json new file mode 100644 index 00000000..559db755 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c10.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 370236.1086158989, + "scoreError" : 16239.10153645555, + "scoreConfidence" : [ + 353997.0070794433, + 386475.21015235444 + ], + "scorePercentiles" : { + "0.0" : 328326.2560640311, + "50.0" : 376489.11163810384, + "90.0" : 403176.1479836017, + "95.0" : 412458.9134356456, + "99.0" : 412518.06631140347, + "99.9" : 412518.06631140347, + "99.99" : 412518.06631140347, + "99.999" : 412518.06631140347, + "99.9999" : 412518.06631140347, + "100.0" : 412518.06631140347 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 379868.1154343153, + 385479.24149295693, + 370849.3830679491, + 362261.34079772874, + 377130.89371763024 + ], + [ + 343961.162460945, + 357086.90736996074, + 360619.67828177457, + 356211.9444679676, + 346115.14472622494 + ], + [ + 383322.72523143364, + 381912.3304954075, + 358119.42957897147, + 350651.3796448369, + 379993.73034213285 + ], + [ + 377881.05218220066, + 329195.59244917554, + 328326.2560640311, + 382158.6815959958, + 383123.8328074598 + ], + [ + 376489.11163810384, + 363226.17191323714, + 397079.6532667515, + 412320.8900588772, + 412518.06631140347 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 428676.9067145815, + "scoreError" : 12156.58904775974, + "scoreConfidence" : [ + 416520.31766682176, + 440833.4957623412 + ], + "scorePercentiles" : { + "0.0" : 410767.7991243307, + "50.0" : 418976.60249722126, + "90.0" : 451552.9988780825, + "95.0" : 452421.22713475616, + "99.0" : 452517.7900917178, + "99.9" : 452517.7900917178, + "99.99" : 452517.7900917178, + "99.999" : 452517.7900917178, + "99.9999" : 452517.7900917178, + "100.0" : 452517.7900917178 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 412376.71210328105, + 410767.7991243307, + 418181.0775318832, + 416533.6641838142, + 412501.599558109 + ], + [ + 445076.9895536371, + 446429.75768698246, + 445604.70307234814, + 445521.86126526387, + 445833.8351084908 + ], + [ + 445903.62221822434, + 447620.81498074223, + 451124.38908446254, + 452195.9135685124, + 452517.7900917178 + ], + [ + 412067.8587302807, + 413211.15450069297, + 414976.39231646253, + 418976.60249722126, + 418898.1942451804 + ], + [ + 418540.29790155246, + 419888.8199702118, + 421020.31743805646, + 417924.44916757103, + 413228.051965507 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 76807.47237606962, + "scoreError" : 5859.980257924612, + "scoreConfidence" : [ + 70947.492118145, + 82667.45263399424 + ], + "scorePercentiles" : { + "0.0" : 46537.762323326286, + "50.0" : 79571.80473124555, + "90.0" : 82595.46472439713, + "95.0" : 82662.04886237266, + "99.0" : 82680.8122618902, + "99.9" : 82680.8122618902, + "99.99" : 82680.8122618902, + "99.999" : 82680.8122618902, + "99.9999" : 82680.8122618902, + "100.0" : 82680.8122618902 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 80853.18802769214, + 80734.56926260874, + 80770.7924434142, + 80778.86949682407, + 80908.98702670776 + ], + [ + 78391.18673113205, + 79571.80473124555, + 80988.16594976648, + 80954.90393463412, + 78046.33268825457 + ], + [ + 80750.4689777375, + 82417.28281097359, + 82618.26759683173, + 82580.26280944071, + 82680.8122618902 + ], + [ + 77700.12178240015, + 77973.28223527872, + 72495.77502075623, + 46537.762323326286, + 73076.04517723317 + ], + [ + 78656.6836874736, + 68318.1067475298, + 75870.75900592709, + 71430.14274315072, + 65082.23592951174 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 24783.208155495526, + "scoreError" : 104.11369857042003, + "scoreConfidence" : [ + 24679.094456925104, + 24887.321854065947 + ], + "scorePercentiles" : { + "0.0" : 24415.63934787759, + "50.0" : 24744.53622312814, + "90.0" : 24954.09334078845, + "95.0" : 24965.92770069962, + "99.0" : 24967.156853343553, + "99.9" : 24967.156853343553, + "99.99" : 24967.156853343553, + "99.999" : 24967.156853343553, + "99.9999" : 24967.156853343553, + "100.0" : 24967.156853343553 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 24415.63934787759, + 24682.308555576095, + 24744.381788095023, + 24744.53622312814, + 24838.61948913468 + ], + [ + 24943.597219975385, + 24926.485470537315, + 24963.05967786378, + 24939.618709134993, + 24967.156853343553 + ], + [ + 24701.78892462019, + 24732.57246266684, + 24750.920248444072, + 24730.056450833607, + 24657.632988349353 + ], + [ + 24858.430824709503, + 24891.514442923963, + 24891.99856819708, + 24948.115782738234, + 24918.833988104514 + ], + [ + 24673.756120368038, + 24665.452330202465, + 24619.835946947656, + 24705.043338285992, + 24668.848135329863 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 195920.75276034515, + "scoreError" : 3188.9573949532537, + "scoreConfidence" : [ + 192731.79536539188, + 199109.7101552984 + ], + "scorePercentiles" : { + "0.0" : 190079.56733633316, + "50.0" : 195394.1090647298, + "90.0" : 202825.82811016572, + "95.0" : 202860.58710039832, + "99.0" : 202869.9240541361, + "99.9" : 202869.9240541361, + "99.99" : 202869.9240541361, + "99.999" : 202869.9240541361, + "99.9999" : 202869.9240541361, + "100.0" : 202869.9240541361 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 202266.10373035193, + 202838.80087501023, + 202869.9240541361, + 202728.1705494099, + 202817.17960026936 + ], + [ + 195561.3240383743, + 194064.52820635514, + 196325.75714781357, + 194221.1509662109, + 195394.1090647298 + ], + [ + 192953.30292829583, + 192832.59234935843, + 190079.56733633316, + 195811.60337194765, + 193482.75705544974 + ], + [ + 195361.23948355054, + 197565.06307002006, + 196282.24052314504, + 199675.6266435029, + 198878.0418144084 + ], + [ + 190692.87536331042, + 192002.4158984879, + 190360.1290223735, + 191132.53509103128, + 191821.78082475258 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 278566.619627276, + "scoreError" : 28613.266583471042, + "scoreConfidence" : [ + 249953.353043805, + 307179.88621074706 + ], + "scorePercentiles" : { + "0.0" : 241439.87282980038, + "50.0" : 251295.59307046686, + "90.0" : 327039.72597178706, + "95.0" : 327064.9728994015, + "99.0" : 327070.79835666064, + "99.9" : 327070.79835666064, + "99.99" : 327070.79835666064, + "99.999" : 327070.79835666064, + "99.9999" : 327070.79835666064, + "100.0" : 327070.79835666064 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 321466.8106600517, + 321320.9311117472, + 321031.14702121133, + 321468.4113786216, + 321484.0510436009 + ], + [ + 242214.68263465434, + 242157.5567773715, + 241439.87282980038, + 242342.0674020578, + 242760.8899342965 + ], + [ + 250755.33805229585, + 250998.20885012115, + 251304.42917900748, + 251172.79513348886, + 251063.76686470606 + ], + [ + 251295.59307046686, + 251125.0673311956, + 251536.69011336117, + 251227.09485774924, + 251021.0162268902 + ], + [ + 327051.38016579684, + 327070.79835666064, + 327031.95650911384, + 326835.1397234874, + 326989.79545414523 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 108944.73218783987, + "scoreError" : 1242.413898202352, + "scoreConfidence" : [ + 107702.31828963751, + 110187.14608604222 + ], + "scorePercentiles" : { + "0.0" : 104455.96471129924, + "50.0" : 109148.77984257764, + "90.0" : 110687.65381632592, + "95.0" : 110775.81147900195, + "99.0" : 110785.05745072722, + "99.9" : 110785.05745072722, + "99.99" : 110785.05745072722, + "99.999" : 110785.05745072722, + "99.9999" : 110785.05745072722, + "100.0" : 110785.05745072722 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 110236.90315783105, + 110387.31472556782, + 110517.77002772351, + 110468.9237579867, + 110303.70893009879 + ], + [ + 107591.11607196376, + 107193.99791374551, + 107697.13655019256, + 107614.4838343433, + 107604.86368813014 + ], + [ + 110785.05745072722, + 110609.25315048336, + 110754.2375449763, + 110548.16054875216, + 110643.26466389233 + ], + [ + 109148.77984257764, + 109028.57180502247, + 109109.51197004085, + 109165.196678034, + 109220.72388804499 + ], + [ + 108781.04699791444, + 108009.70148980513, + 107531.39190243422, + 106211.22339440891, + 104455.96471129924 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c11.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c11.json new file mode 100644 index 00000000..8092df57 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c11.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 385996.9603770873, + "scoreError" : 6285.907955557669, + "scoreConfidence" : [ + 379711.0524215296, + 392282.868332645 + ], + "scorePercentiles" : { + "0.0" : 374263.8917843768, + "50.0" : 384630.24243926705, + "90.0" : 398878.8524457006, + "95.0" : 399324.3622263064, + "99.0" : 399447.901267069, + "99.9" : 399447.901267069, + "99.99" : 399447.901267069, + "99.999" : 399447.901267069, + "99.9999" : 399447.901267069, + "100.0" : 399447.901267069 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 396227.15146010445, + 399447.901267069, + 399036.10446452704, + 398774.017766483, + 398420.0161749204 + ], + [ + 377203.3130416942, + 378379.8624169101, + 378240.1536474226, + 378138.4715940109, + 374263.8917843768 + ], + [ + 385002.56266919064, + 385084.9971633916, + 384630.24243926705, + 384393.3920992349, + 383762.04796515644 + ], + [ + 378616.1638161911, + 378834.13948736613, + 375834.20607199194, + 377585.14251467644, + 378524.5605760456 + ], + [ + 391420.3890842723, + 391969.047529023, + 391737.28267795104, + 392243.54808348743, + 392155.4036324175 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 426222.1068995041, + "scoreError" : 5534.303086906618, + "scoreConfidence" : [ + 420687.80381259747, + 431756.4099864107 + ], + "scorePercentiles" : { + "0.0" : 419163.99612093257, + "50.0" : 422473.62416286167, + "90.0" : 440384.6584106122, + "95.0" : 440665.34037821076, + "99.0" : 440687.1296177679, + "99.9" : 440687.1296177679, + "99.99" : 440687.1296177679, + "99.999" : 440687.1296177679, + "99.9999" : 440687.1296177679, + "100.0" : 440687.1296177679 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 422766.878459625, + 422532.73623591027, + 422342.1489239243, + 421850.70288847666, + 421942.10356892657 + ], + [ + 422473.62416286167, + 422591.48554939916, + 422306.3246476936, + 421348.78133580816, + 422391.19794464833 + ], + [ + 420916.0814817317, + 421242.1918500573, + 421444.8783517462, + 421443.2520152562, + 420833.7406828012 + ], + [ + 427029.8129435409, + 426860.7118404522, + 426346.3673805814, + 426943.6009079782, + 419163.99612093257 + ], + [ + 440687.1296177679, + 439452.743770014, + 440614.49881924415, + 439796.2515166988, + 440231.43147152424 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 84150.77416142695, + "scoreError" : 1434.8008603559124, + "scoreConfidence" : [ + 82715.97330107103, + 85585.57502178286 + ], + "scorePercentiles" : { + "0.0" : 82093.67457208606, + "50.0" : 83414.93869821519, + "90.0" : 87514.69138443626, + "95.0" : 87693.82551559518, + "99.0" : 87763.13727830006, + "99.9" : 87763.13727830006, + "99.99" : 87763.13727830006, + "99.999" : 87763.13727830006, + "99.9999" : 87763.13727830006, + "100.0" : 87763.13727830006 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 83343.98793861821, + 83294.73837067584, + 83426.88885155118, + 83414.93869821519, + 83451.32854657911 + ], + [ + 82376.10409211773, + 82243.58494315052, + 82418.42694181988, + 82093.67457208606, + 82423.07520419634 + ], + [ + 82551.03543286984, + 82612.93797031518, + 82414.7390654872, + 82519.83963257459, + 82621.87892592432 + ], + [ + 85760.08963208592, + 85617.62484568864, + 84620.29947659864, + 85290.05220087548, + 85450.69379552572 + ], + [ + 87503.08692787125, + 87532.09806928378, + 87763.13727830006, + 86929.32021998322, + 86095.77240327958 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 25069.31928945088, + "scoreError" : 237.6947672103641, + "scoreConfidence" : [ + 24831.624522240516, + 25307.014056661243 + ], + "scorePercentiles" : { + "0.0" : 24545.528723095274, + "50.0" : 25134.171583491534, + "90.0" : 25504.76437958548, + "95.0" : 25525.020600023247, + "99.0" : 25528.73365775669, + "99.9" : 25528.73365775669, + "99.99" : 25528.73365775669, + "99.999" : 25528.73365775669, + "99.9999" : 25528.73365775669, + "100.0" : 25528.73365775669 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 25497.03610021232, + 25528.73365775669, + 25493.365531172363, + 25516.356798645214, + 25494.77497196727 + ], + [ + 25136.25464391105, + 25125.593404736006, + 25090.149799077128, + 25134.171583491534, + 25193.222289137044 + ], + [ + 24913.301326164798, + 24929.563863003958, + 24949.986440300992, + 24853.002827458444, + 24963.77798773788 + ], + [ + 25215.074458946092, + 25235.603555447644, + 25211.984313568086, + 25151.7636792651, + 25220.133938986535 + ], + [ + 24545.528723095274, + 24585.72691991522, + 24577.059763684974, + 24601.470647059134, + 24569.345011531113 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 200004.69249037706, + "scoreError" : 3045.647303881263, + "scoreConfidence" : [ + 196959.0451864958, + 203050.33979425833 + ], + "scorePercentiles" : { + "0.0" : 189607.02071515823, + "50.0" : 201410.71950771858, + "90.0" : 202750.18255020096, + "95.0" : 203286.777132729, + "99.0" : 203494.95378805537, + "99.9" : 203494.95378805537, + "99.99" : 203494.95378805537, + "99.999" : 203494.95378805537, + "99.9999" : 203494.95378805537, + "100.0" : 203494.95378805537 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 201306.49475710432, + 201146.25625440484, + 201875.67365201368, + 201095.0823733734, + 201177.26957479818 + ], + [ + 202801.0316036342, + 202686.56958747274, + 202451.19933152554, + 202186.76865118934, + 202097.9508442135 + ], + [ + 202461.62462475488, + 202222.3605500502, + 202716.28318124544, + 203494.95378805537, + 202621.49223161762 + ], + [ + 201067.91547379372, + 201410.71950771858, + 201117.02363694835, + 201231.85917103337, + 201492.34138834683 + ], + [ + 194813.45544038506, + 193160.50247581708, + 192148.7879920329, + 191726.67545273903, + 189607.02071515823 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 250764.12470927223, + "scoreError" : 6137.318622206559, + "scoreConfidence" : [ + 244626.80608706566, + 256901.4433314788 + ], + "scorePercentiles" : { + "0.0" : 230486.73048924244, + "50.0" : 251938.7647316529, + "90.0" : 258359.58665099202, + "95.0" : 258607.98459370172, + "99.0" : 258640.94888398575, + "99.9" : 258640.94888398575, + "99.99" : 258640.94888398575, + "99.999" : 258640.94888398575, + "99.9999" : 258640.94888398575, + "100.0" : 258640.94888398575 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 256224.2458489907, + 258245.26580740514, + 258531.06791637233, + 258243.0671772454, + 258640.94888398575 + ], + [ + 257340.14846402913, + 257396.67102027984, + 256713.11315202655, + 257544.5051175131, + 257295.11082479684 + ], + [ + 240740.97441518892, + 241187.44630722678, + 238620.7587869388, + 232234.16934445614, + 230486.73048924244 + ], + [ + 251064.06858657123, + 248513.0493140293, + 249268.43476769837, + 250888.0850707226, + 247616.29440950238 + ], + [ + 251251.13703115785, + 251938.7647316529, + 250874.8012220632, + 253955.09741700575, + 254289.16162570455 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 107489.24322821239, + "scoreError" : 1687.1140843481965, + "scoreConfidence" : [ + 105802.1291438642, + 109176.35731256059 + ], + "scorePercentiles" : { + "0.0" : 102820.51050420897, + "50.0" : 107719.89187136124, + "90.0" : 109884.644625352, + "95.0" : 110887.40360714751, + "99.0" : 111270.61885983327, + "99.9" : 111270.61885983327, + "99.99" : 111270.61885983327, + "99.999" : 111270.61885983327, + "99.9999" : 111270.61885983327, + "100.0" : 111270.61885983327 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 104853.4784803685, + 104803.38743860356, + 105376.94376193854, + 104812.49769462984, + 104604.31037482437 + ], + [ + 102820.51050420897, + 107002.09870337092, + 107719.89187136124, + 109993.23468421411, + 111270.61885983327 + ], + [ + 109369.48183729574, + 109198.71434007189, + 109344.08180991381, + 109427.13948015936, + 109241.34959050389 + ], + [ + 106179.05238154427, + 106124.04187073372, + 106290.46989018878, + 106046.00029211203, + 105994.084054084 + ], + [ + 108935.15063899697, + 108449.60187989558, + 109812.25125277725, + 109782.13325420697, + 109780.55575947142 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c8.json new file mode 100644 index 00000000..619ea687 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c8.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 380075.7059524852, + "scoreError" : 8730.176099925302, + "scoreConfidence" : [ + 371345.5298525599, + 388805.8820524105 + ], + "scorePercentiles" : { + "0.0" : 357789.11766999034, + "50.0" : 383323.57967983326, + "90.0" : 396968.8228906436, + "95.0" : 397271.87334182777, + "99.0" : 397338.79580511653, + "99.9" : 397338.79580511653, + "99.99" : 397338.79580511653, + "99.999" : 397338.79580511653, + "99.9999" : 397338.79580511653, + "100.0" : 397338.79580511653 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 357789.11766999034, + 365682.95752326533, + 367061.145177896, + 366407.2851231288, + 372424.5026803042 + ], + [ + 383088.8248996083, + 385825.76598807477, + 372544.8258898458, + 385956.36100948136, + 386908.3873021212 + ], + [ + 383880.0109326121, + 383323.57967983326, + 384018.67402409745, + 386001.8121147282, + 386170.18316076807 + ], + [ + 397338.79580511653, + 394560.302354295, + 397115.7209274874, + 396870.89086608106, + 393473.8120745578 + ], + [ + 374278.58666712366, + 374482.2728085617, + 372206.96699366986, + 375374.0145958061, + 359107.85254367715 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 372127.08693342423, + "scoreError" : 57508.19760785017, + "scoreConfidence" : [ + 314618.88932557404, + 429635.2845412744 + ], + "scorePercentiles" : { + "0.0" : 178213.4250525786, + "50.0" : 413149.9293052933, + "90.0" : 429385.67085735296, + "95.0" : 431049.00186809665, + "99.0" : 431416.88840427814, + "99.9" : 431416.88840427814, + "99.99" : 431416.88840427814, + "99.999" : 431416.88840427814, + "99.9999" : 431416.88840427814, + "100.0" : 431416.88840427814 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 413149.9293052933, + 426277.86586144706, + 426672.02988992556, + 430190.59995033976, + 428849.05146202847 + ], + [ + 406245.47967394476, + 409534.72887364536, + 418958.378886384, + 416250.10766279505, + 418639.67690458085 + ], + [ + 410536.97117784485, + 361642.8930996037, + 293420.17468602874, + 248519.04779712818, + 230071.80016208475 + ], + [ + 178213.4250525786, + 232308.54776464967, + 363656.35157823266, + 309551.11958549905, + 358068.76693821565 + ], + [ + 427050.18880279484, + 418408.6567448442, + 426559.5894471263, + 418984.9036243122, + 431416.88840427814 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 76344.71360280704, + "scoreError" : 7228.022577230104, + "scoreConfidence" : [ + 69116.69102557693, + 83572.73618003714 + ], + "scorePercentiles" : { + "0.0" : 43597.49260879174, + "50.0" : 78657.55684608224, + "90.0" : 84732.19868045647, + "95.0" : 85509.29022985073, + "99.0" : 85627.88750387597, + "99.9" : 85627.88750387597, + "99.99" : 85627.88750387597, + "99.999" : 85627.88750387597, + "99.9999" : 85627.88750387597, + "100.0" : 85627.88750387597 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 80669.2797541612, + 80437.52614452361, + 51503.0704575154, + 43597.49260879174, + 80013.07649980295 + ], + [ + 77744.52344352368, + 77852.17540589845, + 78852.06194505101, + 76030.59386453712, + 78984.1148444281 + ], + [ + 64671.41646116058, + 75795.03268719488, + 78657.55684608224, + 77662.29774026264, + 80458.95350577109 + ], + [ + 76398.5438117552, + 74512.46826556679, + 77310.5897875827, + 78974.35476008148, + 78650.5183872047 + ], + [ + 85232.56325712513, + 85627.88750387597, + 84398.62229601068, + 82890.75144485745, + 81692.368347411 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 22565.405907649376, + "scoreError" : 1638.001870839596, + "scoreConfidence" : [ + 20927.40403680978, + 24203.40777848897 + ], + "scorePercentiles" : { + "0.0" : 16213.844608168538, + "50.0" : 23367.3341502529, + "90.0" : 24506.102305237604, + "95.0" : 24562.952966713434, + "99.0" : 24578.69654679371, + "99.9" : 24578.69654679371, + "99.99" : 24578.69654679371, + "99.999" : 24578.69654679371, + "99.9999" : 24578.69654679371, + "100.0" : 24578.69654679371 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 21794.056394984214, + 20048.2284459684, + 20886.71394228057, + 16213.844608168538, + 18016.012130108633 + ], + [ + 21066.88502245766, + 19352.459702105745, + 23668.581969437473, + 24090.03616879048, + 24097.453843492473 + ], + [ + 23176.31322220282, + 23664.171879592384, + 23604.646322378096, + 22418.22203113094, + 22452.729594042143 + ], + [ + 23367.3341502529, + 24578.69654679371, + 24526.217946526114, + 24492.691877711928, + 24267.220680130726 + ], + [ + 23957.511586729604, + 22735.57339651939, + 23337.13869399662, + 24232.62033268611, + 24089.787202746753 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 172068.40408810668, + "scoreError" : 11699.8769959637, + "scoreConfidence" : [ + 160368.52709214296, + 183768.2810840704 + ], + "scorePercentiles" : { + "0.0" : 142882.37225243286, + "50.0" : 172761.30217070365, + "90.0" : 196298.10913892955, + "95.0" : 198466.2006830669, + "99.0" : 199374.02605512214, + "99.9" : 199374.02605512214, + "99.99" : 199374.02605512214, + "99.999" : 199374.02605512214, + "99.9999" : 199374.02605512214, + "100.0" : 199374.02605512214 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 170728.2191829254, + 196264.8875771461, + 179681.45358262822, + 157015.18413584758, + 196347.9414816047 + ], + [ + 142882.37225243286, + 160034.37247849032, + 172761.30217070365, + 175280.98347651164, + 168720.0490405962 + ], + [ + 175510.00382842592, + 190171.9936588818, + 199374.02605512214, + 177986.21318113332, + 160910.2516231225 + ], + [ + 161007.31462130573, + 158189.75704648066, + 158875.33501580302, + 155860.5210237757, + 149975.9980746801 + ], + [ + 180366.092264833, + 177098.91312930052, + 190392.47429961438, + 188273.11277774288, + 158001.33022355818 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 234952.07903032878, + "scoreError" : 11323.041490270325, + "scoreConfidence" : [ + 223629.03754005846, + 246275.1205205991 + ], + "scorePercentiles" : { + "0.0" : 196411.33300507074, + "50.0" : 233070.67403001833, + "90.0" : 255479.944741858, + "95.0" : 257180.06880852688, + "99.0" : 257792.43763330075, + "99.9" : 257792.43763330075, + "99.99" : 257792.43763330075, + "99.999" : 257792.43763330075, + "99.9999" : 257792.43763330075, + "100.0" : 257792.43763330075 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 233070.67403001833, + 252103.6808408612, + 246237.05621650806, + 230458.63860318804, + 227740.85531015848 + ], + [ + 211713.42111379234, + 235200.36599025168, + 230531.80226060678, + 213933.91357929772, + 242937.0403229581 + ], + [ + 231438.53615518194, + 250219.9570178262, + 219840.982199368, + 196411.33300507074, + 232176.74368932637 + ], + [ + 237733.73622931095, + 243654.5016344009, + 232633.06953349157, + 221725.27424138229, + 227929.39555603126 + ], + [ + 235813.29640894936, + 251454.95354471076, + 257792.43763330075, + 255751.20821738784, + 255299.1024248381 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 104349.87060711674, + "scoreError" : 731.7460490972551, + "scoreConfidence" : [ + 103618.12455801948, + 105081.616656214 + ], + "scorePercentiles" : { + "0.0" : 101440.0808664943, + "50.0" : 104286.78115902025, + "90.0" : 105807.02662944217, + "95.0" : 106003.14223083647, + "99.0" : 106060.7487962113, + "99.9" : 106060.7487962113, + "99.99" : 106060.7487962113, + "99.999" : 106060.7487962113, + "99.9999" : 106060.7487962113, + "100.0" : 106060.7487962113 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 103745.80007884081, + 103639.9946737647, + 101440.0808664943, + 104286.78115902025, + 104074.8132559849 + ], + [ + 104639.96478953154, + 105143.49512971479, + 103535.46817871046, + 104154.68343361252, + 103410.74433712686 + ], + [ + 105765.8931079846, + 106060.7487962113, + 105231.71152442138, + 105436.20724217551, + 105868.72691162853 + ], + [ + 104151.31917781038, + 104204.62356792386, + 103965.50057849484, + 103269.00742241215, + 104867.63797276297 + ], + [ + 104601.57905707479, + 104585.39747980131, + 104289.69672456999, + 104482.89194305376, + 103893.99776879203 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c9.json new file mode 100644 index 00000000..b1f3403d --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r11-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 381753.4490027763, + "scoreError" : 7593.327444845517, + "scoreConfidence" : [ + 374160.1215579308, + 389346.7764476218 + ], + "scorePercentiles" : { + "0.0" : 357733.53868788347, + "50.0" : 380944.4748552899, + "90.0" : 397782.69634671736, + "95.0" : 403546.0093231949, + "99.0" : 405546.50444212405, + "99.9" : 405546.50444212405, + "99.99" : 405546.50444212405, + "99.999" : 405546.50444212405, + "99.9999" : 405546.50444212405, + "100.0" : 405546.50444212405 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 398878.187379027, + 397052.36899184424, + 378378.3831006707, + 395785.00821282883, + 405546.50444212405 + ], + [ + 386032.18906136026, + 384493.054485295, + 386832.53618450294, + 386108.6257161964, + 385195.17637364473 + ], + [ + 374209.42451471643, + 376356.69608211215, + 357733.53868788347, + 372740.70614158607, + 380135.50024377037 + ], + [ + 380944.4748552899, + 372075.56725428405, + 381016.8569778717, + 381034.02886866615, + 380230.7872785239 + ], + [ + 374529.4617362605, + 369645.4795611612, + 382850.26186008385, + 380201.91333431157, + 375829.4937253908 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 393270.6268426569, + "scoreError" : 24338.08200287513, + "scoreConfidence" : [ + 368932.54483978177, + 417608.708845532 + ], + "scorePercentiles" : { + "0.0" : 296107.67818472954, + "50.0" : 407246.19482970034, + "90.0" : 419695.26706779783, + "95.0" : 421801.41732153116, + "99.0" : 422195.8229440959, + "99.9" : 422195.8229440959, + "99.99" : 422195.8229440959, + "99.999" : 422195.8229440959, + "99.9999" : 422195.8229440959, + "100.0" : 422195.8229440959 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 407470.3548737067, + 409786.5566370932, + 407198.27452583285, + 322736.20720558777, + 356023.53753064567 + ], + [ + 413742.43707606284, + 405871.15473393834, + 416758.39538092446, + 412013.5260097146, + 395252.07778246637 + ], + [ + 378245.1601167898, + 296107.67818472954, + 378520.95013205963, + 406035.6258776813, + 422195.8229440959 + ], + [ + 341313.24762706837, + 372536.2742453078, + 411469.72964750836, + 418904.6867559651, + 420881.13753554685 + ], + [ + 408815.59335861617, + 408653.85218471446, + 405283.01867066335, + 407246.19482970034, + 408704.1772000019 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 83425.13615003186, + "scoreError" : 2386.8254947811915, + "scoreConfidence" : [ + 81038.31065525067, + 85811.96164481305 + ], + "scorePercentiles" : { + "0.0" : 74109.67649920101, + "50.0" : 85065.7696233706, + "90.0" : 85964.49062151209, + "95.0" : 86137.45560149883, + "99.0" : 86206.09096485293, + "99.9" : 86206.09096485293, + "99.99" : 86206.09096485293, + "99.999" : 86206.09096485293, + "99.9999" : 86206.09096485293, + "100.0" : 86206.09096485293 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 85023.06842313502, + 85078.20717451467, + 85226.40565190207, + 85065.7696233706, + 85165.48139545103 + ], + [ + 85729.19831706677, + 85766.75875392456, + 85622.26889837802, + 85449.07439019237, + 78741.90567758643 + ], + [ + 79434.65345244533, + 80010.95934805079, + 79383.73974836632, + 79504.91056377828, + 81198.43011471965 + ], + [ + 84858.83441736313, + 85955.9467556273, + 83856.61997447192, + 86206.09096485293, + 85366.88810213435 + ], + [ + 85828.14322087103, + 85977.30642033927, + 84998.1701799329, + 74109.67649920101, + 82069.89568312101 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 24330.926586483383, + "scoreError" : 382.2663578604339, + "scoreConfidence" : [ + 23948.66022862295, + 24713.192944343817 + ], + "scorePercentiles" : { + "0.0" : 23388.703811920284, + "50.0" : 24241.8408021871, + "90.0" : 25009.390489619298, + "95.0" : 25106.547237182673, + "99.0" : 25137.162500694125, + "99.9" : 25137.162500694125, + "99.99" : 25137.162500694125, + "99.999" : 25137.162500694125, + "99.9999" : 25137.162500694125, + "100.0" : 25137.162500694125 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 23952.56010638004, + 23388.703811920284, + 24201.4691466983, + 23925.016720396085, + 23800.32719780249 + ], + [ + 24070.428591596312, + 24406.64751366003, + 24637.07037260955, + 25137.162500694125, + 23863.914957676447 + ], + [ + 24071.215366029755, + 24216.73575599036, + 24498.507732717346, + 24241.8408021871, + 23434.950929180144 + ], + [ + 24316.97204702988, + 23666.9535040782, + 24635.60733506638, + 24850.21713067658, + 24188.94864917467 + ], + [ + 25035.111622322616, + 24972.77833597863, + 24781.53471012787, + 24986.246754274223, + 24992.243067817086 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 188598.10225603796, + "scoreError" : 4785.0647716382855, + "scoreConfidence" : [ + 183813.03748439968, + 193383.16702767625 + ], + "scorePercentiles" : { + "0.0" : 172186.15370971625, + "50.0" : 190271.77543554653, + "90.0" : 194445.31503541177, + "95.0" : 197165.78095117246, + "99.0" : 198078.42553543605, + "99.9" : 198078.42553543605, + "99.99" : 198078.42553543605, + "99.999" : 198078.42553543605, + "99.9999" : 198078.42553543605, + "100.0" : 198078.42553543605 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 191737.60875072193, + 191536.01295757073, + 191957.4346505819, + 191558.51498354605, + 189094.4950074335 + ], + [ + 189294.76511185337, + 186053.58622195685, + 190172.36006590907, + 189854.937742111, + 185977.5357076936 + ], + [ + 172807.9645015916, + 188528.70561947863, + 180295.74639247617, + 178695.0894526931, + 172186.15370971625 + ], + [ + 190599.51937648203, + 190271.77543554653, + 193456.62710532223, + 191012.96359880365, + 192049.11639727137 + ], + [ + 198078.42553543605, + 194051.3404448702, + 195036.27692122414, + 193625.41197559366, + 187020.18873506572 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 242813.13590516878, + "scoreError" : 6520.771188750506, + "scoreConfidence" : [ + 236292.36471641826, + 249333.9070939193 + ], + "scorePercentiles" : { + "0.0" : 214364.49415312184, + "50.0" : 243423.926761972, + "90.0" : 253568.67038990217, + "95.0" : 254695.49852406845, + "99.0" : 254925.38911244896, + "99.9" : 254925.38911244896, + "99.99" : 254925.38911244896, + "99.999" : 254925.38911244896, + "99.9999" : 254925.38911244896, + "100.0" : 254925.38911244896 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 244307.3297391187, + 246639.2079567737, + 243423.926761972, + 249188.16220734015, + 248696.37478690004 + ], + [ + 240033.8693843233, + 240991.86728887027, + 238290.01766534935, + 242850.24897975996, + 242383.77483489216 + ], + [ + 230456.912467186, + 240286.77893770923, + 250587.81099096467, + 244647.06551548254, + 254159.08715118055 + ], + [ + 254925.38911244896, + 253175.05921571658, + 249068.13306311928, + 247719.9978787661, + 245412.9612901819 + ], + [ + 241931.03258416132, + 233959.58488036477, + 231491.37399829144, + 214364.49415312184, + 241337.93678522576 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 103689.71414043274, + "scoreError" : 6529.433088344572, + "scoreConfidence" : [ + 97160.28105208818, + 110219.1472287773 + ], + "scorePercentiles" : { + "0.0" : 76384.38674565473, + "50.0" : 106739.93107915935, + "90.0" : 110185.49644584247, + "95.0" : 111339.83033168453, + "99.0" : 111532.51450740891, + "99.9" : 111532.51450740891, + "99.99" : 111532.51450740891, + "99.999" : 111532.51450740891, + "99.9999" : 111532.51450740891, + "100.0" : 111532.51450740891 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 76384.38674565473, + 85716.33490491803, + 101617.93078848872, + 83539.90833223566, + 101849.14298272102 + ], + [ + 107226.72645971164, + 105022.43093217007, + 104899.94672527167, + 107473.36142733962, + 106571.07116734546 + ], + [ + 106845.7012634712, + 109715.67146196349, + 109548.86834929946, + 107414.84509565782, + 106374.39103386694 + ], + [ + 106739.93107915935, + 103898.09264527832, + 107777.47344466962, + 103211.0320404729, + 107815.77273685699 + ], + [ + 111532.51450740891, + 110890.23392166095, + 107821.26840145631, + 103438.53160004727, + 108917.28546369223 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c10.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c10.json new file mode 100644 index 00000000..b8d81b23 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c10.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 458489.640216684, + "scoreError" : 2922.477097588231, + "scoreConfidence" : [ + 455567.1631190958, + 461412.11731427227 + ], + "scorePercentiles" : { + "0.0" : 450431.80175556836, + "50.0" : 459378.7649002816, + "90.0" : 463132.80280345085, + "95.0" : 463462.31520018127, + "99.0" : 463526.45820254844, + "99.9" : 463526.45820254844, + "99.99" : 463526.45820254844, + "99.999" : 463526.45820254844, + "99.9999" : 463526.45820254844, + "100.0" : 463526.45820254844 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 453896.25292437844, + 453782.853971333, + 453254.45592966786, + 453812.27175910876, + 453762.15513232053 + ], + [ + 456072.81842859497, + 456185.50831191987, + 456880.78653954534, + 456236.5028183583, + 456288.2394595673 + ], + [ + 450431.80175556836, + 458920.35363482597, + 459921.3581285799, + 459538.48515374924, + 459378.7649002816 + ], + [ + 463312.6481946578, + 463012.9058759796, + 462445.75520279544, + 462910.59079015354, + 463526.45820254844 + ], + [ + 462272.6658183091, + 461414.5145150799, + 462088.05179492425, + 461677.02825366927, + 461217.77792118315 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 478013.7220036939, + "scoreError" : 4722.765339333618, + "scoreConfidence" : [ + 473290.9566643603, + 482736.48734302755 + ], + "scorePercentiles" : { + "0.0" : 469616.8283125076, + "50.0" : 476670.92926935357, + "90.0" : 488197.2251125574, + "95.0" : 488275.5267285058, + "99.0" : 488284.85875887336, + "99.9" : 488284.85875887336, + "99.99" : 488284.85875887336, + "99.999" : 488284.85875887336, + "99.9999" : 488284.85875887336, + "100.0" : 488284.85875887336 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 487578.5056595578, + 488253.75199098146, + 488159.5405269414, + 487897.27569877263, + 488284.85875887336 + ], + [ + 473918.55032557284, + 473672.2775551681, + 473822.52074186265, + 473841.65894564113, + 474163.0006414763 + ], + [ + 481383.63857037935, + 481350.35467225284, + 481578.0389119455, + 481162.49022697326, + 481187.80210298195 + ], + [ + 469616.8283125076, + 470564.0044802551, + 470295.8903613505, + 470292.08738623286, + 470632.377944297 + ], + [ + 476354.96370933455, + 476110.6448803022, + 476693.53780715505, + 476857.52061218, + 476670.92926935357 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 94396.45672734572, + "scoreError" : 788.1605452918257, + "scoreConfidence" : [ + 93608.29618205389, + 95184.61727263755 + ], + "scorePercentiles" : { + "0.0" : 90331.42716514043, + "50.0" : 94793.9454826186, + "90.0" : 95234.98226335662, + "95.0" : 95380.8970907862, + "99.0" : 95441.73135548344, + "99.9" : 95441.73135548344, + "99.99" : 95441.73135548344, + "99.999" : 95441.73135548344, + "99.9999" : 95441.73135548344, + "100.0" : 95441.73135548344 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 94539.19159016733, + 94531.67426094336, + 94335.85788242288, + 90331.42716514043, + 94371.02478185533 + ], + [ + 93461.04046429541, + 93630.93442862884, + 93441.75702293713, + 93446.55087555367, + 93401.12298626288 + ], + [ + 95232.33679015485, + 95238.95047315929, + 94334.97801040717, + 95441.73135548344, + 95194.1994915186 + ], + [ + 94934.71687887788, + 95031.3866013917, + 94988.94152612911, + 94899.43795563163, + 94979.84551316628 + ], + [ + 94793.9454826186, + 94963.57770959388, + 94807.4134929357, + 94803.38474577191, + 94775.99069859552 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28173.21696586583, + "scoreError" : 103.60849444624796, + "scoreConfidence" : [ + 28069.608471419582, + 28276.82546031208 + ], + "scorePercentiles" : { + "0.0" : 28024.238128888763, + "50.0" : 28109.721282161725, + "90.0" : 28416.633020427078, + "95.0" : 28426.15790806096, + "99.0" : 28429.57974276862, + "99.9" : 28429.57974276862, + "99.99" : 28429.57974276862, + "99.999" : 28429.57974276862, + "99.9999" : 28429.57974276862, + "100.0" : 28429.57974276862 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28024.238128888763, + 28034.45528198181, + 28051.101397205723, + 28082.861082562595, + 28044.201797424827 + ], + [ + 28053.573159933057, + 28081.832929169654, + 28058.59906273476, + 28065.58061193422, + 28110.255740435652 + ], + [ + 28101.67120155899, + 28069.576995284402, + 28086.917991758928, + 28120.646803547777, + 28109.721282161725 + ], + [ + 28395.754075397523, + 28429.57974276862, + 28415.605949327517, + 28418.173627076416, + 28366.09817805594 + ], + [ + 28254.673735981094, + 28236.26498797013, + 28209.276119049973, + 28249.334237286577, + 28260.43002714917 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 243823.40408168174, + "scoreError" : 1841.8283777915735, + "scoreConfidence" : [ + 241981.57570389018, + 245665.2324594733 + ], + "scorePercentiles" : { + "0.0" : 240720.1691178139, + "50.0" : 244867.49041234626, + "90.0" : 246883.06320765015, + "95.0" : 247048.64967341995, + "99.0" : 247093.37392334978, + "99.9" : 247093.37392334978, + "99.99" : 247093.37392334978, + "99.999" : 247093.37392334978, + "99.9999" : 247093.37392334978, + "100.0" : 247093.37392334978 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 240886.72854168655, + 240720.1691178139, + 240768.92787826867, + 240975.75541893073, + 240845.62870052241 + ], + [ + 244665.9798483055, + 244774.8036900826, + 244867.49041234626, + 245045.1973999332, + 245078.7572578294 + ], + [ + 245340.53166022417, + 245342.58408448412, + 245206.8062492987, + 245412.75280612338, + 245673.54902078793 + ], + [ + 241487.7778017684, + 241188.80523626902, + 240988.2562830758, + 241265.73772035106, + 240778.552550629 + ], + [ + 246719.8949739665, + 247093.37392334978, + 246944.2930902503, + 246842.24328591672, + 246670.50508982944 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 311040.22546089796, + "scoreError" : 24134.046158558813, + "scoreConfidence" : [ + 286906.17930233915, + 335174.27161945676 + ], + "scorePercentiles" : { + "0.0" : 282978.46916446206, + "50.0" : 287070.57420575223, + "90.0" : 353230.148720463, + "95.0" : 353415.66721248184, + "99.0" : 353453.27277404297, + "99.9" : 353453.27277404297, + "99.99" : 353453.27277404297, + "99.999" : 353453.27277404297, + "99.9999" : 353453.27277404297, + "100.0" : 353453.27277404297 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 287070.57420575223, + 287236.40464867133, + 286976.25057672453, + 287064.7506521697, + 287195.51202510425 + ], + [ + 286340.451595967, + 286362.36815612554, + 286217.2787015027, + 286351.8549032252, + 283398.1370445371 + ], + [ + 345919.4235330399, + 346367.419992525, + 346446.19251401554, + 346241.99227113766, + 346448.32214130985 + ], + [ + 351531.5678436497, + 352894.66246912704, + 353164.9672659899, + 353327.9209021726, + 353453.27277404297 + ], + [ + 283620.1025702682, + 283342.10604563495, + 282978.46916446206, + 283023.3139346154, + 283032.3205906785 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 120270.04394541922, + "scoreError" : 587.2930213741254, + "scoreConfidence" : [ + 119682.7509240451, + 120857.33696679334 + ], + "scorePercentiles" : { + "0.0" : 118984.56923798149, + "50.0" : 120192.66269694673, + "90.0" : 121162.0945169534, + "95.0" : 121175.19472651955, + "99.0" : 121180.71698773435, + "99.9" : 121180.71698773435, + "99.99" : 121180.71698773435, + "99.999" : 121180.71698773435, + "99.9999" : 121180.71698773435, + "100.0" : 121180.71698773435 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 118984.56923798149, + 119056.20884993882, + 119048.48019614298, + 119059.980682217, + 119169.09282988039 + ], + [ + 121155.72287912304, + 120922.89423478028, + 121105.43062621704, + 121180.71698773435, + 121161.9512280212 + ], + [ + 121162.30945035169, + 121146.1861346411, + 121085.78024191303, + 121045.91320499167, + 120877.94918795956 + ], + [ + 120120.51125606048, + 120116.88835232572, + 120238.72586658601, + 120192.66269694673, + 120215.4932995089 + ], + [ + 119934.6366167496, + 119698.86026352274, + 120043.16726117258, + 120165.78665245876, + 119861.18039825518 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c11.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c11.json new file mode 100644 index 00000000..64816256 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c11.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 452280.8333834213, + "scoreError" : 1477.388485647841, + "scoreConfidence" : [ + 450803.44489777344, + 453758.22186906915 + ], + "scorePercentiles" : { + "0.0" : 448554.79637497006, + "50.0" : 452627.76671254076, + "90.0" : 454749.3251551956, + "95.0" : 454781.4085016943, + "99.0" : 454783.50650847825, + "99.9" : 454783.50650847825, + "99.99" : 454783.50650847825, + "99.999" : 454783.50650847825, + "99.9999" : 454783.50650847825, + "100.0" : 454783.50650847825 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 452627.76671254076, + 452707.91990724765, + 452521.0721539967, + 452407.72494355805, + 453027.43258501886 + ], + [ + 448846.27361162455, + 448883.8463474687, + 448942.8062801829, + 449580.52156136837, + 448554.79637497006 + ], + [ + 454327.322850122, + 454776.51315253193, + 454731.199823638, + 454696.9585699988, + 454783.50650847825 + ], + [ + 451508.66328761855, + 451609.56982380163, + 451429.3437669654, + 451693.19940452866, + 452440.3423396305 + ], + [ + 453466.71226859675, + 453349.425084426, + 453404.06254967494, + 453367.81766735006, + 453336.0370101943 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 480132.6955161421, + "scoreError" : 2598.015036652897, + "scoreConfidence" : [ + 477534.6804794892, + 482730.71055279503 + ], + "scorePercentiles" : { + "0.0" : 473545.49858366325, + "50.0" : 481033.1209001655, + "90.0" : 483156.69564626866, + "95.0" : 483496.3007049809, + "99.0" : 483590.84128513315, + "99.9" : 483590.84128513315, + "99.99" : 483590.84128513315, + "99.999" : 483590.84128513315, + "99.9999" : 483590.84128513315, + "100.0" : 483590.84128513315 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 482793.26789185253, + 483590.84128513315, + 483275.7060179591, + 482966.72316196724, + 483000.0545154366 + ], + [ + 480374.765812931, + 480388.4962340275, + 479827.45354194095, + 480322.7445216748, + 480355.405635358 + ], + [ + 483077.3553984751, + 482995.62317339826, + 482698.86741266807, + 482338.81776941044, + 482772.7372371162 + ], + [ + 481033.1209001655, + 480678.7842082196, + 481482.6107658623, + 481343.5837806566, + 479154.09723123786 + ], + [ + 473948.3857551913, + 473921.43759608315, + 473728.6826625846, + 473702.3268105416, + 473545.49858366325 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 95861.17075107234, + "scoreError" : 1604.2385245475302, + "scoreConfidence" : [ + 94256.9322265248, + 97465.40927561987 + ], + "scorePercentiles" : { + "0.0" : 93889.02865580576, + "50.0" : 95202.68318104741, + "90.0" : 99916.25969646945, + "95.0" : 99957.56426500324, + "99.0" : 99958.6802976522, + "99.9" : 99958.6802976522, + "99.99" : 99958.6802976522, + "99.999" : 99958.6802976522, + "99.9999" : 99958.6802976522, + "100.0" : 99958.6802976522 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 93955.33123549723, + 94088.39643152006, + 94099.93948879019, + 93889.02865580576, + 94085.0519100179 + ], + [ + 99840.10872209181, + 99890.4593682342, + 99954.96018882234, + 99835.3458450748, + 99958.6802976522 + ], + [ + 95795.60823182546, + 95046.31684250773, + 95802.81449873405, + 95729.1535760156, + 95793.69245723663 + ], + [ + 94646.75857073037, + 94504.82245773649, + 94419.59487836121, + 94433.34057849241, + 94572.47735536884 + ], + [ + 95253.17522603708, + 95202.68318104741, + 95328.91709779609, + 95234.9924317624, + 95167.61924964988 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28325.39403953571, + "scoreError" : 195.31087036215578, + "scoreConfidence" : [ + 28130.083169173555, + 28520.704909897864 + ], + "scorePercentiles" : { + "0.0" : 27999.28149812304, + "50.0" : 28353.850144049113, + "90.0" : 28690.894853880825, + "95.0" : 28698.668709380876, + "99.0" : 28701.277633554706, + "99.9" : 28701.277633554706, + "99.99" : 28701.277633554706, + "99.999" : 28701.277633554706, + "99.9999" : 28701.277633554706, + "100.0" : 28701.277633554706 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28073.597494098656, + 28041.487477301616, + 28065.782142831893, + 28082.614210607837, + 28054.693521633926 + ], + [ + 28043.21966150537, + 27999.28149812304, + 28004.92394435061, + 28022.93781804375, + 28028.688497654344 + ], + [ + 28358.490921593402, + 28366.98861552429, + 28324.860756604387, + 28301.600315241543, + 28353.850144049113 + ], + [ + 28558.870289862152, + 28489.777272746727, + 28571.433945681092, + 28526.847706086977, + 28529.67761254055 + ], + [ + 28689.770610040086, + 28595.705568431247, + 28655.89211064353, + 28701.277633554706, + 28692.581219641936 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 242068.24048512944, + "scoreError" : 4239.9078677112875, + "scoreConfidence" : [ + 237828.33261741814, + 246308.14835284074 + ], + "scorePercentiles" : { + "0.0" : 233734.72420809246, + "50.0" : 243996.86424180752, + "90.0" : 249465.32992776917, + "95.0" : 249653.54788184943, + "99.0" : 249711.7373205707, + "99.9" : 249711.7373205707, + "99.99" : 249711.7373205707, + "99.999" : 249711.7373205707, + "99.9999" : 249711.7373205707, + "100.0" : 249711.7373205707 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 233949.93403699412, + 233778.11903404602, + 234018.54287988588, + 233867.92529706334, + 233734.72420809246 + ], + [ + 244065.19119046794, + 243922.00710200713, + 244127.9622945769, + 243996.86424180752, + 243976.97142842074 + ], + [ + 245245.10539264706, + 245441.9262259341, + 244678.21558521787, + 245237.4489510063, + 245440.62194421655 + ], + [ + 237800.9667767742, + 237755.90481442917, + 237900.7356760557, + 237749.85716258152, + 237761.98710150298 + ], + [ + 249177.2945561907, + 249417.82818652168, + 249711.7373205707, + 249430.3681963932, + 249517.77252483313 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 296302.21225795156, + "scoreError" : 23916.339220979775, + "scoreConfidence" : [ + 272385.8730369718, + 320218.55147893133 + ], + "scorePercentiles" : { + "0.0" : 276297.9371803828, + "50.0" : 284665.62368215085, + "90.0" : 358437.0169086431, + "95.0" : 358657.5459834833, + "99.0" : 358685.2611508694, + "99.9" : 358685.2611508694, + "99.99" : 358685.2611508694, + "99.999" : 358685.2611508694, + "99.9999" : 358685.2611508694, + "100.0" : 358685.2611508694 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 276455.5346082369, + 276528.48911619734, + 276297.9371803828, + 276616.9822876781, + 276633.2199482361 + ], + [ + 285235.64909360727, + 285201.1474638503, + 285163.79479769175, + 285201.8018441255, + 285102.5821847375 + ], + [ + 358333.1100080169, + 358592.87725958246, + 358248.2128997206, + 358242.0603200161, + 358685.2611508694 + ], + [ + 284762.0237778175, + 284520.5621039451, + 284616.0493195544, + 284665.62368215085, + 284929.1024558213 + ], + [ + 276771.4027131245, + 276733.17705647385, + 276750.4276407951, + 276683.662934452, + 276584.61460170633 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 120698.32645549667, + "scoreError" : 1236.3628572890273, + "scoreConfidence" : [ + 119461.96359820764, + 121934.6893127857 + ], + "scorePercentiles" : { + "0.0" : 118671.03345527196, + "50.0" : 120021.12566094026, + "90.0" : 123529.58084679232, + "95.0" : 123544.96021919395, + "99.0" : 123549.11653802874, + "99.9" : 123549.11653802874, + "99.99" : 123549.11653802874, + "99.999" : 123549.11653802874, + "99.9999" : 123549.11653802874, + "100.0" : 123549.11653802874 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 119691.91125653058, + 119608.59858944792, + 118937.95945336785, + 120021.12566094026, + 119993.56248888593 + ], + [ + 120001.37857665306, + 119823.37645303922, + 119858.09299230942, + 120202.14079501007, + 120164.34248153868 + ], + [ + 121210.9304961199, + 121464.49915901215, + 121435.47169096049, + 121288.24731156883, + 121386.81509857812 + ], + [ + 123525.79331671202, + 123549.11653802874, + 123505.48253692916, + 123535.26214191278, + 123404.11595059761 + ], + [ + 119093.14976750665, + 118671.03345527196, + 119030.0331188928, + 119019.39313919777, + 119036.3289184049 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c12.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c12.json new file mode 100644 index 00000000..864eaaa0 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c12.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 451224.61299388565, + "scoreError" : 3452.656538250822, + "scoreConfidence" : [ + 447771.95645563485, + 454677.26953213644 + ], + "scorePercentiles" : { + "0.0" : 445350.7301059412, + "50.0" : 449401.26368575456, + "90.0" : 459780.42663424223, + "95.0" : 460011.85658724, + "99.0" : 460069.91945033823, + "99.9" : 460069.91945033823, + "99.99" : 460069.91945033823, + "99.999" : 460069.91945033823, + "99.9999" : 460069.91945033823, + "100.0" : 460069.91945033823 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 460069.91945033823, + 459716.46000817424, + 459401.0916702208, + 459876.3765733442, + 459352.1369270811 + ], + [ + 448224.18372037035, + 448207.25366860925, + 448574.51452689373, + 445350.7301059412, + 447837.3923015728 + ], + [ + 451573.88815819204, + 451992.69554333267, + 452461.0309291777, + 451391.2012114395, + 450960.1436017351 + ], + [ + 447992.3428808769, + 447349.00450584915, + 447314.5967357573, + 448614.60899336933, + 447610.47179406584 + ], + [ + 449425.04969125934, + 449176.3915918782, + 449401.26368575456, + 449537.3866641735, + 449205.189907733 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 476077.89200723864, + "scoreError" : 4388.4498597217025, + "scoreConfidence" : [ + 471689.44214751694, + 480466.34186696034 + ], + "scorePercentiles" : { + "0.0" : 470440.30926527025, + "50.0" : 472801.5390247696, + "90.0" : 485923.96478395263, + "95.0" : 486119.27970387245, + "99.0" : 486165.4369907103, + "99.9" : 486165.4369907103, + "99.99" : 486165.4369907103, + "99.999" : 486165.4369907103, + "99.9999" : 486165.4369907103, + "100.0" : 486165.4369907103 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 470440.30926527025, + 471596.28014490084, + 471454.55048600317, + 471071.01267038734, + 471266.70090069005 + ], + [ + 486165.4369907103, + 486011.5793679175, + 485127.3787514342, + 485865.55506130937, + 485644.9075648591 + ], + [ + 479767.0553264219, + 479674.5431682576, + 479852.6723332156, + 478872.99798410584, + 479252.2468210126 + ], + [ + 472574.67426962976, + 472801.5390247696, + 473049.21564394154, + 473064.73254536017, + 472306.4382600566 + ], + [ + 471573.26137763116, + 471184.3084918034, + 471377.96212611906, + 471128.8176570027, + 470823.12394815724 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 94243.91302820187, + "scoreError" : 1002.5603752720315, + "scoreConfidence" : [ + 93241.35265292984, + 95246.47340347391 + ], + "scorePercentiles" : { + "0.0" : 92361.32265340391, + "50.0" : 93756.552500889, + "90.0" : 95897.17966338404, + "95.0" : 96015.15307576365, + "99.0" : 96051.29482893385, + "99.9" : 96051.29482893385, + "99.99" : 96051.29482893385, + "99.999" : 96051.29482893385, + "99.9999" : 96051.29482893385, + "100.0" : 96051.29482893385 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 93797.28387019894, + 93962.55816179125, + 93647.71197981831, + 93756.552500889, + 93748.35949991806 + ], + [ + 92969.13150193501, + 92983.0894716971, + 92990.74296521166, + 93039.54568786903, + 93040.15829458946 + ], + [ + 92361.32265340391, + 92921.16772613865, + 93022.18035673, + 93045.28021468906, + 92893.96162262715 + ], + [ + 95930.82231836651, + 95797.75152245052, + 96051.29482893385, + 95832.56148286442, + 95825.52576604905 + ], + [ + 95874.75122672907, + 95648.9675380963, + 95711.07360418481, + 95647.79139573849, + 95598.23951412745 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28412.64750006561, + "scoreError" : 573.1801826933314, + "scoreConfidence" : [ + 27839.46731737228, + 28985.82768275894 + ], + "scorePercentiles" : { + "0.0" : 26963.71606029193, + "50.0" : 28646.250994215512, + "90.0" : 29211.79502857796, + "95.0" : 29258.030167508176, + "99.0" : 29276.01926483174, + "99.9" : 29276.01926483174, + "99.99" : 29276.01926483174, + "99.999" : 29276.01926483174, + "99.9999" : 29276.01926483174, + "100.0" : 29276.01926483174 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28468.313772474063, + 28438.694550353306, + 28479.117756838095, + 28447.76558318316, + 28469.331188689815 + ], + [ + 27001.722143866667, + 26963.71606029193, + 27004.994674157457, + 27009.013012056246, + 27011.19958145139 + ], + [ + 28738.48202702115, + 28766.25036603054, + 28738.02840116256, + 28773.197689101275, + 28742.952297251148 + ], + [ + 29208.954642905577, + 29216.055607086528, + 29276.01926483174, + 29171.45538414244, + 29182.396279536817 + ], + [ + 28648.500563898742, + 28646.250994215512, + 28609.21952803167, + 28639.012695841284, + 28665.54343722135 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 243025.965751453, + "scoreError" : 1405.2866487594852, + "scoreConfidence" : [ + 241620.67910269354, + 244431.25240021248 + ], + "scorePercentiles" : { + "0.0" : 239232.48044273883, + "50.0" : 244046.9162059345, + "90.0" : 244421.91174601714, + "95.0" : 244510.477458899, + "99.0" : 244529.01819396365, + "99.9" : 244529.01819396365, + "99.99" : 244529.01819396365, + "99.999" : 244529.01819396365, + "99.9999" : 244529.01819396365, + "100.0" : 244529.01819396365 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 244107.4835330762, + 244033.99408672308, + 244241.00660961802, + 244088.11445208776, + 244046.9162059345 + ], + [ + 239623.93521098135, + 239627.28888977072, + 239358.53623688102, + 239232.48044273883, + 239703.9838389552 + ], + [ + 243048.079002792, + 242867.91079919206, + 242789.746033974, + 242955.6703433146, + 242880.21823728186 + ], + [ + 244292.7747753309, + 244280.0606336947, + 244391.7090808631, + 244353.6591662937, + 244274.16055238515 + ], + [ + 244033.080830063, + 244246.35626884192, + 244467.21574374818, + 244175.7446178193, + 244529.01819396365 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 293131.1801401924, + "scoreError" : 18609.743573982447, + "scoreConfidence" : [ + 274521.43656620994, + 311740.92371417483 + ], + "scorePercentiles" : { + "0.0" : 278644.7745118034, + "50.0" : 281363.2401912535, + "90.0" : 341804.2425947718, + "95.0" : 342119.25458065566, + "99.0" : 342250.6985583521, + "99.9" : 342250.6985583521, + "99.99" : 342250.6985583521, + "99.999" : 342250.6985583521, + "99.9999" : 342250.6985583521, + "100.0" : 342250.6985583521 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 341798.7030139325, + 342250.6985583521, + 341169.362251782, + 341747.90552671807, + 341812.5519660307 + ], + [ + 282806.4093934923, + 282567.6909325321, + 282640.10002544854, + 282671.34314322047, + 282657.470204995 + ], + [ + 278765.38970255567, + 278995.2173511812, + 279343.0531171677, + 278644.7745118034, + 279228.8454623131 + ], + [ + 281399.3659932936, + 281027.61808511516, + 280971.70410198474, + 280936.7768539207, + 281363.2401912535 + ], + [ + 281413.1072046206, + 281046.29993916757, + 281124.1865405491, + 281115.6216230835, + 280782.06781029503 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 121115.15625980508, + "scoreError" : 859.8469195240599, + "scoreConfidence" : [ + 120255.30934028102, + 121975.00317932914 + ], + "scorePercentiles" : { + "0.0" : 116753.61941837007, + "50.0" : 121698.94902422604, + "90.0" : 122106.42182763357, + "95.0" : 122174.49165839818, + "99.0" : 122179.83901359171, + "99.9" : 122179.83901359171, + "99.99" : 122179.83901359171, + "99.999" : 122179.83901359171, + "99.9999" : 122179.83901359171, + "100.0" : 122179.83901359171 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 122162.01449627994, + 122179.83901359171, + 122053.51104410533, + 121842.83361357568, + 122069.360048536 + ], + [ + 120331.33373861757, + 120369.11241304447, + 120395.52250085182, + 120429.72673520588, + 120437.77547585395 + ], + [ + 121740.55987100238, + 121741.51680561788, + 121828.640210874, + 121782.69099312683, + 121698.94902422604 + ], + [ + 121876.35842350121, + 121891.79130197398, + 121695.34933353408, + 121707.20681703162, + 116753.61941837007 + ], + [ + 120581.62844224558, + 120418.1022122336, + 120556.86059480395, + 120672.6269360641, + 120661.97703085947 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c13.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c13.json new file mode 100644 index 00000000..9ed488f9 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c13.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 456551.73242114106, + "scoreError" : 3571.7372728247124, + "scoreConfidence" : [ + 452979.9951483164, + 460123.46969396574 + ], + "scorePercentiles" : { + "0.0" : 448964.3323084246, + "50.0" : 457148.6087686291, + "90.0" : 463680.26157085504, + "95.0" : 463875.28530901787, + "99.0" : 463932.39138589444, + "99.9" : 463932.39138589444, + "99.99" : 463932.39138589444, + "99.999" : 463932.39138589444, + "99.9999" : 463932.39138589444, + "100.0" : 463932.39138589444 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 457148.6087686291, + 457101.46565655223, + 456837.34310146124, + 457555.49340346205, + 457250.6583265042 + ], + [ + 449752.5889335601, + 449673.88007981377, + 448964.3323084246, + 450366.741345795, + 449140.95941837365 + ], + [ + 458249.3005007508, + 458301.31538776483, + 458595.6140246136, + 458528.9113448939, + 458565.6715277072 + ], + [ + 463574.4908101304, + 463639.0774205546, + 462991.67047003645, + 463742.0377963058, + 463932.39138589444 + ], + [ + 454336.06014138105, + 453810.09940185945, + 453394.6660207083, + 453927.5328066974, + 454412.4001466507 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 478213.8977894909, + "scoreError" : 4347.9523218395025, + "scoreConfidence" : [ + 473865.94546765136, + 482561.8501113304 + ], + "scorePercentiles" : { + "0.0" : 466933.4917958862, + "50.0" : 480405.45518282836, + "90.0" : 483525.947408947, + "95.0" : 483699.71592851, + "99.0" : 483731.5595732021, + "99.9" : 483731.5595732021, + "99.99" : 483731.5595732021, + "99.999" : 483731.5595732021, + "99.9999" : 483731.5595732021, + "100.0" : 483731.5595732021 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 480405.45518282836, + 481394.58904872416, + 481128.833657761, + 480944.193122022, + 481055.7567074386 + ], + [ + 481106.4218139645, + 480053.51444556157, + 480439.2604319172, + 480549.74289991014, + 480265.0961297624 + ], + [ + 467520.18302687287, + 467157.91974451696, + 466933.4917958862, + 467569.0852797049, + 467083.33277031017 + ], + [ + 483459.6362876483, + 483731.5595732021, + 483625.4140908951, + 483260.3065405933, + 483418.2424806189 + ], + [ + 479001.469473676, + 478280.5767553648, + 479065.4561659296, + 478973.147236807, + 478924.760075353 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 94974.48194547434, + "scoreError" : 698.0463170372198, + "scoreConfidence" : [ + 94276.43562843712, + 95672.52826251157 + ], + "scorePercentiles" : { + "0.0" : 94004.56783564591, + "50.0" : 94365.0117001105, + "90.0" : 96535.60179950517, + "95.0" : 96589.64729977532, + "99.0" : 96597.5527661009, + "99.9" : 96597.5527661009, + "99.99" : 96597.5527661009, + "99.999" : 96597.5527661009, + "99.9999" : 96597.5527661009, + "100.0" : 96597.5527661009 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 95724.72635055998, + 95634.66556089521, + 95412.18219052245, + 95602.03728154232, + 95605.57418710149 + ], + [ + 94245.11029793623, + 94347.21030395404, + 94150.87411119686, + 94304.75710545544, + 94365.0117001105 + ], + [ + 94259.03105111809, + 94004.56783564591, + 94103.81034034581, + 94302.0447349431, + 94232.06697836821 + ], + [ + 96571.20121168232, + 96511.86885805373, + 96344.22842272192, + 96317.86120083943, + 96597.5527661009 + ], + [ + 94291.87601256458, + 94370.97402436526, + 94298.3840535903, + 94337.96512785945, + 94426.46692938484 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28494.908510221638, + "scoreError" : 368.3164971320745, + "scoreConfidence" : [ + 28126.592013089565, + 28863.22500735371 + ], + "scorePercentiles" : { + "0.0" : 27433.88960822952, + "50.0" : 28298.386619746943, + "90.0" : 29145.14768466658, + "95.0" : 29149.18322423201, + "99.0" : 29150.87537334535, + "99.9" : 29150.87537334535, + "99.99" : 29150.87537334535, + "99.999" : 29150.87537334535, + "99.9999" : 29150.87537334535, + "100.0" : 29150.87537334535 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28940.337800956, + 28930.389167823014, + 28956.136410649215, + 28970.95994196588, + 28946.11765262325 + ], + [ + 28273.08796734178, + 28298.386619746943, + 28247.61898002268, + 28305.854026843776, + 28330.346900081346 + ], + [ + 28216.47378580822, + 28215.935797728314, + 28222.75204521234, + 28219.76466188053, + 28182.811902756024 + ], + [ + 29150.87537334535, + 29140.58561222518, + 29145.23487630089, + 29145.089556910374, + 29094.71978123907 + ], + [ + 28046.809183686662, + 27962.414362142794, + 27982.344379613693, + 27433.88960822952, + 28013.77636040845 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 242082.07511987645, + "scoreError" : 1158.8265232110084, + "scoreConfidence" : [ + 240923.24859666545, + 243240.90164308745 + ], + "scorePercentiles" : { + "0.0" : 238925.7362291486, + "50.0" : 241827.8792826253, + "90.0" : 245137.63174139182, + "95.0" : 245188.5668185445, + "99.0" : 245200.8303221315, + "99.9" : 245200.8303221315, + "99.99" : 245200.8303221315, + "99.999" : 245200.8303221315, + "99.9999" : 245200.8303221315, + "100.0" : 245200.8303221315 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 241494.9947898846, + 241689.6767686675, + 241527.26416040276, + 241451.57578291543, + 241585.1084669166 + ], + [ + 242936.41742113372, + 244746.20039188396, + 245122.75158442536, + 245200.8303221315, + 245159.9519768415 + ], + [ + 241827.8792826253, + 241142.04102127702, + 240681.36654193854, + 240574.75514519942, + 240794.35868465167 + ], + [ + 238925.7362291486, + 240486.52725605702, + 242377.5929164255, + 242251.9811530423, + 242135.36548505002 + ], + [ + 241649.8433143102, + 242005.01678727134, + 242253.51055851072, + 242099.7074266121, + 241931.42452958846 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 284109.72775183985, + "scoreError" : 4595.334134156588, + "scoreConfidence" : [ + 279514.39361768326, + 288705.06188599643 + ], + "scorePercentiles" : { + "0.0" : 272188.51029187744, + "50.0" : 282035.98498588364, + "90.0" : 293967.71235170134, + "95.0" : 294235.06871313334, + "99.0" : 294286.6660754699, + "99.9" : 294286.6660754699, + "99.99" : 294286.6660754699, + "99.999" : 294286.6660754699, + "99.9999" : 294286.6660754699, + "100.0" : 294286.6660754699 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 281974.23126435204, + 281054.8516795453, + 280219.5410458256, + 280441.25679044984, + 281365.3032360791 + ], + [ + 281234.766696504, + 282670.7292127695, + 284215.4161291346, + 275787.9616734231, + 282035.98498588364 + ], + [ + 279004.9778946755, + 272188.51029187744, + 276627.9085879249, + 279280.82725379337, + 279786.0117366785 + ], + [ + 287057.5361672373, + 287100.67044366343, + 287393.6912487984, + 287633.2147954523, + 287951.58347044786 + ], + [ + 294114.67486768134, + 293869.737341048, + 294286.6660754699, + 293050.5358601969, + 292396.6050470827 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 119038.93774495939, + "scoreError" : 1245.8041474374381, + "scoreConfidence" : [ + 117793.13359752196, + 120284.74189239682 + ], + "scorePercentiles" : { + "0.0" : 115934.32456337735, + "50.0" : 119239.97965545658, + "90.0" : 121059.84811603294, + "95.0" : 121242.19589395534, + "99.0" : 121255.18872033451, + "99.9" : 121255.18872033451, + "99.99" : 121255.18872033451, + "99.999" : 121255.18872033451, + "99.9999" : 121255.18872033451, + "100.0" : 121255.18872033451 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 120779.47687812598, + 120785.2689373305, + 120958.4939940078, + 120797.6513749755, + 120822.94026187218 + ], + [ + 117545.11375369997, + 116552.84477345497, + 119823.11287563344, + 121255.18872033451, + 121211.87929907063 + ], + [ + 116562.98704362924, + 119030.53260842897, + 119019.67484843227, + 119014.11921496449, + 119239.97965545658 + ], + [ + 117067.4109816284, + 117763.22271161043, + 119237.85297662918, + 119597.14400772574, + 115934.32456337735 + ], + [ + 119649.04278688418, + 119470.65922063486, + 119909.76578538925, + 117244.67685899833, + 116700.07949169049 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c14.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c14.json new file mode 100644 index 00000000..9270d445 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c14.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 443233.1814832954, + "scoreError" : 5226.623620151737, + "scoreConfidence" : [ + 438006.5578631437, + 448459.8051034471 + ], + "scorePercentiles" : { + "0.0" : 433971.034903934, + "50.0" : 443893.249401575, + "90.0" : 454977.7177626678, + "95.0" : 456270.6374688688, + "99.0" : 456701.88914480485, + "99.9" : 456701.88914480485, + "99.99" : 456701.88914480485, + "99.999" : 456701.88914480485, + "99.9999" : 456701.88914480485, + "100.0" : 456701.88914480485 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 447832.64182642, + 451374.8361179555, + 455264.38355835143, + 456701.88914480485, + 454786.60723221203 + ], + [ + 435068.82938416366, + 434775.0679130208, + 435073.2275162419, + 434660.9087830411, + 436428.56600837153 + ], + [ + 445791.48446751887, + 447115.4985548675, + 446342.98026078474, + 446476.12340575265, + 448389.7043117612 + ], + [ + 443928.6415866373, + 443893.249401575, + 438659.8467805871, + 433971.034903934, + 434201.82306294114 + ], + [ + 439336.9574000814, + 443319.14511277893, + 446311.03402656794, + 440924.02340400295, + 440201.0329180111 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 456781.6832774913, + "scoreError" : 14706.021438958367, + "scoreConfidence" : [ + 442075.66183853295, + 471487.70471644966 + ], + "scorePercentiles" : { + "0.0" : 404982.84067991533, + "50.0" : 457506.5632061486, + "90.0" : 480605.02383875183, + "95.0" : 484615.2654541919, + "99.0" : 485854.4882351871, + "99.9" : 485854.4882351871, + "99.99" : 485854.4882351871, + "99.999" : 485854.4882351871, + "99.9999" : 485854.4882351871, + "100.0" : 485854.4882351871 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 481723.7456318698, + 485854.4882351871, + 479859.2093100065, + 476849.83712424943, + 477373.6810873877 + ], + [ + 467498.01212350535, + 468634.44710650545, + 469984.3598469857, + 464742.6997839478, + 467417.8803894238 + ], + [ + 458461.56756628834, + 404982.84067991533, + 448668.1147674546, + 446178.07745228725, + 451928.8175892714 + ], + [ + 445892.4484740121, + 446923.23862378346, + 440040.214427211, + 409290.0475642886, + 448581.6382241383 + ], + [ + 457506.5632061486, + 450433.1861171131, + 463556.38549429015, + 454912.40589154256, + 452248.17522046645 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 92417.65803066459, + "scoreError" : 1157.982419784504, + "scoreConfidence" : [ + 91259.67561088009, + 93575.6404504491 + ], + "scorePercentiles" : { + "0.0" : 89606.50705793625, + "50.0" : 92590.75130867446, + "90.0" : 94349.61171073855, + "95.0" : 94392.48133241977, + "99.0" : 94399.41771715744, + "99.9" : 94399.41771715744, + "99.99" : 94399.41771715744, + "99.999" : 94399.41771715744, + "99.9999" : 94399.41771715744, + "100.0" : 94399.41771715744 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 89606.50705793625, + 90367.03207659416, + 92158.99072550616, + 92048.34643875173, + 92197.44357898038 + ], + [ + 91191.02323199908, + 90202.49878212687, + 90634.17241164565, + 90343.00591370255, + 90696.2919640386 + ], + [ + 94376.29643469854, + 94331.82189476523, + 94399.41771715744, + 94122.32122975531, + 93555.76334916068 + ], + [ + 91083.08574382057, + 91854.18947146439, + 92590.75130867446, + 92811.91297037173, + 92695.8567289586 + ], + [ + 93858.81902409962, + 94043.35270986245, + 93598.84804027922, + 93857.39815697022, + 93816.30380529515 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 27671.479399528016, + "scoreError" : 347.84857832284274, + "scoreConfidence" : [ + 27323.630821205174, + 28019.32797785086 + ], + "scorePercentiles" : { + "0.0" : 26833.17437082094, + "50.0" : 27770.340584493457, + "90.0" : 28326.62266869169, + "95.0" : 28397.489938690498, + "99.0" : 28400.28912710356, + "99.9" : 28400.28912710356, + "99.99" : 28400.28912710356, + "99.999" : 28400.28912710356, + "99.9999" : 28400.28912710356, + "100.0" : 28400.28912710356 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 28010.294046808758, + 28400.28912710356, + 28390.958499060027, + 28016.5641627344, + 27822.892074522653 + ], + [ + 27770.340584493457, + 27834.97268510154, + 27793.237875497845, + 28283.732115112794, + 27473.49227930188 + ], + [ + 27256.83010028439, + 27604.20562824814, + 27833.19193405754, + 28114.209098016192, + 28108.024743426762 + ], + [ + 26833.17437082094, + 26927.236209439467, + 27094.191690636424, + 26888.651331189223, + 27007.698190569496 + ], + [ + 28019.86433288907, + 27487.38021000859, + 27581.191509211923, + 27652.22951708296, + 27582.13267258234 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 238628.42242716867, + "scoreError" : 3212.603481912342, + "scoreConfidence" : [ + 235415.81894525632, + 241841.025909081 + ], + "scorePercentiles" : { + "0.0" : 232396.20448395886, + "50.0" : 238291.58839029388, + "90.0" : 245006.04451834978, + "95.0" : 246421.70751712724, + "99.0" : 246620.8744964638, + "99.9" : 246620.8744964638, + "99.99" : 246620.8744964638, + "99.999" : 246620.8744964638, + "99.9999" : 246620.8744964638, + "100.0" : 246620.8744964638 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 241769.9647622001, + 240445.81721632014, + 236468.48123798936, + 240518.0686233353, + 238291.58839029388 + ], + [ + 236966.06855957565, + 242899.3915590218, + 245956.984565342, + 244372.08448702164, + 246620.8744964638 + ], + [ + 238180.98410627607, + 239627.2152416133, + 242993.69464147632, + 237481.98113697642, + 242486.60448361444 + ], + [ + 232597.71441137118, + 232423.6305303432, + 232744.64344827956, + 232396.20448395886, + 233726.27917561037 + ], + [ + 240168.57832268503, + 240086.67824779084, + 237318.43872419238, + 235130.826098353, + 234037.76372911237 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 294081.1540319152, + "scoreError" : 21642.58546737652, + "scoreConfidence" : [ + 272438.56856453867, + 315723.7394992917 + ], + "scorePercentiles" : { + "0.0" : 272940.81581493345, + "50.0" : 281260.9825267964, + "90.0" : 351026.43351966614, + "95.0" : 351518.1288745809, + "99.0" : 351686.0616749109, + "99.9" : 351686.0616749109, + "99.99" : 351686.0616749109, + "99.999" : 351686.0616749109, + "99.9999" : 351686.0616749109, + "100.0" : 351686.0616749109 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 273695.10649968835, + 278659.4958011271, + 279185.6510193996, + 278665.9544895241, + 272940.81581493345 + ], + [ + 281429.4270918084, + 279556.26121964044, + 280060.77249324694, + 281284.3996631029, + 281189.3563158743 + ], + [ + 349529.7429227315, + 349272.8988072636, + 350959.86541690293, + 351126.2856738109, + 351686.0616749109 + ], + [ + 279538.2551145277, + 279825.6576973053, + 281260.9825267964, + 281025.7948992715, + 280953.8797453432 + ], + [ + 282281.3774555359, + 281637.1278633286, + 281261.7295038177, + 282324.1797220772, + 282677.77136591 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 118577.23309595279, + "scoreError" : 912.9143678458897, + "scoreConfidence" : [ + 117664.3187281069, + 119490.14746379868 + ], + "scorePercentiles" : { + "0.0" : 116647.04216872333, + "50.0" : 118628.3212520756, + "90.0" : 120803.53945778708, + "95.0" : 120984.42436367703, + "99.0" : 121014.63313102553, + "99.9" : 121014.63313102553, + "99.99" : 121014.63313102553, + "99.999" : 121014.63313102553, + "99.9999" : 121014.63313102553, + "100.0" : 121014.63313102553 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 117021.88843632748, + 117045.72387274897, + 118692.71030694578, + 117234.3542341594, + 117377.87318848529 + ], + [ + 118076.60016075724, + 117758.04030929327, + 118085.42608809595, + 118811.49867738194, + 118188.29080722564 + ], + [ + 119440.99940773309, + 116647.04216872333, + 119238.53536103683, + 119276.59836450667, + 119444.93122476898 + ], + [ + 119035.29898934842, + 119302.8184930688, + 120729.94093640256, + 121014.63313102553, + 120913.93723986385 + ], + [ + 118199.25317464727, + 116948.57108017312, + 118147.42328832124, + 118628.3212520756, + 119170.11720570424 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c8.json new file mode 100644 index 00000000..6dff104b --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c8.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 452251.97440914804, + "scoreError" : 6205.841177859749, + "scoreConfidence" : [ + 446046.1332312883, + 458457.8155870078 + ], + "scorePercentiles" : { + "0.0" : 435702.56833608693, + "50.0" : 455199.9445690828, + "90.0" : 463372.7803703705, + "95.0" : 463489.7255123864, + "99.0" : 463522.74204867537, + "99.9" : 463522.74204867537, + "99.99" : 463522.74204867537, + "99.999" : 463522.74204867537, + "99.9999" : 463522.74204867537, + "100.0" : 463522.74204867537 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 441455.27907792956, + 435702.56833608693, + 442965.3837830732, + 440599.2136267608, + 443774.11448724056 + ], + [ + 447449.2951183083, + 446392.22173447494, + 444958.1722377919, + 446290.0657191327, + 443647.2029538974 + ], + [ + 455400.5537379387, + 455034.1887692029, + 455199.9445690828, + 455210.2180379729, + 455807.85787767294 + ], + [ + 452965.67944154405, + 455666.62251009763, + 457304.8745234611, + 457664.0495901368, + 456235.2237739094 + ], + [ + 463346.1759988094, + 463137.9329726204, + 463412.6869277122, + 463522.74204867537, + 463157.09237516945 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 484310.57545663445, + "scoreError" : 3514.3373446294295, + "scoreConfidence" : [ + 480796.238112005, + 487824.9128012639 + ], + "scorePercentiles" : { + "0.0" : 473041.3354909512, + "50.0" : 485766.6632789347, + "90.0" : 489443.2808986658, + "95.0" : 489883.5724145774, + "99.0" : 490046.49676758714, + "99.9" : 490046.49676758714, + "99.99" : 490046.49676758714, + "99.999" : 490046.49676758714, + "99.9999" : 490046.49676758714, + "100.0" : 490046.49676758714 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 477577.17225457693, + 476624.19865993294, + 473041.3354909512, + 476259.59717468586, + 477723.45888701675 + ], + [ + 486865.41788202914, + 487208.24954637035, + 487032.9833661642, + 486576.5967685113, + 487715.61236518394 + ], + [ + 482932.3484376017, + 483429.46823792794, + 483061.47690684383, + 483046.18529314734, + 482582.3950652653 + ], + [ + 490046.49676758714, + 488459.61422548804, + 489403.1911038509, + 489503.4155908881, + 489348.5950645338 + ], + [ + 485766.6632789347, + 485749.5240943153, + 485623.3355738824, + 486287.02487160056, + 485900.0295085693 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 94390.39285061546, + "scoreError" : 594.4434037111816, + "scoreConfidence" : [ + 93795.94944690428, + 94984.83625432664 + ], + "scorePercentiles" : { + "0.0" : 92958.51425697708, + "50.0" : 94093.28070261408, + "90.0" : 95861.1899843846, + "95.0" : 96007.72253639616, + "99.0" : 96019.70686515197, + "99.9" : 96019.70686515197, + "99.99" : 96019.70686515197, + "99.999" : 96019.70686515197, + "99.9999" : 96019.70686515197, + "100.0" : 96019.70686515197 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 94078.88459034571, + 94240.22163048817, + 94139.25694259054, + 94053.19056796134, + 94018.63945131152 + ], + [ + 94311.51662551427, + 94069.02068237677, + 94280.27995669871, + 94279.83476234354, + 94250.62993896523 + ], + [ + 92958.51425697708, + 93954.70751233152, + 94093.28070261408, + 94023.39610998359, + 94138.31453063735 + ], + [ + 93801.376755483, + 93978.92063099818, + 93960.97746512399, + 93876.8089233791, + 93958.46378569042 + ], + [ + 95734.31808399435, + 95777.65748624066, + 95782.14390555257, + 96019.70686515197, + 95979.75910263264 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28079.131090520827, + "scoreError" : 399.75536698504385, + "scoreConfidence" : [ + 27679.375723535784, + 28478.88645750587 + ], + "scorePercentiles" : { + "0.0" : 27372.189838700568, + "50.0" : 28196.263569330968, + "90.0" : 28832.039752870594, + "95.0" : 28910.928672124253, + "99.0" : 28913.00166913106, + "99.9" : 28913.00166913106, + "99.99" : 28913.00166913106, + "99.999" : 28913.00166913106, + "99.9999" : 28913.00166913106, + "100.0" : 28913.00166913106 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 27448.533399667187, + 27390.750301109638, + 27443.03239509456, + 27372.189838700568, + 27400.76965855185 + ], + [ + 28196.263569330968, + 28228.115069521977, + 28208.943239481392, + 28096.53411889795, + 27827.255087408263 + ], + [ + 28403.32815342441, + 28450.171306572258, + 28471.88916197989, + 28488.864050429114, + 28488.96339932673 + ], + [ + 27624.22596009829, + 27607.424683505968, + 27593.607906518035, + 27610.723716882745, + 27622.509096017242 + ], + [ + 28913.00166913106, + 28765.96828520356, + 28782.671802045406, + 28636.449715013172, + 28906.091679108373 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 241316.13004950018, + "scoreError" : 1677.220241756969, + "scoreConfidence" : [ + 239638.9098077432, + 242993.35029125714 + ], + "scorePercentiles" : { + "0.0" : 238076.7691074537, + "50.0" : 242194.2711966774, + "90.0" : 244188.40308771966, + "95.0" : 244280.96364073004, + "99.0" : 244296.7758763169, + "99.9" : 244296.7758763169, + "99.99" : 244296.7758763169, + "99.999" : 244296.7758763169, + "99.9999" : 244296.7758763169, + "100.0" : 244296.7758763169 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 242333.84040311736, + 242713.20142669594, + 242719.56863533217, + 242669.97856322533, + 242587.37627843962 + ], + [ + 242194.2711966774, + 242137.24743749213, + 242382.4932131966, + 242359.45407469827, + 242127.76025058937 + ], + [ + 244244.06842436068, + 244134.47501303666, + 243993.70355215544, + 244151.29286329233, + 244296.7758763169 + ], + [ + 239256.6744662165, + 239338.89868174985, + 239324.85749123766, + 239357.75346975584, + 239301.8015191501 + ], + [ + 238144.615080751, + 238474.80056954006, + 238155.77497582205, + 238076.7691074537, + 238425.7986672009 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 281088.05672838556, + "scoreError" : 3584.2304779603255, + "scoreConfidence" : [ + 277503.82625042525, + 284672.2872063459 + ], + "scorePercentiles" : { + "0.0" : 274595.9808421919, + "50.0" : 283687.945786737, + "90.0" : 286662.98268560925, + "95.0" : 286848.3899200784, + "99.0" : 286895.9826788289, + "99.9" : 286895.9826788289, + "99.99" : 286895.9826788289, + "99.999" : 286895.9826788289, + "99.9999" : 286895.9826788289, + "100.0" : 286895.9826788289 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 283993.2756151141, + 284472.18396138353, + 284226.36441478215, + 284654.9251819711, + 284651.371847259 + ], + [ + 274595.9808421919, + 274989.0998401884, + 275503.2958938732, + 275419.68764628615, + 275323.9617582407 + ], + [ + 283584.45184556296, + 283687.945786737, + 283729.9073690558, + 283280.42201476207, + 283924.7924406832 + ], + [ + 286613.41104290844, + 285497.4663138191, + 286492.2359615363, + 286737.34014966054, + 286895.9826788289 + ], + [ + 275523.80550675275, + 275914.4869209807, + 276083.4397542586, + 275699.5577955379, + 275706.0256272635 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 121754.96436903188, + "scoreError" : 1464.7282265454041, + "scoreConfidence" : [ + 120290.23614248648, + 123219.69259557727 + ], + "scorePercentiles" : { + "0.0" : 118835.7795498239, + "50.0" : 122107.41769120602, + "90.0" : 123866.16623032473, + "95.0" : 124036.14535321777, + "99.0" : 124072.10556089817, + "99.9" : 124072.10556089817, + "99.99" : 124072.10556089817, + "99.999" : 124072.10556089817, + "99.9999" : 124072.10556089817, + "100.0" : 124072.10556089817 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 118887.15956850864, + 119004.04722517026, + 118835.7795498239, + 118890.05792000894, + 118875.68885303519 + ], + [ + 123807.59372866042, + 123543.15279996052, + 123381.23469634475, + 123657.77348171602, + 123677.29855258536 + ], + [ + 120212.08602059106, + 120293.71402119355, + 120329.45364835818, + 120149.82686237025, + 120478.01772809631 + ], + [ + 122107.41769120602, + 122068.04601839102, + 122053.40306833216, + 122192.98480722796, + 122150.23358440137 + ], + [ + 123676.89441724596, + 123952.23820196348, + 124072.10556089817, + 123808.78491589888, + 123769.11630381011 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c9.json new file mode 100644 index 00000000..0898b209 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r14-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 458696.5423416668, + "scoreError" : 4456.194726182335, + "scoreConfidence" : [ + 454240.3476154845, + 463152.73706784914 + ], + "scorePercentiles" : { + "0.0" : 450436.30677506607, + "50.0" : 461400.81649639294, + "90.0" : 465998.4820392066, + "95.0" : 466673.7211847499, + "99.0" : 466923.68803948193, + "99.9" : 466923.68803948193, + "99.99" : 466923.68803948193, + "99.999" : 466923.68803948193, + "99.9999" : 466923.68803948193, + "100.0" : 466923.68803948193 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 452789.21190612984, + 452981.40320499253, + 452433.5715295769, + 453008.2208824436, + 453132.1782273775 + ], + [ + 466923.68803948193, + 466090.46519037517, + 465937.15993842756, + 465166.7104973358, + 465640.40694527584 + ], + [ + 461797.84075080865, + 462767.349937428, + 462805.50687101646, + 462540.2536826489, + 462613.23607323953 + ], + [ + 461400.81649639294, + 461586.05929789576, + 460655.15538968175, + 461530.82350464916, + 461287.4967182734 + ], + [ + 451190.27957003505, + 450935.01417745196, + 450868.52935644233, + 450895.8735792208, + 450436.30677506607 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 484658.9001079535, + "scoreError" : 5907.120503942569, + "scoreConfidence" : [ + 478751.779604011, + 490566.02061189606 + ], + "scorePercentiles" : { + "0.0" : 474273.4011638203, + "50.0" : 482521.06130554795, + "90.0" : 496079.9168794773, + "95.0" : 496128.0691790182, + "99.0" : 496133.25551920536, + "99.9" : 496133.25551920536, + "99.99" : 496133.25551920536, + "99.999" : 496133.25551920536, + "99.9999" : 496133.25551920536, + "100.0" : 496133.25551920536 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 477521.9412977884, + 483511.2518541662, + 482521.06130554795, + 482188.57556995336, + 482697.211800148 + ], + [ + 496115.9677185816, + 495677.8304258375, + 495515.81835424964, + 496133.25551920536, + 496055.88298674114 + ], + [ + 475038.955546285, + 474567.0635009239, + 475348.1349326901, + 474273.4011638203, + 474684.71201175876 + ], + [ + 480039.69247285085, + 480014.66274974396, + 479897.919798657, + 479961.65893604216, + 480088.3962963293 + ], + [ + 491278.3032391914, + 490650.93510517053, + 490703.8208003045, + 491258.6727357742, + 490727.37657707476 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 95766.67603374412, + "scoreError" : 1622.506343150932, + "scoreConfidence" : [ + 94144.16969059319, + 97389.18237689506 + ], + "scorePercentiles" : { + "0.0" : 92686.68060446334, + "50.0" : 95772.51611906415, + "90.0" : 98259.26951988156, + "95.0" : 98433.03150838787, + "99.0" : 98474.82999993699, + "99.9" : 98474.82999993699, + "99.99" : 98474.82999993699, + "99.999" : 98474.82999993699, + "99.9999" : 98474.82999993699, + "100.0" : 98474.82999993699 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 93693.12881303923, + 93647.00140946757, + 93753.12718615611, + 93566.52958884455, + 93823.8419454925 + ], + [ + 97961.92394342722, + 98045.93309322362, + 97949.49104807695, + 97937.72924591192, + 98038.23971914256 + ], + [ + 92686.68060446334, + 93150.86633500751, + 93223.8168065141, + 93335.78314593801, + 93222.85269479545 + ], + [ + 98114.46913183195, + 98208.44806995377, + 98335.50169477325, + 98192.25616944612, + 98474.82999993699 + ], + [ + 95837.1924430927, + 95786.97524786848, + 95662.42815646667, + 95772.51611906415, + 95745.33823166788 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 28346.89740597204, + "scoreError" : 368.6725632610428, + "scoreConfidence" : [ + 27978.224842710995, + 28715.56996923308 + ], + "scorePercentiles" : { + "0.0" : 27866.718513972777, + "50.0" : 28062.398071963977, + "90.0" : 29051.52483340084, + "95.0" : 29093.303104017163, + "99.0" : 29104.10531136324, + "99.9" : 29104.10531136324, + "99.99" : 29104.10531136324, + "99.999" : 29104.10531136324, + "99.9999" : 29104.10531136324, + "100.0" : 29104.10531136324 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 27925.03888714425, + 27897.486712535017, + 27937.232851603916, + 27897.757216041467, + 27929.003018888638 + ], + [ + 28062.398071963977, + 28090.9563792998, + 28064.590569082528, + 28021.19001181021, + 28053.71399510446 + ], + [ + 28811.668265222306, + 28764.917449919674, + 28782.47354314163, + 28827.629376606306, + 28816.208782978883 + ], + [ + 27907.58564068247, + 27866.718513972777, + 27924.19648997375, + 27906.80864516185, + 27936.449126287414 + ], + [ + 29068.097953542976, + 29015.260736356027, + 29040.476086639414, + 29020.471513977984, + 29104.10531136324 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 240388.37654582466, + "scoreError" : 1913.856059652872, + "scoreConfidence" : [ + 238474.5204861718, + 242302.23260547753 + ], + "scorePercentiles" : { + "0.0" : 232560.32845787, + "50.0" : 241580.3503533254, + "90.0" : 242881.2116104912, + "95.0" : 243036.6318871001, + "99.0" : 243077.4010583356, + "99.9" : 243077.4010583356, + "99.99" : 243077.4010583356, + "99.999" : 243077.4010583356, + "99.9999" : 243077.4010583356, + "100.0" : 243077.4010583356 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 239466.31720097465, + 238855.75640271237, + 239194.68976251985, + 239108.65416844955, + 238991.17167177738 + ], + [ + 242693.12995139696, + 242650.19515150524, + 243077.4010583356, + 242941.50382088395, + 242768.98653300363 + ], + [ + 237825.79299333759, + 237816.22162996093, + 237778.9643912857, + 237934.21048761834, + 238070.36426097093 + ], + [ + 242422.5201532273, + 232560.32845787, + 241657.63718136013, + 242806.39794447503, + 242841.01680356273 + ], + [ + 241140.62767890343, + 241839.45957690355, + 241822.5588015252, + 241865.15720973097, + 241580.3503533254 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 296402.20797984704, + "scoreError" : 18871.745973561083, + "scoreConfidence" : [ + 277530.46200628596, + 315273.9539534081 + ], + "scorePercentiles" : { + "0.0" : 281294.78900335944, + "50.0" : 284474.67384956864, + "90.0" : 345743.86416366656, + "95.0" : 345810.779321419, + "99.0" : 345825.88353912457, + "99.9" : 345825.88353912457, + "99.99" : 345825.88353912457, + "99.999" : 345825.88353912457, + "99.9999" : 345825.88353912457, + "100.0" : 345825.88353912457 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 284359.7418189794, + 284474.67384956864, + 284103.4404639059, + 284551.880246527, + 284753.53411031375 + ], + [ + 284065.26895311585, + 283860.29701344325, + 283957.04529198655, + 284269.4586043719, + 284064.36756428285 + ], + [ + 281294.78900335944, + 281903.7232480739, + 281613.12170593976, + 281888.7875929194, + 281567.8003615662 + ], + [ + 286208.8709098067, + 286281.92431117926, + 285837.5220263997, + 286340.5039622025, + 286234.7935841609 + ], + [ + 345722.74950826244, + 345775.53614677273, + 345825.88353912457, + 345535.36854328, + 345564.11713663256 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 121438.42250128771, + "scoreError" : 630.2985223854289, + "scoreConfidence" : [ + 120808.12397890228, + 122068.72102367315 + ], + "scorePercentiles" : { + "0.0" : 120223.51954882566, + "50.0" : 121515.68513711912, + "90.0" : 122544.86093552061, + "95.0" : 122593.78693081989, + "99.0" : 122608.28032525106, + "99.9" : 122608.28032525106, + "99.99" : 122608.28032525106, + "99.999" : 122608.28032525106, + "99.9999" : 122608.28032525106, + "100.0" : 122608.28032525106 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 120533.74363796947, + 120687.75551828655, + 120760.80855364044, + 120838.57070553381, + 120718.94483931267 + ], + [ + 120398.93001376562, + 120223.51954882566, + 120363.85082647613, + 120449.43313042441, + 120405.00014040708 + ], + [ + 122501.09720735265, + 122559.96901048049, + 122534.78888554737, + 122429.680467103, + 122608.28032525106 + ], + [ + 122157.79072832696, + 122186.2368760652, + 122107.48226127306, + 122166.19510936526, + 122105.5867234955 + ], + [ + 121574.74372988669, + 121231.31517057659, + 121515.68513711912, + 121517.90874957819, + 121383.24523613037 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c8.json new file mode 100644 index 00000000..5386719e --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c8.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 398833.0340623106, + "scoreError" : 1804.593623279897, + "scoreConfidence" : [ + 397028.4404390307, + 400637.6276855905 + ], + "scorePercentiles" : { + "0.0" : 394595.81668083055, + "50.0" : 398108.2096006487, + "90.0" : 403412.2208867748, + "95.0" : 403772.80768454284, + "99.0" : 403820.8009202324, + "99.9" : 403820.8009202324, + "99.99" : 403820.8009202324, + "99.999" : 403820.8009202324, + "99.9999" : 403820.8009202324, + "100.0" : 403820.8009202324 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 398141.4064209597, + 397965.6119732545, + 394595.81668083055, + 398940.20267607894, + 397435.4743671672 + ], + [ + 397911.80019542034, + 398173.30876774015, + 398742.33028521837, + 398989.77344159444, + 398705.7136979533 + ], + [ + 397886.6304458899, + 398279.17766893306, + 398108.2096006487, + 396598.648359678, + 397151.8486414114 + ], + [ + 397159.2514690517, + 397597.08409295214, + 397003.82399167685, + 397754.9146184484, + 397644.1599785625 + ], + [ + 403246.4858326688, + 402890.6677710409, + 403660.8234679339, + 402421.88619241945, + 403820.8009202324 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 429530.2319734959, + "scoreError" : 12521.260231917864, + "scoreConfidence" : [ + 417008.9717415781, + 442051.49220541376 + ], + "scorePercentiles" : { + "0.0" : 397040.00850140076, + "50.0" : 434188.76766595326, + "90.0" : 454050.0007317353, + "95.0" : 455048.8212319368, + "99.0" : 455435.80085463607, + "99.9" : 455435.80085463607, + "99.99" : 455435.80085463607, + "99.999" : 455435.80085463607, + "99.9999" : 455435.80085463607, + "100.0" : 455435.80085463607 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 434209.2902574402, + 435711.7517894433, + 436022.3123966327, + 434656.8054790612, + 435152.86564277357 + ], + [ + 454145.86877897196, + 453421.21378603706, + 446729.4296455357, + 455435.80085463607, + 453986.0887002442 + ], + [ + 437722.09023199417, + 432814.9055831162, + 428810.42259470705, + 434188.76766595326, + 437631.4351301849 + ], + [ + 417309.8050358089, + 411062.42797458323, + 411258.09473459516, + 410770.51998310763, + 414139.6998702908 + ], + [ + 423362.4810302383, + 397395.1107918877, + 421251.4651147476, + 424027.1377640054, + 397040.00850140076 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 76868.61883141435, + "scoreError" : 1246.893318646325, + "scoreConfidence" : [ + 75621.72551276803, + 78115.51215006068 + ], + "scorePercentiles" : { + "0.0" : 73155.53352506291, + "50.0" : 76739.25775970213, + "90.0" : 79249.00871801449, + "95.0" : 79684.53497293536, + "99.0" : 79699.74141065942, + "99.9" : 79699.74141065942, + "99.99" : 79699.74141065942, + "99.999" : 79699.74141065942, + "99.9999" : 79699.74141065942, + "100.0" : 79699.74141065942 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 76719.13332278027, + 79699.74141065942, + 79649.05328491257, + 77427.57209932082, + 78859.10651248074 + ], + [ + 74856.55177808652, + 73155.53352506291, + 75946.90628300568, + 77085.58807120692, + 78982.31234008243 + ], + [ + 76398.10115892075, + 75376.53098742414, + 77201.34696415189, + 76238.47591049466, + 75483.73745621614 + ], + [ + 78583.25912703812, + 78556.61838302904, + 76119.48041554676, + 76739.25775970213, + 74298.13625599214 + ], + [ + 78202.2898472963, + 77185.8279860868, + 75931.9424315934, + 75415.52640303178, + 77603.4410712368 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 23078.15224251284, + "scoreError" : 883.2312384803245, + "scoreConfidence" : [ + 22194.921004032512, + 23961.383480993165 + ], + "scorePercentiles" : { + "0.0" : 21101.02701826168, + "50.0" : 22679.346760015138, + "90.0" : 25153.28983291744, + "95.0" : 25162.25326013998, + "99.0" : 25163.387596473254, + "99.9" : 25163.387596473254, + "99.99" : 25163.387596473254, + "99.999" : 25163.387596473254, + "99.9999" : 25163.387596473254, + "100.0" : 25163.387596473254 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 23315.07344441832, + 21101.02701826168, + 23352.45810844095, + 23600.82726756346, + 23788.713217027893 + ], + [ + 25163.387596473254, + 25159.606475362343, + 25149.07873795417, + 25115.667953214077, + 24531.544043389553 + ], + [ + 22590.20530678147, + 22880.999188975387, + 23056.990635004422, + 21685.815023125513, + 22363.634793460747 + ], + [ + 21279.85486988218, + 22672.00670991441, + 22249.57350935182, + 22167.79082135841, + 22589.170884752188 + ], + [ + 22339.235982756865, + 22381.743600513757, + 22589.08956399676, + 22679.346760015138, + 23150.964550826204 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 184412.50466783348, + "scoreError" : 4650.769291015169, + "scoreConfidence" : [ + 179761.7353768183, + 189063.27395884864 + ], + "scorePercentiles" : { + "0.0" : 173197.2657371902, + "50.0" : 184683.40166703163, + "90.0" : 193211.94913339565, + "95.0" : 194446.90975715502, + "99.0" : 194970.9245068593, + "99.9" : 194970.9245068593, + "99.99" : 194970.9245068593, + "99.999" : 194970.9245068593, + "99.9999" : 194970.9245068593, + "100.0" : 194970.9245068593 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 191759.26182491286, + 193224.20867451167, + 185982.3443950508, + 190120.7094945142, + 185039.98086792423 + ], + [ + 184683.40166703163, + 182093.44985943244, + 179835.0009486064, + 180464.18583982135, + 182077.8748353677 + ], + [ + 184661.65867948162, + 193203.776105985, + 194970.9245068593, + 188215.89127885323, + 186850.13989048175 + ], + [ + 176191.35177646426, + 173197.2657371902, + 173422.61158322688, + 178647.94555304566, + 174335.02983123693 + ], + [ + 189001.2911181363, + 187790.2309048943, + 188444.35771873646, + 182943.68561632343, + 183156.0379877482 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 259573.10620458814, + "scoreError" : 13868.788487812586, + "scoreConfidence" : [ + 245704.31771677555, + 273441.8946924007 + ], + "scorePercentiles" : { + "0.0" : 240260.88137043174, + "50.0" : 252744.80448716253, + "90.0" : 294656.67886566045, + "95.0" : 302749.4216287834, + "99.0" : 304602.3761918377, + "99.9" : 304602.3761918377, + "99.99" : 304602.3761918377, + "99.999" : 304602.3761918377, + "99.9999" : 304602.3761918377, + "100.0" : 304602.3761918377 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 254491.69765008066, + 252727.00511108304, + 250047.9458042239, + 252744.80448716253, + 259441.63384556927 + ], + [ + 242697.8752643236, + 244673.13379481615, + 247463.43895663915, + 250011.79365457903, + 253158.75841041675 + ], + [ + 298425.8609816567, + 280913.93709104945, + 291982.5410812576, + 292143.8907883296, + 304602.3761918377 + ], + [ + 240260.88137043174, + 260401.3094075176, + 260444.5079806982, + 255762.3905818325, + 251119.79705453434 + ], + [ + 241749.8086346456, + 245236.8877000987, + 251574.83074892583, + 251547.66662143441, + 255702.88190155994 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 109899.47609150241, + "scoreError" : 3208.4674722076707, + "scoreConfidence" : [ + 106691.00861929473, + 113107.94356371008 + ], + "scorePercentiles" : { + "0.0" : 91016.46093056661, + "50.0" : 110862.49454558062, + "90.0" : 112390.73782706403, + "95.0" : 114137.35495901876, + "99.0" : 114712.0827271696, + "99.9" : 114712.0827271696, + "99.99" : 114712.0827271696, + "99.999" : 114712.0827271696, + "99.9999" : 114712.0827271696, + "100.0" : 114712.0827271696 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 91016.46093056661, + 106270.79141598444, + 111578.10030969033, + 111838.75611802531, + 114712.0827271696 + ], + [ + 110580.48194949978, + 110862.49454558062, + 110955.02748927244, + 109097.21508958802, + 109077.79775521095 + ], + [ + 112120.34737843995, + 107793.30843347205, + 111369.57557843809, + 112092.39658777956, + 110376.97667077897 + ], + [ + 111453.97381124087, + 111468.59705447748, + 110298.58389969406, + 111366.64486272313, + 110707.77884414485 + ], + [ + 112796.32350000014, + 111611.76961768247, + 109115.41687559515, + 109832.23676869622, + 109093.7640738093 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c9.json new file mode 100644 index 00000000..24b86b06 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/deserializer/zulu-r9-c9.json @@ -0,0 +1,564 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 385703.34907167935, + "scoreError" : 11305.529367625906, + "scoreConfidence" : [ + 374397.81970405346, + 397008.87843930523 + ], + "scorePercentiles" : { + "0.0" : 352021.597218676, + "50.0" : 390128.06646918075, + "90.0" : 402251.78936049045, + "95.0" : 402276.98274116457, + "99.0" : 402277.97014410066, + "99.9" : 402277.97014410066, + "99.99" : 402277.97014410066, + "99.999" : 402277.97014410066, + "99.9999" : 402277.97014410066, + "100.0" : 402277.97014410066 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 399780.8889176274, + 391372.2859750001, + 374442.4489451034, + 368309.54792017996, + 400465.86699465674 + ], + [ + 381534.501166468, + 386255.57688507467, + 395096.96837623796, + 402274.6788009803, + 402236.52973349724 + ], + [ + 380914.67368640524, + 390128.06646918075, + 352021.597218676, + 357659.75043556764, + 369942.93081198965 + ], + [ + 364191.0639128801, + 372407.7793207121, + 395909.54557118914, + 396932.24895177473, + 399958.6597528108 + ], + [ + 397089.616393514, + 402277.97014410066, + 398848.132227564, + 377141.8958999729, + 385390.5022808176 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 437674.57412312465, + "scoreError" : 9347.970501381793, + "scoreConfidence" : [ + 428326.60362174286, + 447022.54462450644 + ], + "scorePercentiles" : { + "0.0" : 405945.7312355707, + "50.0" : 436876.364364432, + "90.0" : 452758.371865536, + "95.0" : 454861.5521836979, + "99.0" : 454955.30670446705, + "99.9" : 454955.30670446705, + "99.99" : 454955.30670446705, + "99.999" : 454955.30670446705, + "99.9999" : 454955.30670446705, + "100.0" : 454955.30670446705 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 438085.0403002162, + 438934.7105568986, + 427034.6596353868, + 405945.7312355707, + 416057.3150984086 + ], + [ + 431896.69507802423, + 420804.58225790836, + 436743.52861861617, + 436963.94146851037, + 421492.9645550443 + ], + [ + 454642.7916352365, + 454955.30670446705, + 443062.53517428454, + 433834.66801300156, + 444258.0222525028 + ], + [ + 435908.05560577556, + 436777.9212505416, + 436101.286638951, + 436590.84073273843, + 436876.364364432 + ], + [ + 450918.4013997462, + 450815.1913074566, + 451011.20294314384, + 451502.092019069, + 450650.50423218246 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.jackson_pojo_bean_validation", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 78882.86834021767, + "scoreError" : 1708.1481499612466, + "scoreConfidence" : [ + 77174.72019025643, + 80591.01649017891 + ], + "scorePercentiles" : { + "0.0" : 73816.88567482846, + "50.0" : 79007.21856353676, + "90.0" : 82429.82665484444, + "95.0" : 83090.37794102884, + "99.0" : 83275.98930229347, + "99.9" : 83275.98930229347, + "99.99" : 83275.98930229347, + "99.999" : 83275.98930229347, + "99.9999" : 83275.98930229347, + "100.0" : 83275.98930229347 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 83275.98930229347, + 79475.65197726164, + 82657.2847647447, + 79627.15545185056, + 82278.18791491092 + ], + [ + 77437.05496693253, + 79682.98973837013, + 79007.21856353676, + 79913.67878840491, + 79396.22042991527 + ], + [ + 80732.10740680416, + 78519.10319625786, + 77832.69456725093, + 81588.73539151406, + 77189.92657038686 + ], + [ + 79974.83526877417, + 79543.56795669194, + 78100.87490175136, + 77937.78548437229, + 78643.98550768265 + ], + [ + 78054.31266316124, + 73816.88567482846, + 74726.09207028443, + 76481.17498895378, + 76178.19495850666 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_schema_validator", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 23310.18535906805, + "scoreError" : 302.0718278542089, + "scoreConfidence" : [ + 23008.113531213843, + 23612.25718692226 + ], + "scorePercentiles" : { + "0.0" : 22179.90200183131, + "50.0" : 23372.599011416893, + "90.0" : 23799.310176812138, + "95.0" : 23894.541868495682, + "99.0" : 23931.388849745235, + "99.9" : 23931.388849745235, + "99.99" : 23931.388849745235, + "99.999" : 23931.388849745235, + "99.9999" : 23931.388849745235, + "100.0" : 23931.388849745235 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 23393.671791745, + 23723.308854082647, + 23571.28186461777, + 23159.704316896383, + 23220.72996312244 + ], + [ + 23931.388849745235, + 23793.139908744633, + 23808.565578913396, + 23116.694756420937, + 22898.23065820046 + ], + [ + 23464.915605760958, + 23472.172271224827, + 23437.66912346783, + 23372.599011416893, + 23746.03447805174 + ], + [ + 23343.772396117325, + 22179.90200183131, + 22859.206451515016, + 22935.507253052005, + 22644.29120189959 + ], + [ + 23531.124314371013, + 23324.57242438508, + 23561.753903468903, + 23290.088828362, + 22974.3081692878 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_spec", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 193387.77224085643, + "scoreError" : 3561.427414817109, + "scoreConfidence" : [ + 189826.34482603933, + 196949.19965567352 + ], + "scorePercentiles" : { + "0.0" : 187780.17225575898, + "50.0" : 195800.87145016444, + "90.0" : 198797.45771457735, + "95.0" : 199733.44472853583, + "99.0" : 200124.18795424086, + "99.9" : 200124.18795424086, + "99.99" : 200124.18795424086, + "99.999" : 200124.18795424086, + "99.9999" : 200124.18795424086, + "100.0" : 200124.18795424086 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 189618.92937434337, + 196205.29060088712, + 195800.87145016444, + 200124.18795424086, + 198748.05546436377 + ], + [ + 188687.18956490295, + 188851.87463236408, + 187977.60936563753, + 189123.12730401033, + 188445.84644645534 + ], + [ + 198099.657012258, + 197287.07286196022, + 197338.515502178, + 197790.61121216588, + 197089.3570798073 + ], + [ + 198397.58524027205, + 198781.28916747947, + 189736.67284815467, + 196555.20401792435, + 198821.71053522415 + ], + [ + 188236.39195478254, + 188479.608854043, + 187780.17225575898, + 188504.48240973472, + 188212.99291229792 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 281541.0262524789, + "scoreError" : 18158.922719240385, + "scoreConfidence" : [ + 263382.1035332385, + 299699.94897171925 + ], + "scorePercentiles" : { + "0.0" : 258149.13656268237, + "50.0" : 266411.87315455795, + "90.0" : 320426.19686604105, + "95.0" : 320491.05542239454, + "99.0" : 320493.7257616278, + "99.9" : 320493.7257616278, + "99.99" : 320493.7257616278, + "99.999" : 320493.7257616278, + "99.9999" : 320493.7257616278, + "100.0" : 320493.7257616278 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 299220.5092002117, + 293559.183914589, + 299319.3063158435, + 299007.1073967334, + 298836.4692774221 + ], + [ + 320055.318634576, + 320484.8246308502, + 320359.10371870326, + 320493.7257616278, + 320387.1116895016 + ], + [ + 266669.9076869616, + 266312.6932017494, + 266295.1023202649, + 266411.87315455795, + 266455.2988664224 + ], + [ + 261526.56379200495, + 261779.0225196301, + 261730.5233474007, + 259460.5647105178, + 258149.13656268237 + ], + [ + 262301.6065442949, + 262815.9230141138, + 262583.31096554804, + 262976.2567141699, + 261335.21237159357 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsDeserializers.justify", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 115019.30810374825, + "scoreError" : 1423.6900706924193, + "scoreConfidence" : [ + 113595.61803305583, + 116442.99817444067 + ], + "scorePercentiles" : { + "0.0" : 111626.9653051166, + "50.0" : 114826.43303379182, + "90.0" : 117435.3192026883, + "95.0" : 117570.91374284188, + "99.0" : 117589.47807761175, + "99.9" : 117589.47807761175, + "99.99" : 117589.47807761175, + "99.999" : 117589.47807761175, + "99.9999" : 117589.47807761175, + "100.0" : 117589.47807761175 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 114715.2607333551, + 114347.52884311783, + 114625.66785354479, + 114826.43303379182, + 113752.60719371411 + ], + [ + 116169.10255888745, + 115736.69184326802, + 116420.7703021868, + 115769.81258318949, + 115554.38080094966 + ], + [ + 116464.12382483628, + 114399.00981477369, + 116937.7875231376, + 117313.93974451239, + 117589.47807761175 + ], + [ + 112516.01546435524, + 112239.28001368564, + 111646.04672656451, + 112734.78984417809, + 111626.9653051166 + ], + [ + 117373.80069667239, + 117527.59696171216, + 117314.25303065177, + 113667.73343902691, + 114213.62638086703 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c10.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c10.json new file mode 100644 index 00000000..bd6ac317 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c10.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 638643.130730645, + "scoreError" : 31703.234601712018, + "scoreConfidence" : [ + 606939.8961289331, + 670346.365332357 + ], + "scorePercentiles" : { + "0.0" : 495803.2459885505, + "50.0" : 643008.8313249036, + "90.0" : 680657.8346075942, + "95.0" : 682500.4345816087, + "99.0" : 683215.7928898005, + "99.9" : 683215.7928898005, + "99.99" : 683215.7928898005, + "99.999" : 683215.7928898005, + "99.9999" : 683215.7928898005, + "100.0" : 683215.7928898005 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 672979.5541635009, + 631873.9325643382, + 495803.2459885505, + 645610.3254360993, + 626725.3318688527 + ], + [ + 639273.4842887488, + 630677.466520329, + 627642.8168500321, + 637794.7930200327, + 640907.5868687053 + ], + [ + 680542.2142154383, + 663728.9634824421, + 670031.518567227, + 679859.6158565137, + 683215.7928898005 + ], + [ + 663994.4396639807, + 624635.9264468867, + 558389.2523391714, + 657245.960124207, + 643008.8313249036 + ], + [ + 633349.6693978254, + 574674.728603434, + 647047.8562106929, + 656233.6963785859, + 680831.265195828 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 772881.9403916809, + "scoreError" : 25782.760467395296, + "scoreConfidence" : [ + 747099.1799242856, + 798664.7008590762 + ], + "scorePercentiles" : { + "0.0" : 652787.3674722839, + "50.0" : 782881.8930405523, + "90.0" : 804539.8836203861, + "95.0" : 808723.8883902383, + "99.0" : 808826.6458854157, + "99.9" : 808826.6458854157, + "99.99" : 808826.6458854157, + "99.999" : 808826.6458854157, + "99.9999" : 808826.6458854157, + "100.0" : 808826.6458854157 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 759573.2535836601, + 652787.3674722839, + 773766.228990244, + 736840.9103879821, + 808826.6458854157 + ], + [ + 797753.3796412512, + 783539.234449568, + 764444.1310821462, + 736183.2001117783, + 801910.3920996498 + ], + [ + 753345.1846432918, + 780777.5470634233, + 725428.0295652285, + 808484.1209014908, + 790717.142897753 + ], + [ + 774904.8958743347, + 801835.3125328238, + 787001.0072535162, + 744626.6985985211, + 800137.3529978454 + ], + [ + 782881.8930405523, + 778075.4519994023, + 792140.8750098096, + 799095.0296503752, + 786973.2240596757 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 706675.2278150305, + "scoreError" : 12445.471874019311, + "scoreConfidence" : [ + 694229.7559410111, + 719120.6996890499 + ], + "scorePercentiles" : { + "0.0" : 670258.2597283162, + "50.0" : 708591.9368234203, + "90.0" : 729977.1079269076, + "95.0" : 730149.2396489909, + "99.0" : 730150.5030041042, + "99.9" : 730150.5030041042, + "99.99" : 730150.5030041042, + "99.999" : 730150.5030041042, + "99.9999" : 730150.5030041042, + "100.0" : 730150.5030041042 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 694420.5551131839, + 707433.5395870445, + 705565.573902508, + 685558.3990835409, + 691861.8233972556 + ], + [ + 704030.5718140926, + 700223.3501824825, + 670258.2597283162, + 688113.7905909064, + 671869.0348534991 + ], + [ + 714218.5345743045, + 712308.9112043643, + 712512.7460771903, + 713591.2345576668, + 706063.2213245995 + ], + [ + 729864.3186645838, + 729149.5932650602, + 729585.7330050373, + 730150.5030041042, + 730146.2918203933 + ], + [ + 709322.8217783116, + 709861.1249823674, + 708789.3344503744, + 708591.9368234203, + 703389.4915911505 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c11.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c11.json new file mode 100644 index 00000000..71fd5167 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c11.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 675129.5069017251, + "scoreError" : 8185.944845406887, + "scoreConfidence" : [ + 666943.5620563182, + 683315.451747132 + ], + "scorePercentiles" : { + "0.0" : 659689.1998826704, + "50.0" : 672948.8494955992, + "90.0" : 688472.7425462522, + "95.0" : 689065.9309728756, + "99.0" : 689239.558953589, + "99.9" : 689239.558953589, + "99.99" : 689239.558953589, + "99.999" : 689239.558953589, + "99.9999" : 689239.558953589, + "100.0" : 689239.558953589 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 687311.7436790407, + 686480.1122040073, + 686983.9078950717, + 688347.3715651686, + 687193.9580210771 + ], + [ + 672948.8494955992, + 674275.2883644145, + 673608.4185874687, + 659689.1998826704, + 666474.350180764 + ], + [ + 687497.221619708, + 689239.558953589, + 688660.7990178777, + 688285.0912429498, + 684820.0696540771 + ], + [ + 668759.4280387629, + 668567.1116214293, + 668771.8752762032, + 669421.2203431063, + 668745.0231980641 + ], + [ + 662047.7655590018, + 662346.4624462066, + 663383.8882497316, + 662334.382145749, + 662044.5753013865 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 816540.3892145476, + "scoreError" : 1834.292355306105, + "scoreConfidence" : [ + 814706.0968592415, + 818374.6815698537 + ], + "scorePercentiles" : { + "0.0" : 808929.7576806807, + "50.0" : 817062.2796741077, + "90.0" : 819332.6659572524, + "95.0" : 819655.8368134802, + "99.0" : 819700.5499849777, + "99.9" : 819700.5499849777, + "99.99" : 819700.5499849777, + "99.999" : 819700.5499849777, + "99.9999" : 819700.5499849777, + "100.0" : 819700.5499849777 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 814442.6302767035, + 814171.0182207393, + 814526.9323332086, + 813777.678109302, + 814756.4285652158 + ], + [ + 818196.9807677716, + 819111.9230361774, + 818338.6431982858, + 817655.2627457975, + 817726.29417826 + ], + [ + 819186.7725420963, + 819700.5499849777, + 818020.4588229437, + 816751.3918427216, + 819551.5060799863 + ], + [ + 812835.223873931, + 808929.7576806807, + 816174.4871805522, + 817062.2796741077, + 816642.0080288097 + ], + [ + 817849.8492108394, + 816307.618706329, + 817416.770517409, + 817029.0987633707, + 817348.1660234731 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 726584.7094449669, + "scoreError" : 12251.77311382907, + "scoreConfidence" : [ + 714332.9363311378, + 738836.482558796 + ], + "scorePercentiles" : { + "0.0" : 697318.2590362225, + "50.0" : 729051.7526552333, + "90.0" : 745349.6243253151, + "95.0" : 746001.4569911595, + "99.0" : 746256.3734605765, + "99.9" : 746256.3734605765, + "99.99" : 746256.3734605765, + "99.999" : 746256.3734605765, + "99.9999" : 746256.3734605765, + "100.0" : 746256.3734605765 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 719103.3081655998, + 727859.4012374736, + 729051.7526552333, + 729992.6991735513, + 729666.2485320495 + ], + [ + 719820.3184514188, + 725089.6218612539, + 724814.9600448216, + 725838.9519442165, + 725184.580653775 + ], + [ + 699385.4957298577, + 697318.2590362225, + 698081.8684512865, + 699709.0866665108, + 698666.9303119286 + ], + [ + 744764.6149431905, + 746256.3734605765, + 744595.8011154454, + 745406.651895853, + 745311.6059449565 + ], + [ + 737960.1950042362, + 737907.8684466889, + 738219.0027479151, + 738223.8397105392, + 736388.2999395725 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c8.json new file mode 100644 index 00000000..b0516c7d --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c8.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 671615.4204929066, + "scoreError" : 10327.731521470927, + "scoreConfidence" : [ + 661287.6889714357, + 681943.1520143775 + ], + "scorePercentiles" : { + "0.0" : 645601.2913416751, + "50.0" : 672482.8020998645, + "90.0" : 690157.3728911327, + "95.0" : 690533.0542824198, + "99.0" : 690691.6909198638, + "99.9" : 690691.6909198638, + "99.99" : 690691.6909198638, + "99.999" : 690691.6909198638, + "99.9999" : 690691.6909198638, + "100.0" : 690691.6909198638 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 672901.9668078778, + 669606.6820427908, + 662714.6396856282, + 664335.8111150634, + 672916.5887487512 + ], + [ + 645601.2913416751, + 648838.0742038984, + 653815.9166119876, + 648268.9687785731, + 650915.9989397349 + ], + [ + 677418.085022114, + 678662.4610250401, + 676572.1304021297, + 680672.142360775, + 675718.0075965362 + ], + [ + 690102.9827780423, + 689923.9961519126, + 690162.9021283841, + 690153.686732965, + 690691.6909198638 + ], + [ + 672036.3318445625, + 672005.2374983401, + 672482.8020998645, + 671916.221503116, + 671950.8959830406 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 817486.8201795932, + "scoreError" : 4178.034244232045, + "scoreConfidence" : [ + 813308.7859353612, + 821664.8544238252 + ], + "scorePercentiles" : { + "0.0" : 810909.5390555551, + "50.0" : 818240.8995794853, + "90.0" : 826854.5431731073, + "95.0" : 827358.3487338461, + "99.0" : 827568.2361014992, + "99.9" : 827568.2361014992, + "99.99" : 827568.2361014992, + "99.999" : 827568.2361014992, + "99.9999" : 827568.2361014992, + "100.0" : 827568.2361014992 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 811730.1707459992, + 813482.9496907779, + 812834.4031740178, + 813362.7273387158, + 811428.133230455 + ], + [ + 819164.1761545689, + 818368.6233030931, + 817305.8689909057, + 818454.4354600967, + 818132.1243480252 + ], + [ + 810937.146740582, + 810909.5390555551, + 811063.0633292485, + 811861.0915306297, + 811406.7103983718 + ], + [ + 826845.1642600752, + 827568.2361014992, + 825697.71588544, + 826868.6115426555, + 825673.7586159556 + ], + [ + 818916.6039433193, + 819272.6223016179, + 818931.0840300145, + 818714.6447387215, + 818240.8995794853 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 724637.461415726, + "scoreError" : 22347.305215852837, + "scoreConfidence" : [ + 702290.1561998732, + 746984.7666315788 + ], + "scorePercentiles" : { + "0.0" : 623755.5706440457, + "50.0" : 734384.2631829982, + "90.0" : 756133.8840306983, + "95.0" : 759878.9161748593, + "99.0" : 760919.3795009142, + "99.9" : 760919.3795009142, + "99.99" : 760919.3795009142, + "99.999" : 760919.3795009142, + "99.9999" : 760919.3795009142, + "100.0" : 760919.3795009142 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 739353.4922518453, + 739354.5853222673, + 739019.1814949639, + 738290.5158617833, + 739485.4056499796 + ], + [ + 721419.1593526523, + 721175.242836755, + 721412.3690070347, + 721255.816220773, + 722401.38385141 + ], + [ + 735988.804815893, + 734384.2631829982, + 734782.387413888, + 734010.7644048934, + 732479.5444967583 + ], + [ + 757451.1684140643, + 736031.8013489008, + 755255.6944417877, + 760919.3795009142, + 752770.6505177271 + ], + [ + 687403.6884011702, + 699615.2507322207, + 623755.5706440457, + 688275.3816771313, + 679645.0335512942 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c9.json new file mode 100644 index 00000000..fc0430e6 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r11-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 649218.6050875705, + "scoreError" : 6918.00350501538, + "scoreConfidence" : [ + 642300.6015825551, + 656136.6085925859 + ], + "scorePercentiles" : { + "0.0" : 633341.184268931, + "50.0" : 647998.955019724, + "90.0" : 662492.6929372262, + "95.0" : 665221.4790281317, + "99.0" : 665536.6417048405, + "99.9" : 665536.6417048405, + "99.99" : 665536.6417048405, + "99.999" : 665536.6417048405, + "99.9999" : 665536.6417048405, + "100.0" : 665536.6417048405 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 644036.2074442813, + 647897.0531874971, + 640898.7353916978, + 647998.955019724, + 646427.6846680862 + ], + [ + 659295.2895980292, + 657654.5397909969, + 658809.1138149472, + 659552.7100033894, + 661163.7552626139 + ], + [ + 638304.5832520542, + 638129.1812319388, + 639471.9613257793, + 638964.1168071375, + 646946.2384496584 + ], + [ + 652383.1263949275, + 665536.6417048405, + 664486.0994491446, + 653021.9422017762, + 655997.9534775392 + ], + [ + 649422.2977403268, + 649938.5664870741, + 640613.7716410619, + 633341.184268931, + 640173.4185758103 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 751078.8733192001, + "scoreError" : 23900.20878438466, + "scoreConfidence" : [ + 727178.6645348155, + 774979.0821035848 + ], + "scorePercentiles" : { + "0.0" : 679635.9323546122, + "50.0" : 762002.606205971, + "90.0" : 782087.8092039399, + "95.0" : 788956.8883733841, + "99.0" : 791874.5001415763, + "99.9" : 791874.5001415763, + "99.99" : 791874.5001415763, + "99.999" : 791874.5001415763, + "99.9999" : 791874.5001415763, + "100.0" : 791874.5001415763 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 778024.826147485, + 737074.371910263, + 761563.9635770795, + 679635.9323546122, + 708450.4444536574 + ], + [ + 779134.4511864096, + 756429.7574660139, + 687048.259522265, + 730206.4246271923, + 746268.2526637996 + ], + [ + 707056.28840987, + 721527.4825122884, + 775233.6274540713, + 778067.9932888028, + 772964.9197590764 + ], + [ + 770499.6644457583, + 762002.606205971, + 778088.9746966365, + 739823.0785630749, + 782046.9302859426 + ], + [ + 718508.2784876772, + 769388.2962469347, + 782149.1275809357, + 791874.5001415763, + 763903.3809926145 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/11.0.7-zulu/zulu-11.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "11.0.7", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "11.0.7+10-LTS", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 676417.111299552, + "scoreError" : 35206.39353202457, + "scoreConfidence" : [ + 641210.7177675274, + 711623.5048315766 + ], + "scorePercentiles" : { + "0.0" : 588794.9043852474, + "50.0" : 676316.1089165576, + "90.0" : 746778.2556134738, + "95.0" : 772636.9726366325, + "99.0" : 780525.934043829, + "99.9" : 780525.934043829, + "99.99" : 780525.934043829, + "99.999" : 780525.934043829, + "99.9999" : 780525.934043829, + "100.0" : 780525.934043829 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 684798.0571093383, + 683063.0890771704, + 678542.6518059974, + 696443.7092470651, + 687742.854653096 + ], + [ + 677816.2204967977, + 609568.865162331, + 626050.9964283801, + 686173.6501459124, + 646676.022480402 + ], + [ + 658063.985279378, + 588794.9043852474, + 591499.2088114051, + 660841.9096921269, + 676316.1089165576 + ], + [ + 670882.36625704, + 668872.3758364083, + 671947.8564560454, + 670555.5122908085, + 636719.2959325486 + ], + [ + 754229.396019841, + 733640.4968185293, + 780525.934043829, + 741810.8286758957, + 728851.4864666489 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c10.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c10.json new file mode 100644 index 00000000..33227d92 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c10.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 746887.6009511058, + "scoreError" : 5158.512500206076, + "scoreConfidence" : [ + 741729.0884508997, + 752046.113451312 + ], + "scorePercentiles" : { + "0.0" : 736557.2910761964, + "50.0" : 751688.9645282326, + "90.0" : 752943.8887069916, + "95.0" : 753163.4725447109, + "99.0" : 753185.4254668955, + "99.9" : 753185.4254668955, + "99.99" : 753185.4254668955, + "99.999" : 753185.4254668955, + "99.9999" : 753185.4254668955, + "100.0" : 753185.4254668955 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 751865.2580887685, + 753112.2490596136, + 752787.9723700418, + 752062.5720868105, + 753185.4254668955 + ], + [ + 736557.2910761964, + 738178.7032147833, + 738153.5957426003, + 737684.6994539495, + 737603.1619460003 + ], + [ + 736622.6497671553, + 740220.0046830082, + 740889.0430624092, + 740754.8482102299, + 740699.103242163 + ], + [ + 751638.4197473442, + 752487.405582017, + 752104.9275479742, + 751688.9645282326, + 752546.8367136833 + ], + [ + 752417.9091788693, + 752091.1147238606, + 752831.6484719103, + 752432.8107493886, + 751573.40906374 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 868464.4975176064, + "scoreError" : 8551.266109446402, + "scoreConfidence" : [ + 859913.23140816, + 877015.7636270528 + ], + "scorePercentiles" : { + "0.0" : 847611.6751093741, + "50.0" : 871908.5419676511, + "90.0" : 883068.4494459215, + "95.0" : 883865.0075189008, + "99.0" : 884089.9844203095, + "99.9" : 884089.9844203095, + "99.99" : 884089.9844203095, + "99.999" : 884089.9844203095, + "99.9999" : 884089.9844203095, + "100.0" : 884089.9844203095 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 866463.7268360568, + 860879.3161235728, + 866119.0353719429, + 865043.7213086413, + 864828.2021333815 + ], + [ + 873006.7634245519, + 873373.1654998467, + 873848.5775990849, + 871829.7343052218, + 873426.7773682647 + ], + [ + 883340.0614156139, + 884089.9844203095, + 882571.9720452068, + 882358.5705686307, + 882887.3747994598 + ], + [ + 850110.214632708, + 847611.6751093741, + 849865.8354852102, + 850050.4384805905, + 850026.1231512333 + ], + [ + 872301.0429139385, + 871908.5419676511, + 872571.57392817, + 870740.0701561499, + 872359.9388953447 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 955929.7280219092, + "scoreError" : 30568.39579311705, + "scoreConfidence" : [ + 925361.3322287922, + 986498.1238150263 + ], + "scorePercentiles" : { + "0.0" : 892594.0571458366, + "50.0" : 982648.6051939552, + "90.0" : 997219.9353948366, + "95.0" : 997827.5965526579, + "99.0" : 998048.0342168373, + "99.9" : 998048.0342168373, + "99.99" : 998048.0342168373, + "99.999" : 998048.0342168373, + "99.9999" : 998048.0342168373, + "100.0" : 998048.0342168373 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 998048.0342168373, + 996885.586943871, + 997157.730989457, + 996985.2362415743, + 997313.2420029059 + ], + [ + 892594.0571458366, + 910123.2179706565, + 921553.7601105024, + 921505.439825415, + 918632.1334022 + ], + [ + 981859.8945335703, + 982679.6001043641, + 982100.7873627003, + 982648.6051939552, + 983982.9320233723 + ], + [ + 984601.8203844378, + 983486.8758129191, + 984456.6441196926, + 984349.3130914002, + 982715.8178786434 + ], + [ + 901845.9311049742, + 902815.2040231995, + 903603.9396589374, + 902893.8101307957, + 903403.5862755099 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c11.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c11.json new file mode 100644 index 00000000..1ed779e6 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c11.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 750465.3153366633, + "scoreError" : 3142.0373528308396, + "scoreConfidence" : [ + 747323.2779838324, + 753607.3526894941 + ], + "scorePercentiles" : { + "0.0" : 743062.1498877774, + "50.0" : 752320.0403014122, + "90.0" : 755160.51461584, + "95.0" : 755719.1004924681, + "99.0" : 755890.7593424422, + "99.9" : 755890.7593424422, + "99.99" : 755890.7593424422, + "99.999" : 755890.7593424422, + "99.9999" : 755890.7593424422, + "100.0" : 755890.7593424422 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 754454.3896856568, + 755055.1489091588, + 754889.6341896511, + 755318.5631758621, + 755890.7593424422 + ], + [ + 752303.8466733501, + 752578.7529527219, + 752320.0403014122, + 752623.6940566365, + 752865.2762030987 + ], + [ + 752818.1849222527, + 752061.0536496484, + 753458.4376380758, + 752692.9417740077, + 753062.2563170776 + ], + [ + 747911.6967760476, + 748206.138566552, + 748217.1320290021, + 747705.4623436867, + 749216.959096207 + ], + [ + 744042.0279315456, + 743062.1498877774, + 743593.4638028947, + 743732.656732392, + 743552.2164594247 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 875932.3199717829, + "scoreError" : 6346.275422851328, + "scoreConfidence" : [ + 869586.0445489315, + 882278.5953946342 + ], + "scorePercentiles" : { + "0.0" : 860756.8958417659, + "50.0" : 874747.8595685654, + "90.0" : 886593.4784341422, + "95.0" : 887663.4446113289, + "99.0" : 887968.5388535946, + "99.9" : 887968.5388535946, + "99.99" : 887968.5388535946, + "99.999" : 887968.5388535946, + "99.9999" : 887968.5388535946, + "100.0" : 887968.5388535946 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 860756.8958417659, + 862545.6088082837, + 863659.0393457785, + 862633.3379442332, + 861623.0357993084 + ], + [ + 874497.9045679815, + 874354.4319453432, + 874411.9619200968, + 874489.1837572678, + 875023.1079625435 + ], + [ + 873212.0757981755, + 875495.5341345305, + 874662.6555498608, + 873862.7262851618, + 874747.8595685654 + ], + [ + 881581.7069521685, + 882089.2401364029, + 881922.3369290639, + 882255.5094638624, + 880718.9204270244 + ], + [ + 886199.1435021817, + 887968.5388535946, + 886354.7586928755, + 886290.9270624554, + 886951.5580460423 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 950173.257003806, + "scoreError" : 21126.752209327165, + "scoreConfidence" : [ + 929046.5047944788, + 971300.0092131331 + ], + "scorePercentiles" : { + "0.0" : 916830.1374730816, + "50.0" : 954467.1015936576, + "90.0" : 984169.2519096019, + "95.0" : 984907.9181419159, + "99.0" : 985126.4641614591, + "99.9" : 985126.4641614591, + "99.99" : 985126.4641614591, + "99.999" : 985126.4641614591, + "99.9999" : 985126.4641614591, + "100.0" : 985126.4641614591 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 985126.4641614591, + 984397.9774296485, + 984016.7682295708, + 983442.8224572268, + 983405.6707671734 + ], + [ + 916830.9177582901, + 917503.3579733255, + 917536.7352551434, + 916830.1374730816, + 917228.2559487197 + ], + [ + 918586.2248078483, + 920442.5039133007, + 919912.4594109835, + 920580.1463670271, + 920052.7476095057 + ], + [ + 954725.9208707897, + 953737.637719747, + 954467.1015936576, + 954719.762385626, + 952678.2170593739 + ], + [ + 975215.2321977578, + 974937.8012000731, + 975163.6201941785, + 976054.704836851, + 976738.2374747924 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c12.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c12.json new file mode 100644 index 00000000..4dc029ba --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c12.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 750993.9970198172, + "scoreError" : 2485.078172260587, + "scoreConfidence" : [ + 748508.9188475567, + 753479.0751920778 + ], + "scorePercentiles" : { + "0.0" : 747801.9212929911, + "50.0" : 749607.8657877276, + "90.0" : 757294.5807146238, + "95.0" : 758354.9830960544, + "99.0" : 758643.9867674921, + "99.9" : 758643.9867674921, + "99.99" : 758643.9867674921, + "99.999" : 758643.9867674921, + "99.9999" : 758643.9867674921, + "100.0" : 758643.9867674921 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 750497.8442465741, + 750371.0255851722, + 750251.2137220757, + 749286.1496109732, + 749436.6735770503 + ], + [ + 749697.8358407605, + 749607.8657877276, + 747801.9212929911, + 749579.6820001252, + 749415.7198543353 + ], + [ + 748491.9917237208, + 748922.6214994558, + 749353.0278745646, + 748956.0084910899, + 749307.9649325373 + ], + [ + 757037.207060351, + 756962.3406550009, + 756464.457678572, + 757680.641196033, + 758643.9867674921 + ], + [ + 750087.3028079685, + 749691.5354554991, + 748978.4151059778, + 748660.3498274348, + 749666.142901949 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 878458.0357722389, + "scoreError" : 4614.674688573056, + "scoreConfidence" : [ + 873843.3610836657, + 883072.710460812 + ], + "scorePercentiles" : { + "0.0" : 869832.5935856092, + "50.0" : 878438.4347919868, + "90.0" : 887009.0113730844, + "95.0" : 888236.1928356972, + "99.0" : 888748.6864830458, + "99.9" : 888748.6864830458, + "99.99" : 888748.6864830458, + "99.999" : 888748.6864830458, + "99.9999" : 888748.6864830458, + "100.0" : 888748.6864830458 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 873305.66678963, + 872959.2901796892, + 873747.0094468812, + 873863.129988983, + 873153.4460762548 + ], + [ + 878845.7997881048, + 878905.5521473788, + 878124.1266801268, + 878438.4347919868, + 878023.4623272192 + ], + [ + 888748.6864830458, + 886988.1027383293, + 885860.8470784895, + 887040.3743252171, + 886484.2320352982 + ], + [ + 870553.9120804063, + 869832.5935856092, + 870862.1094223099, + 871244.1719658843, + 870779.0435459818 + ], + [ + 883977.6646348174, + 879794.8659540792, + 882206.7490935447, + 883498.0883051233, + 884213.5348415815 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 949561.1028374624, + "scoreError" : 21615.473417811554, + "scoreConfidence" : [ + 927945.6294196509, + 971176.576255274 + ], + "scorePercentiles" : { + "0.0" : 917171.2003261527, + "50.0" : 932126.7616836025, + "90.0" : 986137.4270280706, + "95.0" : 986602.549859435, + "99.0" : 986687.3609195303, + "99.9" : 986687.3609195303, + "99.99" : 986687.3609195303, + "99.999" : 986687.3609195303, + "99.9999" : 986687.3609195303, + "100.0" : 986687.3609195303 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 982444.4228640405, + 981856.6447145215, + 980371.8620052607, + 980445.5786201572, + 980888.5927061916 + ], + [ + 932489.7181203162, + 931481.561063572, + 931878.460992273, + 932611.3345861793, + 932126.7616836025 + ], + [ + 930948.3112457768, + 930801.6447230708, + 929763.3953644099, + 930181.0424972691, + 930385.1889967971 + ], + [ + 918466.9431195399, + 918456.4391469668, + 917171.2003261527, + 918000.0018812994, + 918111.4755051445 + ], + [ + 986404.6573858792, + 986687.3609195303, + 985668.9139959917, + 985426.7850164227, + 985959.273456198 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c13.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c13.json new file mode 100644 index 00000000..40461968 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c13.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 747333.1210574827, + "scoreError" : 5856.390879555317, + "scoreConfidence" : [ + 741476.7301779273, + 753189.511937038 + ], + "scorePercentiles" : { + "0.0" : 728820.0874591223, + "50.0" : 749256.2433388572, + "90.0" : 755625.8425105289, + "95.0" : 756098.2951671092, + "99.0" : 756215.6190585492, + "99.9" : 756215.6190585492, + "99.99" : 756215.6190585492, + "99.999" : 756215.6190585492, + "99.9999" : 756215.6190585492, + "100.0" : 756215.6190585492 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 751819.6175902736, + 751059.9064185263, + 749256.2433388572, + 747673.3755118253, + 739163.2475074407 + ], + [ + 755824.5394204162, + 755017.5871900689, + 755307.4747729964, + 754971.9114265719, + 755213.217699791 + ], + [ + 749442.6852471661, + 739956.9811215653, + 741744.0710846338, + 738873.5146699204, + 731233.577717111 + ], + [ + 740948.5278038337, + 749880.5777553293, + 755483.9870773595, + 755493.3779039372, + 756215.6190585492 + ], + [ + 743951.3006782087, + 746068.7154645614, + 744785.554867903, + 728820.0874591223, + 745122.327651095 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 875873.7039615656, + "scoreError" : 8391.118463477065, + "scoreConfidence" : [ + 867482.5854980885, + 884264.8224250427 + ], + "scorePercentiles" : { + "0.0" : 860766.9054999445, + "50.0" : 872996.0883569684, + "90.0" : 896382.1158911518, + "95.0" : 897279.7568124521, + "99.0" : 897540.8123632813, + "99.9" : 897540.8123632813, + "99.99" : 897540.8123632813, + "99.999" : 897540.8123632813, + "99.9999" : 897540.8123632813, + "100.0" : 897540.8123632813 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 897540.8123632813, + 896670.6271938506, + 893006.1392010475, + 883595.2545643983, + 896189.775022686 + ], + [ + 862153.6328030803, + 870998.9088672553, + 860766.9054999445, + 862660.3623921206, + 871982.0046915543 + ], + [ + 872900.0656912568, + 874734.2149491365, + 874130.588226661, + 873462.6439124767, + 872996.0883569684 + ], + [ + 871256.4709812342, + 867192.7545592071, + 862450.6510060747, + 865401.0940121848, + 866697.77928809 + ], + [ + 870588.0092459787, + 884456.414858149, + 883185.7316947053, + 883138.7785682627, + 878686.8910895351 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 941229.1554283112, + "scoreError" : 19354.845878224314, + "scoreConfidence" : [ + 921874.3095500869, + 960584.0013065356 + ], + "scorePercentiles" : { + "0.0" : 903754.4631689205, + "50.0" : 946087.3671853538, + "90.0" : 983501.3346565205, + "95.0" : 984638.6197520273, + "99.0" : 984762.3364025211, + "99.9" : 984762.3364025211, + "99.99" : 984762.3364025211, + "99.999" : 984762.3364025211, + "99.9999" : 984762.3364025211, + "100.0" : 984762.3364025211 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 918112.4847028867, + 913242.4272604961, + 921395.4990516057, + 925308.773049124, + 926191.3942099483 + ], + [ + 949731.427552174, + 950568.5299950145, + 946087.3671853538, + 947624.4562871854, + 948310.16363349 + ], + [ + 981533.3749481532, + 982935.5927158395, + 972358.2586952223, + 984762.3364025211, + 984349.947567542 + ], + [ + 906278.4654997112, + 910645.431138261, + 912527.6760005518, + 903754.4631689205, + 912787.8743874186 + ], + [ + 949624.79767594, + 949777.1146845466, + 944575.9241843122, + 936875.7149830188, + 951369.3907285461 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c14.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c14.json new file mode 100644 index 00000000..3f319bad --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c14.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 738779.3537488502, + "scoreError" : 8111.653330207616, + "scoreConfidence" : [ + 730667.7004186426, + 746891.0070790577 + ], + "scorePercentiles" : { + "0.0" : 719255.434020163, + "50.0" : 736424.1228055041, + "90.0" : 754140.3199508709, + "95.0" : 754249.8657609452, + "99.0" : 754279.4588047843, + "99.9" : 754279.4588047843, + "99.99" : 754279.4588047843, + "99.999" : 754279.4588047843, + "99.9999" : 754279.4588047843, + "100.0" : 754279.4588047843 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 748116.7712774831, + 745699.7687006146, + 745428.1509718004, + 737248.6795756042, + 744683.6099627328 + ], + [ + 730101.682732422, + 719255.434020163, + 731120.0842860221, + 732762.6141516798, + 728740.8107753136 + ], + [ + 747446.1480394106, + 743347.3544897933, + 732375.5491378249, + 731558.3629061786, + 730195.5488569103 + ], + [ + 721817.8881833459, + 723917.5761215818, + 734971.5885739429, + 734927.8422673269, + 736424.1228055041 + ], + [ + 754113.3230345711, + 753697.7736473937, + 753072.8850735301, + 754279.4588047843, + 754180.8153253207 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 875906.7795162546, + "scoreError" : 6862.002464746943, + "scoreConfidence" : [ + 869044.7770515076, + 882768.7819810015 + ], + "scorePercentiles" : { + "0.0" : 850615.8556387762, + "50.0" : 878823.1874722944, + "90.0" : 885533.9983632118, + "95.0" : 885889.5820665876, + "99.0" : 886007.5469967369, + "99.9" : 886007.5469967369, + "99.99" : 886007.5469967369, + "99.999" : 886007.5469967369, + "99.9999" : 886007.5469967369, + "100.0" : 886007.5469967369 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 875660.5150775318, + 878823.1874722944, + 878968.0202497486, + 878701.2114661849, + 879931.6291862227 + ], + [ + 878742.1396946113, + 882796.5346671663, + 880313.4370180322, + 881605.8965462167, + 879225.6217680764 + ], + [ + 859665.3803563719, + 865322.0279000774, + 864914.647358528, + 850615.8556387762, + 863694.7752729021 + ], + [ + 886007.5469967369, + 885614.330562906, + 884444.2716708798, + 885480.4435634157, + 884066.2171333759 + ], + [ + 864751.6417966349, + 876470.430574001, + 879806.3112092486, + 876671.640044176, + 875375.7746822505 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 925935.1939811596, + "scoreError" : 32994.908494467934, + "scoreConfidence" : [ + 892940.2854866916, + 958930.1024756276 + ], + "scorePercentiles" : { + "0.0" : 864411.3430060933, + "50.0" : 917570.0232774377, + "90.0" : 986302.8262257527, + "95.0" : 986581.5358488869, + "99.0" : 986649.3932085608, + "99.9" : 986649.3932085608, + "99.99" : 986649.3932085608, + "99.999" : 986649.3932085608, + "99.9999" : 986649.3932085608, + "100.0" : 986649.3932085608 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 916483.287395821, + 917570.0232774377, + 916520.3625123755, + 918044.6954141943, + 918930.4313961664 + ], + [ + 984589.3715638123, + 986222.5757031557, + 986649.3932085608, + 986423.2020096482, + 985488.9435849357 + ], + [ + 864600.9894250951, + 864411.3430060933, + 865871.2931936724, + 866062.8280581132, + 865090.7539116122 + ], + [ + 975703.5201453711, + 952159.2849962233, + 953490.6633789529, + 954709.5055224783, + 967523.9618799924 + ], + [ + 894701.0151423586, + 899698.4469989828, + 901960.9384606221, + 902808.1058548979, + 902664.9134884207 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c8.json new file mode 100644 index 00000000..9336a011 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c8.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 751504.8527870241, + "scoreError" : 6510.738685097773, + "scoreConfidence" : [ + 744994.1141019263, + 758015.5914721219 + ], + "scorePercentiles" : { + "0.0" : 714616.4670517975, + "50.0" : 753266.3962656474, + "90.0" : 758469.6648940371, + "95.0" : 758613.66245022, + "99.0" : 758642.695251851, + "99.9" : 758642.695251851, + "99.99" : 758642.695251851, + "99.999" : 758642.695251851, + "99.9999" : 758642.695251851, + "100.0" : 758642.695251851 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 752946.0331095064, + 753888.805787205, + 754068.2976861078, + 752896.18909828, + 752922.4910920233 + ], + [ + 752771.8189334455, + 753266.3962656474, + 752445.6604879951, + 753556.1313861485, + 752779.4173739433 + ], + [ + 747694.9786731103, + 743735.5827003493, + 714616.4670517975, + 746139.6333405641, + 743911.2765260828 + ], + [ + 758390.1373239198, + 758642.695251851, + 758011.2274618562, + 758545.9192464141, + 758418.828659119 + ], + [ + 754134.0533513377, + 753973.1547553854, + 752649.1493904801, + 753434.3408120883, + 753782.6339109468 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 877193.5981435084, + "scoreError" : 1909.2774353739758, + "scoreConfidence" : [ + 875284.3207081344, + 879102.8755788824 + ], + "scorePercentiles" : { + "0.0" : 871745.2378156189, + "50.0" : 877898.816891566, + "90.0" : 879761.3790741414, + "95.0" : 880170.3785544854, + "99.0" : 880321.9489224355, + "99.9" : 880321.9489224355, + "99.99" : 880321.9489224355, + "99.999" : 880321.9489224355, + "99.9999" : 880321.9489224355, + "100.0" : 880321.9489224355 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 877758.4613435405, + 876101.0169277213, + 877253.5484183942, + 878177.7605964871, + 877529.179686098 + ], + [ + 879352.4349061181, + 880321.9489224355, + 879724.4888818345, + 879175.1532019388, + 879816.7143626017 + ], + [ + 878944.8997352854, + 878887.7127462032, + 878579.4704929865, + 879309.8882375712, + 878362.2612348157 + ], + [ + 873732.1615854362, + 871745.2378156189, + 872560.254015041, + 872201.1915756809, + 872934.0280000197 + ], + [ + 877898.816891566, + 877906.4154215967, + 876511.1212594268, + 877354.0413844932, + 877701.7459447967 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 929405.7030229839, + "scoreError" : 27993.499680926576, + "scoreConfidence" : [ + 901412.2033420573, + 957399.2027039104 + ], + "scorePercentiles" : { + "0.0" : 868674.6235540117, + "50.0" : 907091.1024116634, + "90.0" : 978622.1257318708, + "95.0" : 978950.0131465526, + "99.0" : 979035.6620250867, + "99.9" : 979035.6620250867, + "99.99" : 979035.6620250867, + "99.999" : 979035.6620250867, + "99.9999" : 979035.6620250867, + "100.0" : 979035.6620250867 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 968849.8425600944, + 966657.1278757326, + 966471.1092454068, + 967319.3942632097, + 966373.859130836 + ], + [ + 901419.0612968667, + 902802.1368481036, + 889030.5887313872, + 883838.5518080486, + 868674.6235540117 + ], + [ + 907312.9973770207, + 907091.1024116634, + 906677.3694364359, + 906165.2961373539, + 907731.4345295276 + ], + [ + 978750.1657633065, + 977887.3914300118, + 978455.3880021499, + 979035.6620250867, + 978536.7657109136 + ], + [ + 904747.3812097729, + 904693.1685542951, + 905027.8274705393, + 904888.2704151337, + 906706.0597876875 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c9.json new file mode 100644 index 00000000..7a440c8c --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r14-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 751340.6644619799, + "scoreError" : 2244.932084374003, + "scoreConfidence" : [ + 749095.7323776059, + 753585.5965463539 + ], + "scorePercentiles" : { + "0.0" : 745366.5695243746, + "50.0" : 752624.5641795801, + "90.0" : 754144.4156724856, + "95.0" : 754403.7654655192, + "99.0" : 754472.7293934205, + "99.9" : 754472.7293934205, + "99.99" : 754472.7293934205, + "99.999" : 754472.7293934205, + "99.9999" : 754472.7293934205, + "100.0" : 754472.7293934205 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 750923.9600093307, + 751851.0441956489, + 750564.4145552572, + 750973.5581841173, + 750938.8827591726 + ], + [ + 745366.5695243746, + 745888.2804527151, + 746397.8360323529, + 746060.0060325067, + 745513.2624020685 + ], + [ + 752702.9558293746, + 752503.8751020934, + 752624.5641795801, + 753239.9626613087, + 753435.5017169118 + ], + [ + 754078.7930316431, + 753998.2145072721, + 754242.8496337493, + 753444.9106495893, + 754472.7293934205 + ], + [ + 752266.9023273803, + 752783.8649728615, + 752642.168963023, + 753037.873698088, + 753563.630735653 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 879256.4521805096, + "scoreError" : 3198.888884695039, + "scoreConfidence" : [ + 876057.5632958146, + 882455.3410652046 + ], + "scorePercentiles" : { + "0.0" : 871286.7522701577, + "50.0" : 881580.4160916765, + "90.0" : 884130.1358420928, + "95.0" : 884866.3568253478, + "99.0" : 885031.1372139899, + "99.9" : 885031.1372139899, + "99.99" : 885031.1372139899, + "99.999" : 885031.1372139899, + "99.9999" : 885031.1372139899, + "100.0" : 885031.1372139899 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 872158.8417962763, + 871286.7522701577, + 873905.288188702, + 873408.3995042684, + 873462.4144826586 + ], + [ + 875269.4677228279, + 876390.4685834933, + 876697.7467334316, + 875730.1879506406, + 877398.5321834406 + ], + [ + 882444.3054530548, + 882475.8249187705, + 881862.2558136788, + 881580.4160916765, + 882670.358047166 + ], + [ + 884481.8692518494, + 883895.646902255, + 885031.1372139899, + 882544.5714044248, + 882667.2167970643 + ], + [ + 882012.3801896749, + 878247.5510427883, + 880889.2264510129, + 882163.2412845481, + 882737.2042348827 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/14.0.1-zulu/zulu-14.jdk/Contents/Home/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "14.0.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "14.0.1+8", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 949945.7067949612, + "scoreError" : 33430.88591392826, + "scoreConfidence" : [ + 916514.820881033, + 983376.5927088895 + ], + "scorePercentiles" : { + "0.0" : 864582.5749773111, + "50.0" : 974310.276284757, + "90.0" : 981910.752672381, + "95.0" : 982639.0396303328, + "99.0" : 982941.7427038066, + "99.9" : 982941.7427038066, + "99.99" : 982941.7427038066, + "99.999" : 982941.7427038066, + "99.9999" : 982941.7427038066, + "100.0" : 982941.7427038066 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 866294.0895061565, + 866314.0398128775, + 865205.6371914422, + 865337.1596958756, + 864582.5749773111 + ], + [ + 977629.9654118796, + 977488.9182964951, + 979656.6672708214, + 978271.1083823886, + 979297.701652638 + ], + [ + 974879.9402474125, + 972624.52982561, + 973943.1641765271, + 974310.276284757, + 976162.8717170979 + ], + [ + 949508.5445170451, + 950406.2198098165, + 949741.178242927, + 949146.3114797537, + 948208.7695971975 + ], + [ + 981896.0994813724, + 981060.6930317637, + 982941.7427038066, + 981932.732458894, + 981801.7341021622 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c8.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c8.json new file mode 100644 index 00000000..ea231e56 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c8.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 724524.2096754048, + "scoreError" : 12449.5993775566, + "scoreConfidence" : [ + 712074.6102978482, + 736973.8090529614 + ], + "scorePercentiles" : { + "0.0" : 680996.0840598997, + "50.0" : 725926.6942082384, + "90.0" : 742251.5851185406, + "95.0" : 747873.9887255873, + "99.0" : 749482.7748275604, + "99.9" : 749482.7748275604, + "99.99" : 749482.7748275604, + "99.999" : 749482.7748275604, + "99.9999" : 749482.7748275604, + "100.0" : 749482.7748275604 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 735542.5127884499, + 734622.0239892695, + 720011.2739944427, + 711594.1965483455, + 715332.7479877904 + ], + [ + 739377.6422004995, + 706043.272892038, + 715795.7350424224, + 729484.8869005012, + 680996.0840598997 + ], + [ + 704766.5045531559, + 702373.7345627007, + 710276.3590621857, + 722763.9196543369, + 708413.6178370202 + ], + [ + 724144.174633801, + 740361.2780524077, + 738536.5549095087, + 738078.3736342703, + 725926.6942082384 + ], + [ + 738658.9553848963, + 735395.8974679284, + 741005.8722058011, + 749482.7748275604, + 744120.1544876498 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 871928.4707030344, + "scoreError" : 10653.48903058602, + "scoreConfidence" : [ + 861274.9816724485, + 882581.9597336204 + ], + "scorePercentiles" : { + "0.0" : 845289.6308950293, + "50.0" : 874803.9244500464, + "90.0" : 893597.2832776743, + "95.0" : 895232.9864873538, + "99.0" : 895751.7777240474, + "99.9" : 895751.7777240474, + "99.99" : 895751.7777240474, + "99.999" : 895751.7777240474, + "99.9999" : 895751.7777240474, + "100.0" : 895751.7777240474 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 882143.0118344099, + 852345.4899413048, + 872287.438402991, + 867703.9246521312, + 877041.4394737657 + ], + [ + 894022.4736017353, + 881708.6942973329, + 867253.6663760339, + 871081.4114925531, + 845800.0004971041 + ], + [ + 883442.709274248, + 861064.9873475543, + 848623.220570151, + 865730.3714861727, + 879614.1147088301 + ], + [ + 873314.906909723, + 893313.8230616337, + 882638.4894438606, + 876414.6013194668, + 856401.1148106084 + ], + [ + 874803.9244500464, + 845289.6308950293, + 875070.0746213116, + 875350.4703838103, + 895751.7777240474 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 740801.0552207076, + "scoreError" : 25479.518002814933, + "scoreConfidence" : [ + 715321.5372178926, + 766280.5732235225 + ], + "scorePercentiles" : { + "0.0" : 607630.2714785358, + "50.0" : 749836.7078064189, + "90.0" : 770618.6812001669, + "95.0" : 790191.8540364243, + "99.0" : 795260.543430903, + "99.9" : 795260.543430903, + "99.99" : 795260.543430903, + "99.999" : 795260.543430903, + "99.9999" : 795260.543430903, + "100.0" : 795260.543430903 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 738921.6909779469, + 749836.7078064189, + 750728.5364170067, + 704735.926217486, + 700863.4075375485 + ], + [ + 752223.2605620193, + 737080.4813604723, + 720703.0566244038, + 736161.0328130038, + 743471.2872312044 + ], + [ + 755485.3525748033, + 753460.0215460863, + 750460.0202082617, + 755404.4976939672, + 739276.0345560064 + ], + [ + 778364.9121159742, + 754362.8710065439, + 759383.934001012, + 738926.4580973197, + 752904.0192122511 + ], + [ + 795260.543430903, + 742964.0182136502, + 735963.5115785657, + 607630.2714785358, + 765454.5272562954 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c9.json b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c9.json new file mode 100644 index 00000000..fe419a23 --- /dev/null +++ b/benchmarking/src/main/scripts/results/8.1.0/zulu/serializer/zulu-r9-c9.json @@ -0,0 +1,244 @@ +[ + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_node", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 752306.5781477718, + "scoreError" : 10481.59709187876, + "scoreConfidence" : [ + 741824.981055893, + 762788.1752396505 + ], + "scorePercentiles" : { + "0.0" : 727806.4694107316, + "50.0" : 753977.9214663953, + "90.0" : 771967.6959642471, + "95.0" : 773304.7493550834, + "99.0" : 773756.5765408332, + "99.9" : 773756.5765408332, + "99.99" : 773756.5765408332, + "99.999" : 773756.5765408332, + "99.9999" : 773756.5765408332, + "100.0" : 773756.5765408332 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 754904.9041424397, + 771315.7347097509, + 772250.4859216674, + 773756.5765408332, + 771779.169325967 + ], + [ + 766342.3257524945, + 762587.5826668241, + 760201.8418733308, + 767004.891948862, + 751230.2573351052 + ], + [ + 736124.6758250906, + 727806.4694107316, + 732821.0275997652, + 729247.6221427233, + 735220.0507696776 + ], + [ + 755960.0681042752, + 753584.3038539807, + 754315.2126371718, + 757455.267895243, + 753977.9214663953 + ], + [ + 739424.5135898896, + 745700.4379996649, + 747288.4775784435, + 746362.5795606661, + 741002.0550433014 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.jackson_pojo", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 927839.7769152469, + "scoreError" : 8107.904758469468, + "scoreConfidence" : [ + 919731.8721567774, + 935947.6816737163 + ], + "scorePercentiles" : { + "0.0" : 908386.1586552677, + "50.0" : 929055.5969233053, + "90.0" : 941371.961568093, + "95.0" : 941919.1642498382, + "99.0" : 941960.270971467, + "99.9" : 941960.270971467, + "99.99" : 941960.270971467, + "99.999" : 941960.270971467, + "99.9999" : 941960.270971467, + "100.0" : 941960.270971467 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 939435.6451929128, + 941823.2485660377, + 934795.8354391936, + 935565.0343691424, + 941960.270971467 + ], + [ + 918405.0788157514, + 914792.2930703231, + 913973.4588132445, + 920646.640077514, + 918255.9149498512 + ], + [ + 918268.9082392463, + 919835.9050705313, + 918391.0990890467, + 908386.1586552677, + 910197.7381194567 + ], + [ + 938841.4252136265, + 940218.1363546645, + 938074.28639032, + 935725.496013323, + 941071.1035694632 + ], + [ + 928339.1057351434, + 932304.5292302431, + 929055.5969233053, + 930348.5668239264, + 927282.9471881681 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.23", + "benchmark" : "jsonvalues.benchmark.JsSerializers.json_values", + "mode" : "thrpt", + "threads" : 1, + "forks" : 5, + "jvm" : "/Users/rmerino/.sdkman/candidates/java/9.0.7-zulu/bin/java", + "jvmArgs" : [ + "-Xms256m" + ], + "jdkVersion" : "9.0.7.1", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "9.0.7.1+1", + "warmupIterations" : 5, + "warmupTime" : "10 s", + "warmupBatchSize" : 1, + "measurementIterations" : 5, + "measurementTime" : "10 s", + "measurementBatchSize" : 1, + "primaryMetric" : { + "score" : 800609.0491174283, + "scoreError" : 11009.725158211499, + "scoreConfidence" : [ + 789599.3239592167, + 811618.7742756398 + ], + "scorePercentiles" : { + "0.0" : 768194.0040372808, + "50.0" : 801656.9453938104, + "90.0" : 823411.9921969025, + "95.0" : 825765.071997632, + "99.0" : 826546.767021765, + "99.9" : 826546.767021765, + "99.99" : 826546.767021765, + "99.999" : 826546.767021765, + "99.9999" : 826546.767021765, + "100.0" : 826546.767021765 + }, + "scoreUnit" : "ops/s", + "rawData" : [ + [ + 806666.7927513531, + 807925.7879185702, + 802063.6856670465, + 805331.8674826563, + 804889.4288145545 + ], + [ + 799887.3918402387, + 801656.9453938104, + 802975.3852864926, + 796964.3244776967, + 803359.897395956 + ], + [ + 795757.0582525803, + 798564.9954481927, + 791426.6744227624, + 793986.95287941, + 796090.2406402659 + ], + [ + 779053.8420688979, + 782314.4038395351, + 783587.7705550388, + 768194.0040372808, + 782996.4328505673 + ], + [ + 818761.1905974287, + 819224.0289849959, + 823059.2423672898, + 823941.1169413216, + 826546.767021765 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index cd0c4dd4..2d307548 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,8 +1,31 @@ # JSON-VALUES -## v8.1.0 ( Mon Jun 29 2020 21:36:48 GMT+0200 (Central European Summer Time) ) - +## v8.2.0 ( Wed Jul 15 2020 18:56:42 GMT+0200 (Central European Summer Time) ) ## Features - - 🎸 linkedhashmap implementation + - 🎸 prism from string to instant + ([a22db78a](https://github.com/imrafaelmerino/json-values/commit/a22db78a17bc36478c26c84684a1e6604eefdf8a)) + - 🎸 prism from base64 encoded string to byte[] + ([dba98a78](https://github.com/imrafaelmerino/json-values/commit/dba98a789f269d20e7376d14c655a5198cadb2e1)) + - 🎸 optics for new types binary and instant + ([5dc63ec0](https://github.com/imrafaelmerino/json-values/commit/5dc63ec043adfd83b261d043123619dd690baea9)) + - 🎸 new types JsBinary and JsInstant + ([8abbfe0f](https://github.com/imrafaelmerino/json-values/commit/8abbfe0f3bf1ca4113d9732929bc9cd6cdc9e9e0)) + +## Documentation + - ✏️ added circle badge + ([b5872584](https://github.com/imrafaelmerino/json-values/commit/b5872584f4627f679c61e9536a0cdaaa9acfcf1a)) + - ✏️ notice file update + ([132e116f](https://github.com/imrafaelmerino/json-values/commit/132e116f41f241931413983c9ad6ce716a657c7a)) + + + + +## Test + - 💍 rename test classes + ([84b88803](https://github.com/imrafaelmerino/json-values/commit/84b888037d684d3d4d5a2e55b51fbe4fa479373a)) + - 💍 binary and instant tests for generators + ([0c44d75a](https://github.com/imrafaelmerino/json-values/commit/0c44d75af23e851e6f5f48f3bcbb5d74b4c1f9b2)) + + diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md deleted file mode 100644 index c5e45394..00000000 --- a/docs/CONTRIBUTING.md +++ /dev/null @@ -1,33 +0,0 @@ -First off, thanks for taking the time to contribute! 👏 -- [Found an Issue or Bug?](fib) -- [Missing a Feature?](maf) -- [Want a fix doc?](doc) -- [Pull Request Submission Guidelines](pr) -- [Release](Release) - -## Found an Issue or Bug? -If you find a bug in the source code, you can help json-values by submitting an [issue](https://github.com/imrafaelmerino/json-values/issues/new?assignees=imrafaelmerino&labels=bug&template=bug_report.md&title=) to the GitHub Repository. Even better, you can submit a Pull Request with a fix. -## Missing a Feature? -You can request a new feature by submitting an [issue](https://github.com/imrafaelmerino/json-values/issues/new?assignees=imrafaelmerino&labels=enhancement&template=feature_request.md&title=) -to the GitHub Repository. -If you would like to implement a new feature, then consider what kind of change it is: - -Significant Changes that you wish to contribute to the project should be discussed first in a GitHub issue that clearly outlines the changes and benefits of the feature. - -Small Changes can directly be crafted and submitted to the GitHub Repository as a Pull Request. -## Want a fix doc? -If you find a typo, a better way of explaining something, or you want to add something new, please, -open an issue and submit a pull request with the update. I'm not a native english speaker, so all your feedback -is more than welcoming. -## Pull Request Submission Guidelines -Commit your changes using a descriptive commit message that follows the [AngularJS commit conventions](https://gist.github.com/stephenparish/9941e89d80e2bc58a153). -Adherence to the commit message conventions is required because release notes are automatically generated from these messages. -I use [git-cz](https://www.npmjs.com/package/git-cz) for this purpose and [git-changelog](https://github.com/git-chglog/git-chglog) to generate the changelog file of -every release. You'll be able to confirm the pull request if all the checks pass. For now the project is integrated with TravisCI, CircleCI, and SonarCloud. - -## Release -After merging the pull request, I tag master with the new version number, which triggers the -release process in TravisCI. It deploys the artifact to Maven Central and creates a draft of the release in GitHub. After checking that the artifact -can be found in [Maven Central](https://search.maven.org/search?q=g:com.github.imrafaelmerino%20a:json-values), which usually takes from ten minutes to 10 hours, -and after the Javadoc has been uploaded to [javadoc.io](https://www.javadoc.io/doc/com.github.imrafaelmerino/json-values), which takes up -to 24 hours, I consolidate the version in GitHub. diff --git a/docs/README.md b/docs/README.md index fbd2fc9a..a2167540 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/imrafaelmerino/json-values.svg?branch=master)](https://travis-ci.org/imrafaelmerino/json-values) +[![CircleCI](https://circleci.com/gh/imrafaelmerino/json-values/tree/master.svg?style=svg)](https://circleci.com/gh/imrafaelmerino/json-values/tree/master) [![codecov](https://codecov.io/gh/imrafaelmerino/json-values/branch/master/graph/badge.svg)](https://codecov.io/gh/imrafaelmerino/json-values) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=imrafaelmerino_json-values&metric=alert_status)](https://sonarcloud.io/dashboard?id=imrafaelmerino_json-values) @@ -6,7 +7,7 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Javadocs](https://www.javadoc.io/badge/com.github.imrafaelmerino/json-values.svg)](https://www.javadoc.io/doc/com.github.imrafaelmerino/json-values) -[![Maven](https://img.shields.io/maven-central/v/com.github.imrafaelmerino/json-values/8.1.0)](https://search.maven.org/artifact/com.github.imrafaelmerino/json-values/8.1.0/jar) +[![Maven](https://img.shields.io/maven-central/v/com.github.imrafaelmerino/json-values/8.2.0)](https://search.maven.org/artifact/com.github.imrafaelmerino/json-values/8.2.0/jar) [![](https://jitpack.io/v/imrafaelmerino/json-values.svg)](https://jitpack.io/#imrafaelmerino/json-values) [![Gitter](https://badges.gitter.im/json-values/community.svg)](https://gitter.im/json-values/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) @@ -16,7 +17,6 @@ - [When not to use it](#notwhatfor) - [Requirements](#requirements) - [Installation](#installation) -- [Want to help](#wth) - [Related projects](#rp) ## Introduction @@ -34,12 +34,11 @@ efficient, especially when copy-on-write is the only option to avoid mutation. but you can't benefit from all the advantage that immutability brings to your code because **Java doesn't provide Persistent Data Structures**. The thing is that Java 8 brought functions, lambdas, lazy evaluation to some extent, and streams, but without immutability, something is still missing, and as _**Pat Helland**_ said, [Immutability Changes Everything!](http://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf) -* You manipulate Jsons all the time, and you'd like to do it with less ceremony. **json-values** is declarative and takes advantages of all the new features that were introduced +* You manipulate Jsons all the time, and you'd like to do it with less ceremony. **json-values** is declarative and takes advantages of all the features that were introduced in Java 8, like functions, suppliers, streams, and collectors, making json manipulation simple, fast, and efficient. * Simplicity matters, and I 'd argue that **json-values** is simple. * As a developer, I'm convinced that code should win arguments, so let me enumerate some examples, where I -leave the functions passed in as arguments with no implementation for brevity reasons (go to the [project page](https://imrafaelmerino.github.io/json-values/) for further -details) +leave the functions passed in as arguments with no implementation for brevity reasons. ``` json.mapKeys(toSneakeCase) @@ -65,15 +64,13 @@ I'd argue that it's straightforward, expressive, and concise. And that plus the data structure shows very well the essence of **json-values**. That was just a little taste! Data generation and validation are significant in software. -If you struggle to generate data, it slows down the testing. -On the other hand, corrupt data can propagate throughout your system and cause a nightmare. Errors that blow up in your face -are way better! If you think about it, the definition, validation, and generation of a JSON value could be -implemented using the same data structure; after all, the three are just bindings with different -elements: values, generators, or specifications. Let's check out an example: +If you think about it, the definition, validation, and generation of a JSON could be +implemented using the same data structure; after all, the three of them are just bindings with different +elements: values, generators, or specifications. Let's check out some examples. -``` -// defining a json object +Defining a json object: +``` var person = JsObj.of("name", JsStr.of("Rafael"), "age", JsInt.of(37), "languages", JsArray.of("Haskell", "Scala", "Java", "Clojure") @@ -85,42 +82,37 @@ var person = JsObj.of("name", JsStr.of("Rafael"), ) ); -// defining a json spec. strict means: keys different than the specified are not allowed -var addressSpec=JsObjSpec.lenient("city", JsSpecs.str, - "country",JsSpecs.str.optional().nullable() - "location", JsSpecs.tuple(JsSpecs.decimal, - JsSpecs.decimal - ) +``` + +Defining a json spec; strict means: keys different from the specified are not allowed: + +``` +import static jsonvalues.spec.JsSpecs; + +var addressSpec=JsObjSpec.lenient("city", str, + "country",str.optional().nullable() + "location", tuple(decimal, + decimal + ) ); -var spec = JsObjSpec.strict("name", JsSpecs.str, - "age", JsSpecs.integer(n-> n>15 && n<100), - "languages", JsSpecs.arrayOfStr, - "github", JsSpecs.str.optional(), - "profession", JsSpecs.str.nullable(), +var spec = JsObjSpec.strict("name", str, + "age", integer(n-> n>15 && n<100), + "languages", arrayOfStr, + "github", str.optional(), + "profession", str.nullable(), "address", addressSpec ); -// defining a json generator -var addressGen = JsObjGen.of("city", JsGens.oneOf(cities), - "country",JsGens.oneOf(countries).optional().nullable(), - "location", JsGens.tuple(JsGens.decimal, - JsGens.decimal - ) - ); -var gen = JsObjGen.of("name", JsGens.alphabetic, - "age", JsGens.choose(18,100), - "languages", JsGens.arrayOf(JsGens.str,10), - "github", JsGens.alphanumeric.optional(), - "profession", JsGens.oneOf(professions).nullable(), - "address", addressGen - ); - // if the object doesn't conform the spec, the errors and their locations are returned in a set Set errors = spec.test(person); -// you can use a spec to parse a string! as soon as an error is found, the parsing ends. +``` + +We can use a spec to parse a string! As soon as an error is found, the parsing ends. + +``` byte[] jsonBytes = ...; String jsonStr = ...; @@ -132,7 +124,28 @@ var b = parser.parse(jsonStr); ``` -We can create futures as well following the same philosophy: +Defining a json generator: + +``` +import static jsonvalues.gen.JsGens; + +var addressGen = JsObjGen.of("city", oneOf(cities), + "country",oneOf(countries).optional().nullable(), + "location", tuple(decimal, + decimal + ) + ); +var gen = JsObjGen.of("name", alphabetic, + "age", choose(18,100), + "languages", arrayOf(str,10), + "github", alphanumeric.optional(), + "profession", oneOf(professions).nullable(), + "address", addressGen + ); + +``` + +Defining a future following the same philosophy: ``` CompletableFuture nameFut, ageFut, languagesFut,handleFut,; @@ -158,7 +171,6 @@ CompletableFuture completableFuture = future.get(); We can even create suppliers: ``` -//given some suppliers Supplier name, age, languages, handle; Supplier profession, street, lon, lat, country; @@ -180,12 +192,15 @@ JsObj obj = supplier.get(); ``` +It supports the standard Json types: string, number, null, object, array; There are five number especializations: +int, long, double, decimal and biginteger. json-values adds support for instants and binary data. Instants +are serialized into its string representation according to ISO-8601; and the binary type is serialized into a +string encoded in base 64. + I've written about json-values on my [blog](http://blog.imrafaelmerino.dev): * [The value of json values - Recursive data structures](http://blog.imrafaelmerino.dev/2020/06/the-value-of-json-values-recursive-data.html) * [The value of json values - Optics](https://blog.imrafaelmerino.dev/2020/06/the-value-of-json-values-optics.html) - - ## When not to use it **json-values** fits well in _pure_ OOP and incredibly well in FP, but NOT in _EOOP_, which stands for Enterprise Object-Oriented Programming. Don't create yet another fancy abstraction with getters and setters @@ -199,13 +214,10 @@ Add the following dependency to your building tool: com.github.imrafaelmerino json-values - 8.1.0 + 8.2.0 ``` -## Want to help -I've set up a separate document for [contributors](./CONTRIBUTING.md). - ## Related projects “Ideas are like rabbits. You get a couple and learn how to handle them, and pretty soon you have a dozen.” – John Steinbeck diff --git a/pom.xml b/pom.xml index ae88724a..725a9aed 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.imrafaelmerino json-values jar - 8.1.0 + 8.2.0 json-values json-values is a functional Java library to work with immutable jsons using persistent data structures. @@ -31,20 +31,15 @@ 2.11.0 UTF-8 - 1.14.0 - 2.12.8 - 3.0.7 3.8.0 - 4.0.1 - 2.0.0 - 1.8 - 1.8 + 8 + 8 json-values 0.8.4 3.0.1 1.6 1.6.8 - 3.1.1 + 3.2.0 2.22.0 1.9.5 0.10.3 @@ -55,37 +50,19 @@ vavr ${vavr.version} - - org.scalacheck - scalacheck_2.12 - ${DEPENDENCY_SCALA_CHECK_VERSION} - test - - + com.dslplatform dsl-json ${dsl-json.version} - com.fasterxml.jackson.core jackson-core ${JACKSON-VERSION} - - org.scalatest - scalatest_2.12 - ${DEPENDENCY_SCALA_TEST_VERSION} - test - - - org.scala-lang - scala-library - ${DEPENDENCY_SCALA_VERSION} - test - + org.junit.jupiter junit-jupiter-api @@ -109,24 +86,6 @@ - - net.alchim31.maven - scala-maven-plugin - ${PLUGIN_SCALA_VERSION} - - incremental - -deprecation - -deprecation - - - - compile - - testCompile - - - - org.apache.maven.plugins maven-surefire-plugin @@ -136,25 +95,13 @@ false - - org.scalatest - scalatest-maven-plugin - ${PLUGIN_SCALA_TEST_VERSION} - - - test - - test - - - - org.apache.maven.plugins maven-javadoc-plugin ${MAVEN-JAVADOC-PLUGIN.VERSION} 8 + false diff --git a/scripts/errorprone.sh b/scripts/errorprone.sh deleted file mode 100755 index 5c8dbdea..00000000 --- a/scripts/errorprone.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash - -#THIS SCRIPT HAS BEEN TESTED WITH JAVA 9 FROM ORACLE -JAVA_PATH=${HOME}/.sdkman/candidates/java/9.0.1-oracle/bin/javac - -CURRENT_DIR=$(dirname "$0") -LIB_DIR=${CURRENT_DIR}/libs -WORK_DIR=${CURRENT_DIR}/.tmp -PROJECT_HOME=${CURRENT_DIR}/../src/main/java -CLASSPATH="${LIB_DIR}/scala-library-2.12.8.jar" - -mkdir -p ${WORK_DIR}/classes/ -rm -rf ${WORK_DIR}/classes/* -rm ${WORK_DIR}/sources.txt -find ${PROJECT_HOME} -name "*.java" > ${WORK_DIR}/sources.txt - -${JAVA_PATH} \ --encoding utf8 \ --XDcompilePolicy=simple \ --processorpath ${LIB_DIR}/failureaccess-1.0.jar:${LIB_DIR}/error_prone_core-2.3.3-with-dependencies.jar:${LIB_DIR}/dataflow-2.5.7.jar:${LIB_DIR}/javacutil-2.5.7.jar:jFormatString-4.1.0.jar \ -'-Xplugin:ErrorProne -XepDisableAllChecks -Xep:CollectionIncompatibleType:ERROR' \ --cp "${CLASSPATH}" \ --d ${WORK_DIR}/classes/ \ -@/${WORK_DIR}/sources.txt - diff --git a/src/main/java/com/dslplatform/json/parsers/AbstractParser.java b/src/main/java/com/dslplatform/json/parsers/AbstractParser.java index 8628c702..85fbd0db 100644 --- a/src/main/java/com/dslplatform/json/parsers/AbstractParser.java +++ b/src/main/java/com/dslplatform/json/parsers/AbstractParser.java @@ -8,7 +8,6 @@ import jsonvalues.JsValue; abstract class AbstractParser { - final static HashMap EMPTY_MAP = HashMap.empty(); final static JsObj EMPTY_OBJ = JsObj.empty(); JsValue nullOrValue(final JsonReader reader) throws JsParserException { diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfDecimalParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfDecimalParser.java index bd9bd183..f67ce119 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfDecimalParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfDecimalParser.java @@ -15,7 +15,7 @@ final class JsArrayOfDecimalParser extends JsArrayParser { - private JsDecimalParser parser; + private final JsDecimalParser parser; JsArrayOfDecimalParser(final JsDecimalParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntParser.java index ee22f5e4..4a237bf2 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntParser.java @@ -13,7 +13,7 @@ import java.util.function.IntFunction; final class JsArrayOfIntParser extends JsArrayParser { - private JsIntParser parser; + private final JsIntParser parser; JsArrayOfIntParser(final JsIntParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntegralParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntegralParser.java index e1553822..3c847fcc 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntegralParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfIntegralParser.java @@ -15,7 +15,7 @@ final class JsArrayOfIntegralParser extends JsArrayParser { - private JsIntegralParser parser; + private final JsIntegralParser parser; JsArrayOfIntegralParser(final JsIntegralParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfLongParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfLongParser.java index 0cc46265..52592515 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfLongParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfLongParser.java @@ -13,7 +13,7 @@ import java.util.function.LongFunction; final class JsArrayOfLongParser extends JsArrayParser { - private JsLongParser parser; + private final JsLongParser parser; JsArrayOfLongParser(final JsLongParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfNumberParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfNumberParser.java index feb5693f..4ae77f72 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfNumberParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfNumberParser.java @@ -15,7 +15,7 @@ final class JsArrayOfNumberParser extends JsArrayParser { - private JsNumberParser parser; + private final JsNumberParser parser; JsArrayOfNumberParser(final JsNumberParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfObjParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfObjParser.java index 70982f9e..de79fcfd 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfObjParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfObjParser.java @@ -15,7 +15,7 @@ final class JsArrayOfObjParser extends JsArrayParser { - private JsObjParser parser; + private final JsObjParser parser; JsArrayOfObjParser(final JsObjParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfStringParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfStringParser.java index ab564efd..7e3742c5 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfStringParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfStringParser.java @@ -13,7 +13,7 @@ import java.util.function.Function; final class JsArrayOfStringParser extends JsArrayParser { - private JsStrParser parser; + private final JsStrParser parser; JsArrayOfStringParser(final JsStrParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayOfValueParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayOfValueParser.java index b41de323..8ec6610a 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayOfValueParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayOfValueParser.java @@ -13,7 +13,7 @@ import java.util.function.Function; final class JsArrayOfValueParser extends JsArrayParser { - private JsValueParser parser; + private final JsValueParser parser; JsArrayOfValueParser(final JsValueParser parser) { super(Objects.requireNonNull(parser)); diff --git a/src/main/java/com/dslplatform/json/parsers/JsArrayParser.java b/src/main/java/com/dslplatform/json/parsers/JsArrayParser.java index d495cdaf..f46670d2 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsArrayParser.java +++ b/src/main/java/com/dslplatform/json/parsers/JsArrayParser.java @@ -54,16 +54,7 @@ boolean ifIsEmptyArray(final JsonReader reader) throws JsParserException { } } - private JsArray appendNullOrValue(final JsonReader reader, - final JsArray buffer - ) throws JsParserException { - try { - return reader.wasNull() ? buffer.append(JsNull.NULL) : buffer.append(parser.value(reader)); - } catch (ParsingException e) { - throw new JsParserException(e.getMessage()); - } - } public JsValue nullOrArraySuchThat(final JsonReader reader, final Function> fn diff --git a/src/main/java/com/dslplatform/json/parsers/JsBinaryParser.java b/src/main/java/com/dslplatform/json/parsers/JsBinaryParser.java new file mode 100644 index 00000000..18b51569 --- /dev/null +++ b/src/main/java/com/dslplatform/json/parsers/JsBinaryParser.java @@ -0,0 +1,36 @@ +package com.dslplatform.json.parsers; + +import com.dslplatform.json.JsonReader; +import jsonvalues.JsBinary; +import jsonvalues.spec.Error; +import java.io.IOException; +import java.util.Optional; +import java.util.function.Function; + +final class JsBinaryParser extends AbstractParser { + @Override + JsBinary value(final JsonReader reader) throws JsParserException { + try { + return JsBinary.of(reader.readBase64()); + } catch (IOException e) { + throw new JsParserException(e.getMessage()); + } + } + + JsBinary valueSuchThat(final JsonReader reader, + final Function> fn + ) throws JsParserException { + try { + final byte[] value = reader.readBase64(); + final Optional result = fn.apply(value); + if (!result.isPresent()) return JsBinary.of(value); + throw reader.newParseError(result.toString()); + } catch (IOException e) { + throw new JsParserException(e.getMessage()); + + } + + } + + +} diff --git a/src/main/java/com/dslplatform/json/parsers/JsInstantParser.java b/src/main/java/com/dslplatform/json/parsers/JsInstantParser.java new file mode 100644 index 00000000..494b1730 --- /dev/null +++ b/src/main/java/com/dslplatform/json/parsers/JsInstantParser.java @@ -0,0 +1,41 @@ +package com.dslplatform.json.parsers; + +import com.dslplatform.json.JsonReader; +import jsonvalues.JsInstant; +import jsonvalues.spec.Error; +import java.io.IOException; +import java.time.Instant; +import java.time.format.DateTimeParseException; +import java.util.Optional; +import java.util.function.Function; + +import static java.time.format.DateTimeFormatter.ISO_INSTANT; + +final class JsInstantParser extends AbstractParser { + @Override + JsInstant value(final JsonReader reader) throws JsParserException { + try { + return JsInstant.of(Instant.from(ISO_INSTANT.parse(reader.readString()))); + } catch (IOException | DateTimeParseException e) { + throw new JsParserException(e.getMessage()); + } + + } + + JsInstant valueSuchThat(final JsonReader reader, + final Function> fn + ) throws JsParserException { + try { + final Instant value = Instant.from(ISO_INSTANT.parse(reader.readString())); + final Optional result = fn.apply(value); + if (!result.isPresent()) return JsInstant.of(value); + throw reader.newParseError(result.toString()); + } catch (IOException | DateTimeParseException e) { + throw new JsParserException(e.getMessage()); + + } + + } + + +} diff --git a/src/main/java/com/dslplatform/json/parsers/JsParsers.java b/src/main/java/com/dslplatform/json/parsers/JsParsers.java index 6eafc5a1..5bce1d1c 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsParsers.java +++ b/src/main/java/com/dslplatform/json/parsers/JsParsers.java @@ -2,9 +2,9 @@ class JsParsers { public final static JsParsers PARSERS = new JsParsers(); - - ; + public final JsInstantParser instantParser; public final JsIntParser intParser; + public final JsBinaryParser binaryParser; public final JsLongParser longParser; public final JsIntegralParser integralParser; public final JsBoolParser boolParser; @@ -23,7 +23,9 @@ class JsParsers { public final JsArrayOfStringParser arrayOfStrParser; public final JsArrayOfBoolParser arrayOfBoolParser; private JsParsers() { + instantParser = new JsInstantParser(); intParser = new JsIntParser(); + binaryParser = new JsBinaryParser(); longParser = new JsLongParser(); integralParser = new JsIntegralParser(); boolParser = new JsBoolParser(); diff --git a/src/main/java/com/dslplatform/json/parsers/JsSpecParsers.java b/src/main/java/com/dslplatform/json/parsers/JsSpecParsers.java index 18d2ea74..4e7815b1 100644 --- a/src/main/java/com/dslplatform/json/parsers/JsSpecParsers.java +++ b/src/main/java/com/dslplatform/json/parsers/JsSpecParsers.java @@ -8,6 +8,7 @@ import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; import java.util.Optional; import java.util.function.*; @@ -666,6 +667,46 @@ public JsSpecParser ofArrayOfIntEachSuchThat(IntFunction> p, ); } + public JsSpecParser ofBinary(boolean nullable) { + return getParser(PARSERS.binaryParser, + nullable + ); + } + + public JsSpecParser ofBinarySuchThat(Function> predicate, + boolean nullable + ) { + + if (nullable) return reader -> + { + JsValue value = PARSERS.binaryParser.nullOrValue(reader); + if (value == JsNull.NULL) return value; + else { + testTypeAndSpec(v -> value.isBinary(), + v -> v.toJsBinary().value, + predicate::apply, + () -> new IllegalStateException("JsBinaryDeserializer.nullOrValue didn't return neither null or a byte[] as expected.") + ).apply(value) + .ifPresent(e -> newParseException.apply(reader, + e + ) + ); + + return value; + } + + }; + else return reader -> + { + JsBinary value = PARSERS.binaryParser.value(reader); + final Optional result = predicate.apply(value.value); + if (!result.isPresent()) return value; + else throw newParseException.apply(reader, + result.get() + ); + + }; + } public JsSpecParser ofInt(boolean nullable) { return getParser(PARSERS.intParser, @@ -709,4 +750,44 @@ public JsSpecParser ofIntSuchThat(IntFunction> predicate, } + public JsSpecParser ofInstant(boolean nullable) { + return getParser(PARSERS.instantParser, + nullable + ); + } + + public JsSpecParser ofInstantSuchThat(Function> predicate, + boolean nullable + ) { + + if (nullable) return reader -> + { + JsValue value = PARSERS.instantParser.nullOrValue(reader); + if (value == JsNull.NULL) return value; + else { + testTypeAndSpec(v -> value.isInstant(), + v -> v.toJsInstant().value, + predicate::apply, + () -> new IllegalStateException("JsInstantDeserializer.nullOrValue didn't return neither null or an instant as expected.") + ).apply(value) + .ifPresent(e -> newParseException.apply(reader, + e + ) + ); + + return value; + } + + }; + else return reader -> + { + JsInstant value = PARSERS.instantParser.value(reader); + final Optional result = predicate.apply(value.value); + if (!result.isPresent()) return value; + else throw newParseException.apply(reader, + result.get() + ); + + }; + } } diff --git a/src/main/java/com/dslplatform/json/serializers/JsArraySerializer.java b/src/main/java/com/dslplatform/json/serializers/JsArraySerializer.java index 495bad8d..97b063d3 100644 --- a/src/main/java/com/dslplatform/json/serializers/JsArraySerializer.java +++ b/src/main/java/com/dslplatform/json/serializers/JsArraySerializer.java @@ -6,7 +6,7 @@ public final class JsArraySerializer implements JsonWriter.WriteObject { - private JsValueSerializer valueSerializer; + private final JsValueSerializer valueSerializer; public JsArraySerializer(final JsValueSerializer valueSerializer) { this.valueSerializer = valueSerializer; diff --git a/src/main/java/com/dslplatform/json/serializers/JsObjSerializer.java b/src/main/java/com/dslplatform/json/serializers/JsObjSerializer.java index 9608ed42..01a25903 100644 --- a/src/main/java/com/dslplatform/json/serializers/JsObjSerializer.java +++ b/src/main/java/com/dslplatform/json/serializers/JsObjSerializer.java @@ -9,7 +9,7 @@ public final class JsObjSerializer implements JsonWriter.WriteObject { - private JsValueSerializer valueSerializer; + private final JsValueSerializer valueSerializer; public JsObjSerializer(final JsValueSerializer valueSerializer) { this.valueSerializer = valueSerializer; diff --git a/src/main/java/com/dslplatform/json/serializers/JsValueSerializer.java b/src/main/java/com/dslplatform/json/serializers/JsValueSerializer.java index d3680849..348d7ce6 100644 --- a/src/main/java/com/dslplatform/json/serializers/JsValueSerializer.java +++ b/src/main/java/com/dslplatform/json/serializers/JsValueSerializer.java @@ -2,12 +2,12 @@ import com.dslplatform.json.JsonWriter; import com.dslplatform.json.NumberConverter; -import jsonvalues.JsArray; -import jsonvalues.JsObj; -import jsonvalues.JsValue; +import jsonvalues.*; import java.util.Objects; +import static java.time.format.DateTimeFormatter.ISO_INSTANT; + public final class JsValueSerializer { @@ -27,56 +27,64 @@ void serialize(final JsonWriter writer, ) { switch (value.id()) { - case 0: { + case JsBool.ID: { writer.writeAscii(Boolean.toString(value.toJsBool().value)); break; } - case 1: { + case JsNull.ID: { writer.writeNull(); break; } - case 2: { + case JsStr.ID: { writer.writeString(value.toJsStr().value); break; } - case 3: { + case JsObj.ID: { objectSerializer.write(writer, value.toJsObj() ); break; } - case 4: { + case JsArray.ID: { arraySerializer.write(writer, value.toJsArray() ); break; } - case 5: - case 8: { + case JsDouble.ID: + case JsBigDec.ID: { NumberConverter.serialize(value.toJsBigDec().value, writer ); break; } - case 6: { + case JsBigInt.ID: { writer.writeAscii(value.toJsBigInt().value .toString()); break; } - case 7: { + case JsLong.ID: { NumberConverter.serialize(value.toJsLong().value, writer ); break; } - case 9: { + case JsInt.ID: { NumberConverter.serialize(value.toJsInt().value, writer ); break; } + case JsBinary.ID: { + writer.writeBinary(value.toJsBinary().value); + break; + } + case JsInstant.ID: { + writer.writeString(ISO_INSTANT.format(value.toJsInstant().value)); + break; + } default: throw new IllegalStateException("JsValue.id() not considered. Default branch of a switch statement was executed."); diff --git a/src/main/java/jsonvalues/JsBinary.java b/src/main/java/jsonvalues/JsBinary.java new file mode 100644 index 00000000..11f28a37 --- /dev/null +++ b/src/main/java/jsonvalues/JsBinary.java @@ -0,0 +1,91 @@ +package jsonvalues; +import java.util.Arrays; +import java.util.Base64; +import java.util.Optional; +import static java.util.Objects.requireNonNull; + +/** + Represents an array of bytes. This type is not part of the Json specification. It it serialized into + a string using Base64 encoding scheme. A JsBinary and a JsStr are equals if the string is the array + of bytes encoded in base64. + {@code + byte[] bytes = "foo".getBytes(); + String base64 = Base64.getEncoder().encodeToString(bytes); + JsBinary.of(bytes).equals(JsStr.of(base64)); // true + } + */ +public class JsBinary implements JsValue { + public static final int ID = 10; + public final byte[] value; + + /** + Creates a JsBinary from an array of bytes + @param bytes the array of bytes + @return an immutable JsBinary + */ + public static JsBinary of(final byte[] bytes){ + return new JsBinary(requireNonNull(bytes)); + } + + /** + Creates a JsBinary from an array of bytes encoded as a string in base64 + @param base64 the string + @throws IllegalArgumentException if {@code base64} is not in valid Base64 scheme + @return an immutable JsBinary + */ + public static JsBinary of(final String base64){ + return new JsBinary(requireNonNull(Base64.getDecoder().decode(base64))); + } + + private JsBinary(final byte[] value) { + this.value = value; + } + + /** + prism between the sum type JsValue and JsBinary + */ + public static Prism prism = + new Prism<>(s -> { + if(s.isBinary())return Optional.of(s.toJsBinary().value); + if(s.isStr()){ + return JsStr.base64Prism.getOptional.apply(s.toJsStr().value); + } + return Optional.empty(); + }, + JsBinary::of + ); + + + @Override + public int id() { + return ID; + } + + @Override + public boolean isBinary() { + return true; + } + + @Override + public String toString() { + return Base64.getEncoder().encodeToString(value); + } + + @Override + public boolean equals(final Object o) { + if (this == o) return true; + if (o == null) + return false; + if(o instanceof JsValue){ + return JsBinary.prism.getOptional.apply(((JsValue) o)) + .map(bytes -> Arrays.equals(bytes,value)) + .orElse(false); + } + return false; + } + + @Override + public int hashCode() { + return Arrays.hashCode(value); + } +} diff --git a/src/main/java/jsonvalues/JsBinaryLens.java b/src/main/java/jsonvalues/JsBinaryLens.java new file mode 100644 index 00000000..1d0673d3 --- /dev/null +++ b/src/main/java/jsonvalues/JsBinaryLens.java @@ -0,0 +1,15 @@ +package jsonvalues; + + +/** + Represent a Lens which focus is an array of bytes located at a path in a Json + + @param the type of the whole part, an array or an object */ +public class JsBinaryLens> extends Lens { + JsBinaryLens(final JsPath path) { + super(json -> json.getBinary(path), + o -> json -> json.set(path, + JsBinary.of(o)) + ); + } +} diff --git a/src/main/java/jsonvalues/JsInstant.java b/src/main/java/jsonvalues/JsInstant.java new file mode 100644 index 00000000..81bfb27c --- /dev/null +++ b/src/main/java/jsonvalues/JsInstant.java @@ -0,0 +1,83 @@ +package jsonvalues; + +import java.time.Instant; +import java.time.format.DateTimeFormatter; +import java.util.Objects; +import java.util.Optional; + +import static java.util.Objects.requireNonNull; + +/** + Represents an immutable instant. An instant is not part of the Json specification. It it serialized into + its a string representation using ISO-8601 representation. A JsInstant and a JsStr are equals + if both represent the same date. + {@code + Instant a = Instant.now(); + JsStr.of(a.toString()).equals(JsIntant.of(a)) // true + } + */ +public class JsInstant implements JsValue,Comparable{ + + public static final int ID = 11; + public final Instant value; + + public static JsInstant of(final Instant instant) { + return new JsInstant(Objects.requireNonNull(instant)); + } + + private JsInstant(final Instant value) { + this.value = value; + } + + /** + prism between the sum type JsValue and JsInstant + */ + public static Prism prism = + new Prism<>(s -> { + if (s.isInstant()) return Optional.of(s.toJsInstant().value); + if (s.isStr()) { + return JsStr.instantPrism.getOptional.apply(s.toJsStr().value); + } + return Optional.empty(); + }, + JsInstant::of + ); + + @Override + public int id() { + return ID; + } + + @Override + public boolean isInstant() { + return true; + } + + @Override + public String toString() { + return DateTimeFormatter.ISO_INSTANT.format(value); + } + + @Override + public boolean equals(final Object o) { + if (this == o) return true; + if (o == null) return false; + if (o instanceof JsValue) { + return JsInstant.prism.getOptional.apply(((JsValue) o)) + .map(instant -> instant.equals(value)) + .orElse(false); + } + return false; + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public int compareTo(final JsInstant o) { + return value.compareTo(requireNonNull(o).value); + + } +} diff --git a/src/main/java/jsonvalues/JsInstantLens.java b/src/main/java/jsonvalues/JsInstantLens.java new file mode 100644 index 00000000..63b1a88f --- /dev/null +++ b/src/main/java/jsonvalues/JsInstantLens.java @@ -0,0 +1,17 @@ +package jsonvalues; + + +import java.time.Instant; + +/** + Represent a Lens which focus is an Instant located at a path in a Json + + @param the type of the whole part, an array or an object */ +public class JsInstantLens> extends Lens { + JsInstantLens(final JsPath path) { + super(json -> json.getInstant(path), + o -> json -> json.set(path, + JsInstant.of(o)) + ); + } +} diff --git a/src/main/java/jsonvalues/JsInt.java b/src/main/java/jsonvalues/JsInt.java index 704a7071..eccce629 100644 --- a/src/main/java/jsonvalues/JsInt.java +++ b/src/main/java/jsonvalues/JsInt.java @@ -27,7 +27,7 @@ public final class JsInt extends JsNumber implements Comparable { }, JsInt::of ); - private static final int ID = 9; + public static final int ID = 9; /** The integer value. */ diff --git a/src/main/java/jsonvalues/JsLong.java b/src/main/java/jsonvalues/JsLong.java index 65295aa1..c643e733 100644 --- a/src/main/java/jsonvalues/JsLong.java +++ b/src/main/java/jsonvalues/JsLong.java @@ -10,7 +10,7 @@ Represents an immutable json number of type long. */ public final class JsLong extends JsNumber implements Comparable { - private static final int ID = 7; + public static final int ID = 7; /** prism between the sum type JsValue and JsLong diff --git a/src/main/java/jsonvalues/JsObj.java b/src/main/java/jsonvalues/JsObj.java index c5f8b3a6..cf8275f7 100644 --- a/src/main/java/jsonvalues/JsObj.java +++ b/src/main/java/jsonvalues/JsObj.java @@ -11,6 +11,7 @@ import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; import java.util.Iterator; import java.util.Objects; import java.util.Optional; @@ -53,7 +54,7 @@ public class JsObj implements Json, Iterable> { ); @SuppressWarnings("squid:S3008")//EMPTY should be a valid name private static final JsPath EMPTY_PATH = JsPath.empty(); - private static final int ID = 3; + public static final int ID = 3; private final Map map; private volatile int hascode; //squid:S3077: doesn't make any sese, volatile is perfectly valid here an as a matter of fact @@ -1450,6 +1451,22 @@ public BigDecimal getBigDec(final String key) { } + /** + Returns the bytes located at the given key or null if it doesn't exist or it's + not an array of bytes. + + @param key the key + @return the bytes located at the given key or null + */ + public byte[] getBinary(final String key) { + return JsBinary.prism.getOptional.apply(get(requireNonNull(key))) + .orElse(null); + + + } + + + /** Returns the big integer located at the given key as a big integer or null if it doesn't exist or it's not an integral number. @@ -1463,6 +1480,21 @@ public BigInteger getBigInt(final String key) { } + + /** + Returns the instant located at the given key or null if it doesn't exist or it's + not an instant. + + @param key the key + @return the instant located at the given key or null + */ + public Instant getInstant(final String key) { + return JsInstant.prism.getOptional.apply(get(requireNonNull(key))) + .orElse(null); + + + } + /** Returns the boolean located at the given key or null if it doesn't exist. diff --git a/src/main/java/jsonvalues/JsOptics.java b/src/main/java/jsonvalues/JsOptics.java index d0a5ed54..b2c99b09 100644 --- a/src/main/java/jsonvalues/JsOptics.java +++ b/src/main/java/jsonvalues/JsOptics.java @@ -2,6 +2,7 @@ import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; import static java.util.Objects.requireNonNull; @@ -246,6 +247,52 @@ public JsArrayLens array(final JsPath path) { public JsArrayLens array(final int index) { return new JsArrayLens<>(requireNonNull(JsPath.fromIndex(index))); } + + + /** + lens that focus on an array of bytes located at a path in an array + + @param path the path where the bytes are located at + @return a lens + */ + public JsBinaryLens binary(final JsPath path) { + if (path.head() + .isKey()) throw UserError.pathHeadIsNotAnIndex(path); + return new JsBinaryLens<>(requireNonNull(path)); + } + + /** + lens that focus on an array of bytes located at an index in an array + + @param index the index where the bytes are located at + @return a lens + */ + public JsBinaryLens binary(final int index) { + return new JsBinaryLens<>(requireNonNull(JsPath.fromIndex(index))); + } + + + /** + lens that focus on the array of bytes located at a path in an array + + @param path the path where the bytes are located at + @return a lens + */ + public JsInstantLens instant(final JsPath path) { + if (path.head() + .isKey()) throw UserError.pathHeadIsNotAnIndex(path); + return new JsInstantLens<>(requireNonNull(path)); + } + + /** + lens that focus on the array of bytes at an index in an array + + @param index the index where the bytes are located at + @return a lens + */ + public JsInstantLens instant(final int index) { + return new JsInstantLens<>(requireNonNull(JsPath.fromIndex(index))); + } } /** @@ -484,6 +531,30 @@ public Option array(final int index) { .compose(JsArray.prism); } + /** + optional that focus on the instant located at a path in an array + + @param path the path where the instant is located at + @return an optional + */ + public Option instant(final JsPath path) { + if (path.head() + .isKey()) throw UserError.pathHeadIsNotAnIndex(path); + + return JsOptics.array.lens.value(requireNonNull(path)) + .compose(JsInstant.prism); + } + + /** + optional that focus on the instant located at an index in an array + + @param index the index where the instant is located at + @return an optional + */ + public Option instant(final int index) { + return JsOptics.array.lens.value(index) + .compose(JsInstant.prism); + } } /** @@ -715,6 +786,55 @@ public Option array(final String key) { .compose(JsArray.prism); } + /** + optional that focus on the array of bytes located at a path in an object + + @param path the path where the bytes are located at + @return an optional + */ + public Option binary(final JsPath path) { + if (path.head() + .isIndex()) throw UserError.pathHeadIsNotAKey(requireNonNull(path)); + + return JsOptics.obj.lens.value(requireNonNull(path)) + .compose(JsBinary.prism); + } + + /** + optional that focus on the array of bytes located at a key in an object + + @param key the path where the bytes are located at + @return an optional + */ + public Option binary(final String key) { + return JsOptics.obj.lens.value(requireNonNull(key)) + .compose(JsBinary.prism); + } + + /** + optional that focus on the instant located at a path in an object + + @param path the path where the instant is located at + @return an optional + */ + public Option instant(final JsPath path) { + if (path.head() + .isIndex()) throw UserError.pathHeadIsNotAKey(requireNonNull(path)); + + return JsOptics.obj.lens.value(requireNonNull(path)) + .compose(JsInstant.prism); + } + + /** + optional that focus on the instant located at a key in an object + + @param key the path where the instant is located at + @return an optional + */ + public Option instant(final String key) { + return JsOptics.obj.lens.value(requireNonNull(key)) + .compose(JsInstant.prism); + } } /** @@ -951,5 +1071,56 @@ public JsArrayLens array(final JsPath path) { public JsArrayLens array(final String key) { return new JsArrayLens<>(requireNonNull(JsPath.fromKey(requireNonNull(key)))); } + + + + + /** + lens that focus on an array of bytes located at a path in an object. + + @param path the path where the array of bytes is located at + @return an optional + */ + public JsBinaryLens binary(final JsPath path) { + if (path.head() + .isIndex()) throw UserError.pathHeadIsNotAKey(requireNonNull(path)); + + return new JsBinaryLens<>(requireNonNull(path)); + } + + /** + lens that focus on an array of bytes located at a key in an object. + + @param key the key where the array of bytes is located at + @return an optional + */ + public JsBinaryLens binary(final String key) { + return new JsBinaryLens<>(requireNonNull(JsPath.fromKey(requireNonNull(key)))); + } + + + /** + lens that focus on an instant located at a path in an object. + + @param path the path where the instant is located at + @return an optional + */ + public JsInstantLens instant(final JsPath path) { + if (path.head() + .isIndex()) throw UserError.pathHeadIsNotAKey(requireNonNull(path)); + + return new JsInstantLens<>(requireNonNull(path)); + } + + /** + lens that focus on an instant located at a key in an object. + + @param key the key where the instant is located at + @return an optional + */ + public JsInstantLens instant(final String key) { + return new JsInstantLens<>(requireNonNull(JsPath.fromKey(requireNonNull(key)))); + } + } } diff --git a/src/main/java/jsonvalues/JsPath.java b/src/main/java/jsonvalues/JsPath.java index 2510f6d9..f0fe877a 100644 --- a/src/main/java/jsonvalues/JsPath.java +++ b/src/main/java/jsonvalues/JsPath.java @@ -83,13 +83,13 @@ public final class JsPath implements Comparable { if (it.isKey()) return Key.of(map.apply(it.asKey().name)); else return it; }; - private static UnaryOperator escape = token -> token.replace("~1", - "/" - ) - .replace("~0", + private static final UnaryOperator escape = token -> token.replace("~1", + "/" + ) + .replace("~0", "~" ); - private static UnaryOperator decode = token -> + private static final UnaryOperator decode = token -> { try { return URLDecoder.decode(token, diff --git a/src/main/java/jsonvalues/JsStr.java b/src/main/java/jsonvalues/JsStr.java index 17ed2afa..bded0a7b 100644 --- a/src/main/java/jsonvalues/JsStr.java +++ b/src/main/java/jsonvalues/JsStr.java @@ -1,5 +1,8 @@ package jsonvalues; +import java.time.Instant; +import java.time.format.DateTimeParseException; +import java.util.Base64; import java.util.Objects; import java.util.Optional; import java.util.function.Predicate; @@ -20,6 +23,30 @@ public final class JsStr implements JsValue, Comparable { new Prism<>(s -> s.isStr() ? Optional.of(s.toJsStr().value) : Optional.empty(), JsStr::of ); + + public static final Prism base64Prism = + new Prism<>(s -> { + try { + return Optional.of(Base64.getDecoder() + .decode(s.getBytes())); + } catch (IllegalArgumentException e) { + return Optional.empty(); + } + }, + bytes -> Base64.getEncoder().encodeToString(bytes) + ); + + public static final Prism instantPrism = + new Prism<>(s -> { + try { + return Optional.of(Instant.parse(s)); + } catch (DateTimeParseException e) { + return Optional.empty(); + } + }, + Instant::toString + ); + /** The string value. */ @@ -79,11 +106,20 @@ public int hashCode() { @Override public boolean equals(final Object that) { if (this == that) return true; - if (that == null || getClass() != that.getClass()) return false; - final JsStr thatStr = (JsStr) that; - return Objects.equals(value, - thatStr.value - ); + if (that == null ) return false; + if(that instanceof JsStr) { + final JsStr thatStr = (JsStr) that; + return Objects.equals(value, + thatStr.value + ); + } + else if(that instanceof JsInstant){ + return JsStr.instantPrism.reverseGet.apply(((JsInstant) that).value).equals(value); + } + else if(that instanceof JsBinary){ + return JsStr.base64Prism.reverseGet.apply(((JsBinary) that).value).equals(value); + } + return false; } /** @@ -116,4 +152,13 @@ public static JsStr of(String str) { return new JsStr(requireNonNull(str)); } + @Override + public boolean isBinary() { + return JsStr.base64Prism.getOptional.apply(value).isPresent(); + } + + @Override + public boolean isInstant() { + return JsStr.instantPrism.getOptional.apply(value).isPresent(); + } } diff --git a/src/main/java/jsonvalues/JsValue.java b/src/main/java/jsonvalues/JsValue.java index dfafd098..717dd17e 100644 --- a/src/main/java/jsonvalues/JsValue.java +++ b/src/main/java/jsonvalues/JsValue.java @@ -7,6 +7,7 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; +import java.util.Optional; import java.util.function.DoublePredicate; import java.util.function.IntPredicate; import java.util.function.LongPredicate; @@ -38,6 +39,33 @@ default JsBool toJsBool() { } } + /** + @return true if this JsValue is a JsBinary or a JsString which value is an array of + bytes encoded in base64 + */ + default boolean isBinary() { + return false; + } + + /** + @return true if this JsValue is a JsInstant or a JsString which value is a + date formatted in ISO-8601 + */ + default boolean isInstant() { + return false; + } + + + /** + Returns true if this elem is a JsInstant and satisfies the given predicate + + @param predicate the given predicate + @return true if this JsValue is a JsInstant and satisfies the predicate + */ + default boolean isInstant(Predicate predicate) { + return isInstant() && predicate.test(this.toJsInstant().value); + } + /** @return true if this JsValue is a JsBool */ @@ -98,6 +126,35 @@ default JsInt toJsInt() { } } + /** + @return this JsValue as a JsInt + @throws UserError if this JsValue is not a JsInt + */ + default JsInstant toJsInstant() { + if(this instanceof JsInstant) return ((JsInstant) this); + if(this instanceof JsStr) { + Optional instant = JsStr.instantPrism.getOptional.apply(((JsStr) this).value); + if(instant.isPresent()) return JsInstant.of(instant.get()); + } + + throw UserError.isNotAJsInstant(this); + } + + + /** + @return this JsValue as a JsBinary + @throws UserError if this JsValue is not a JsBinary + */ + default JsBinary toJsBinary() { + if(this instanceof JsBinary) return ((JsBinary) this); + if(this instanceof JsStr) { + Optional bytes = JsStr.base64Prism.getOptional.apply(((JsStr) this).value); + if(bytes.isPresent()) return JsBinary.of(bytes.get()); + } + + throw UserError.isNotAJsBinary(this); + } + /** Returns true if this elem is a JsDouble and satisfies the given predicate @@ -327,20 +384,6 @@ default JsBigInt toJsBigInt() { } } - /** - @return true if this JsValue is a JsStr that contains an instant in the format {@link DateTimeFormatter#ISO_INSTANT} - */ - default boolean isInstant() { - return isStr(str -> - { - try { - Instant.parse(str); - return true; - } catch (Exception e) { - return false; - } - }); - } /** Returns true if this elem is a JsStr and satisfies the given predicate @@ -371,129 +414,6 @@ default JsStr toJsStr() { } } - /** - Returns true if this elem is a JsStr that contains an Instant and satisfies the given predicate - - @param predicate the given predicate - @return true if this JsValue is a JsStr that contains an Instant and satisfies the predicate - */ - default boolean isInstant(Predicate predicate) { - return isStr(str -> - { - try { - final Instant instant = Instant.parse(str); - return predicate.test(instant); - } catch (DateTimeParseException e) { - return false; - } - - - }); - } - - /** - return true if this JsValue is a JsStr that contains a local date that can be parsed with the given formatter - - @param formatter the given formatter - @return true if this JsValue is a JsStr that contains a local date that can be parsed with the given formatter - */ - default boolean isLocalDate(DateTimeFormatter formatter) { - requireNonNull(formatter); - return isStr(str -> - { - try { - LocalDate.parse(str, - formatter - ); - return true; - } catch (Exception e) { - return false; - } - } - ); - } - - /** - return true if this JsValue is a JsStr that contains a local date that can be parsed with the given formatter - and satisfies the given predicate - - @param formatter the given formatter - @param predicate the given predicate - @return true if this JsValue is a JsStr that contains a local date that can be parsed with the formatter - and satisfies the predicate - */ - default boolean isLocalDate(DateTimeFormatter formatter, - Predicate predicate - ) { - requireNonNull(formatter); - requireNonNull(predicate); - return isStr(str -> - { - try { - final LocalDate localDate = LocalDate.parse(str, - formatter - ); - return predicate.test(localDate); - } catch (DateTimeParseException e) { - return false; - } - - - }); - - } - - /** - return true if this JsValue is a JsStr that contains a local date-time that can be parsed with the given formatter - - @param formatter the given formatter - @return true if this JsValue is a JsStr that contains a local date-time that can be parsed with the given formatter - */ - default boolean isLocalDateTime(DateTimeFormatter formatter) { - requireNonNull(formatter); - return isStr(str -> - { - try { - LocalDateTime.parse(str, - formatter - ); - return true; - } catch (Exception e) { - return false; - } - - }); - } - - /** - return true if this JsValue is a JsStr that contains a local date-time that can be parsed with the given formatter - and satisfies the given predicate - - @param formatter the given formatter - @param predicate the given predicate - @return true if this JsValue is a JsStr that contains a local date-time that can be parsed with the formatter - and satisfies the predicate - */ - default boolean isLocalDateTime(DateTimeFormatter formatter, - Predicate predicate - ) { - requireNonNull(formatter); - requireNonNull(predicate); - return isStr(str -> - { - try { - final LocalDateTime ldt = LocalDateTime.parse(str, - formatter - ); - return predicate.test(ldt); - } catch (DateTimeParseException e) { - return false; - } - - - }); - } - /** @return true if this element is an integral number (JsInt or JsLong or JsBigInt) */ diff --git a/src/main/java/jsonvalues/Json.java b/src/main/java/jsonvalues/Json.java index bdcc6e1e..634b3642 100644 --- a/src/main/java/jsonvalues/Json.java +++ b/src/main/java/jsonvalues/Json.java @@ -6,6 +6,7 @@ import java.io.OutputStream; import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; import java.util.Optional; import java.util.function.*; import java.util.stream.Stream; @@ -213,6 +214,29 @@ default Boolean getBool(final JsPath path) { } + /** + Returns the bytes located at the given path or null if it doesn't exist. + + @param path the path + @return the bytes located at the given JsPath or null + */ + default byte[] getBinary(final JsPath path) { + return JsBinary.prism.getOptional.apply(get(requireNonNull(path))) + .orElse(null); + + } + + /** + Returns the instant located at the given path or null if it doesn't exist. + + @param path the path + @return the instant located at the given JsPath or null + */ + default Instant getInstant(final JsPath path) { + return JsInstant.prism.getOptional.apply(get(requireNonNull(path))) + .orElse(null); + + } /** Returns the decimal number located at the given path as a double or null if it diff --git a/src/main/java/jsonvalues/UserError.java b/src/main/java/jsonvalues/UserError.java index 615ba42b..bfbfa496 100644 --- a/src/main/java/jsonvalues/UserError.java +++ b/src/main/java/jsonvalues/UserError.java @@ -40,12 +40,31 @@ static UserError isNotAJsInt(final JsValue elem) { )); } + static UserError isNotAJsInstant(final JsValue elem) { + return new UserError(String.format(GENERAL_MESSAGE, + String.format("JsInstant expected or a JsString representing an instant formatted in ISO-8601, but %s was found", + elem.getClass() + ), + "call the guard condition isInstant() before invoking asJsInstant()" + )); + } + + static UserError isNotAJsBinary(final JsValue elem) { + return new UserError(String.format(GENERAL_MESSAGE, + String.format("JsBinary expected or a JsString representing an array of bytes encoded in base64, " + + "but %s was found", + elem.getClass() + ), + "call the guard condition isBinary() before invoking toJsBinary()" + )); + } + static UserError isNotAJsLong(final JsValue elem) { return new UserError(String.format(GENERAL_MESSAGE, String.format("JsLong expected, but %s was found", elem.getClass() ), - "call the guard condition isLong() or isInt() before invoking asJsLong()" + "call the guard condition isLong() or isInt() before invoking toJsLong()" )); } @@ -54,7 +73,7 @@ static UserError isNotAJsDouble(final JsValue elem) { String.format("JsDouble expected, but %s was found", elem.getClass() ), - "call the guard condition isDouble() or isDecimal() before invoking asJsDouble()" + "call the guard condition isDouble() or isDecimal() before invoking toJsDouble()" )); } @@ -63,7 +82,7 @@ static UserError isNotAJsBigInt(final JsValue elem) { String.format("JsBigInt expected, but %s was found", elem.getClass() ), - "call the guard condition isBigInt() or isIntegral() before invoking asJsBigInt()" + "call the guard condition isBigInt() or isIntegral() before invoking toJsBigInt()" )); } @@ -72,7 +91,7 @@ static UserError isNotAJsBigDec(final JsValue elem) { String.format("JsBigDec expected, but %s was found", elem.getClass() ), - "call the guard condition isBigDec() or isDecimal() before invoking asJsBigDec()" + "call the guard condition isBigDec() or isDecimal() before invoking toJsBigDec()" )); } @@ -81,7 +100,7 @@ static UserError isNotAJsArray(final JsValue elem) { String.format("JsArray expected, but %s was found", elem.getClass() ), - "call the guard condition isArray() before invoking asJsArray()" + "call the guard condition isArray() before invoking toJsArray()" )); } @@ -90,7 +109,7 @@ static UserError isNotAJsNumber(final JsValue elem) { String.format("JsNumber expected, but %s was found", elem.getClass() ), - "call the guard condition isNumber() before invoking asJsArray()" + "call the guard condition isNumber() before invoking toJsArray()" )); } @@ -99,7 +118,7 @@ static UserError isNotAJsObj(final JsValue elem) { String.format("JsObj expected, but %s was found", elem.getClass() ), - "call the guard condition isObj() before invoking asJsObj()" + "call the guard condition isObj() before invoking toJsObj()" )); } @@ -108,7 +127,7 @@ static UserError isNotAJson(final JsValue elem) { String.format("Json expected, but %s was found", elem.getClass() ), - "call the guard condition isJson() or isArray() or isObj() before invoking asJson()" + "call the guard condition isJson() or isArray() or isObj() before invoking toJson()" )); } @@ -117,7 +136,7 @@ static UserError isNotAJsString(final JsValue elem) { String.format("JsStr expected, but %s was found", elem.getClass() ), - "call the guard condition isStr() before invoking asJsStr()" + "call the guard condition isStr() before invoking toJsStr()" )); } diff --git a/src/main/java/jsonvalues/console/JsArrayConsole.java b/src/main/java/jsonvalues/console/JsArrayConsole.java index 245b3cf8..ac4be83d 100644 --- a/src/main/java/jsonvalues/console/JsArrayConsole.java +++ b/src/main/java/jsonvalues/console/JsArrayConsole.java @@ -23,7 +23,7 @@ */ public class JsArrayConsole implements JsConsole, Program { - private List> seq = new ArrayList<>(); + private final List> seq = new ArrayList<>(); /** static factory method to create a JsArrayIO diff --git a/src/main/java/jsonvalues/console/JsObjConsole.java b/src/main/java/jsonvalues/console/JsObjConsole.java index 77969f93..010d8fcf 100644 --- a/src/main/java/jsonvalues/console/JsObjConsole.java +++ b/src/main/java/jsonvalues/console/JsObjConsole.java @@ -22,7 +22,7 @@ */ public class JsObjConsole implements JsConsole, Program { - private Map> bindings = new LinkedHashMap<>(); + private final Map> bindings = new LinkedHashMap<>(); /** static factory method to create a JsObjIO of sixteen mappings diff --git a/src/main/java/jsonvalues/future/JsFutures.java b/src/main/java/jsonvalues/future/JsFutures.java index 33119527..71ad7bf0 100644 --- a/src/main/java/jsonvalues/future/JsFutures.java +++ b/src/main/java/jsonvalues/future/JsFutures.java @@ -15,7 +15,6 @@ public class JsFutures { @return a new CompletableFuture wrapped in a supplier */ - //TODO retornar supplier public static Supplier> retry(final Supplier> supplier, final int maxRetries) { Objects.requireNonNull(supplier); diff --git a/src/main/java/jsonvalues/gen/JsGens.java b/src/main/java/jsonvalues/gen/JsGens.java index c4153b7c..97f26b4f 100644 --- a/src/main/java/jsonvalues/gen/JsGens.java +++ b/src/main/java/jsonvalues/gen/JsGens.java @@ -2,6 +2,7 @@ import io.vavr.Tuple2; import jsonvalues.*; + import java.nio.charset.StandardCharsets; import java.time.Instant; import java.time.ZonedDateTime; @@ -43,11 +44,12 @@ public class JsGens { /** Generates a seq of digits of the given length + @param length the length of the string @return a string generator */ public static JsGen digits(int length) { - if(length<=0)throw new IllegalArgumentException("length not greater than zero"); + if (length <= 0) throw new IllegalArgumentException("length not greater than zero"); return JsGens.array(digit, length ) @@ -129,6 +131,25 @@ public static JsGen str(final int length) { }; } + /** + Generates an array of 1024 bytes + */ + public static JsGen binary = binary(1024); + + /** + Generates an array of bytes of the given length + @param length the number of bytes generated + @return an array of bytes generator + */ + public static JsGen binary(int length) { + return r -> () -> { + byte[] bytes = new byte[length]; + r.nextBytes(bytes); + return JsBinary.of(bytes); + }; + } + + /** Generates an alphabetic string of the given length @@ -394,13 +415,14 @@ generates an instant in UTC formatted with the ISO instant formatter (such as '2 @return an instant generator */ - public static JsGen dateBetween(final ZonedDateTime min, - final ZonedDateTime max) { + public static JsGen dateBetween(final ZonedDateTime min, + final ZonedDateTime max) { if (requireNonNull(max).isBefore(requireNonNull(min))) throw new IllegalArgumentException(min.format(DateTimeFormatter.ISO_INSTANT) + " is greater than " + max.format(DateTimeFormatter.ISO_INSTANT)); return dateBetween(min.toEpochSecond(), - max.toEpochSecond()); + max.toEpochSecond() + ); } @@ -413,9 +435,9 @@ generates an instant in UTC formatted with the ISO instant formatter (such as '2 @param max the bound of the interval (inclusive) @return an instant generator */ - public static JsGen dateBetween(final long min, - final long max) { - if (requireNonNull(max) <= requireNonNull(min)) + public static JsGen dateBetween(final long min, + final long max) { + if (max <= min) throw new IllegalArgumentException(max + " is greater than " + min); return random -> () -> { @@ -427,12 +449,11 @@ public static JsGen dateBetween(final long min, .findFirst() .getAsLong(); - Instant instant = Instant.ofEpochSecond(seconds); - - - return JsStr.of(DateTimeFormatter.ISO_INSTANT.format(instant)); + return JsInstant.of(Instant.ofEpochSecond(seconds)); }; } + + } diff --git a/src/main/java/jsonvalues/gen/JsTupleGen.java b/src/main/java/jsonvalues/gen/JsTupleGen.java index 0558a41e..c098b0ac 100644 --- a/src/main/java/jsonvalues/gen/JsTupleGen.java +++ b/src/main/java/jsonvalues/gen/JsTupleGen.java @@ -11,7 +11,7 @@ import static java.util.Objects.requireNonNull; final class JsTupleGen implements JsGen { - private List> gens = new ArrayList<>(); + private final List> gens = new ArrayList<>(); JsTupleGen(final JsGen gen, final JsGen... others diff --git a/src/main/java/jsonvalues/spec/ERROR_CODE.java b/src/main/java/jsonvalues/spec/ERROR_CODE.java index 38880b83..46a496b7 100644 --- a/src/main/java/jsonvalues/spec/ERROR_CODE.java +++ b/src/main/java/jsonvalues/spec/ERROR_CODE.java @@ -4,6 +4,8 @@ public enum ERROR_CODE { STRING_EXPECTED, STRING_CONDITION, INT_EXPECTED, + BINARY_EXPECTED, + INSTANT_EXPECTED, INT_CONDITION, LONG_EXPECTED, LONG_CONDITION, @@ -17,10 +19,12 @@ public enum ERROR_CODE { FALSE_EXPECTED, OBJ_EXPECTED, OBJ_CONDITION, + BINARY_CONDITION, ARRAY_EXPECTED, ARRAY_CONDITION, NUMBER_EXPECTED, NUMBER_CONDITION, + INSTANT_CONDITION, NULL, NULL_EXPECTED, REQUIRED, diff --git a/src/main/java/jsonvalues/spec/JsArraySuchThatSpec.java b/src/main/java/jsonvalues/spec/JsArraySuchThatSpec.java index 05da6135..957a03f6 100644 --- a/src/main/java/jsonvalues/spec/JsArraySuchThatSpec.java +++ b/src/main/java/jsonvalues/spec/JsArraySuchThatSpec.java @@ -12,7 +12,7 @@ class JsArraySuchThatSpec extends AbstractPredicateSpec implements JsValuePredicate, JsArraySpec { final Function> predicate; - private JsArrayOfValueSpec isArray; + private final JsArrayOfValueSpec isArray; JsArraySuchThatSpec(final Function> predicate, final boolean required, diff --git a/src/main/java/jsonvalues/spec/JsBinarySpec.java b/src/main/java/jsonvalues/spec/JsBinarySpec.java new file mode 100644 index 00000000..9dbfd537 --- /dev/null +++ b/src/main/java/jsonvalues/spec/JsBinarySpec.java @@ -0,0 +1,57 @@ +package jsonvalues.spec; + +import com.dslplatform.json.parsers.JsSpecParser; +import com.dslplatform.json.parsers.JsSpecParsers; +import jsonvalues.JsValue; + +import java.util.Optional; + +import static jsonvalues.spec.ERROR_CODE.BINARY_EXPECTED; +import static jsonvalues.spec.ERROR_CODE.INT_EXPECTED; + +class JsBinarySpec extends AbstractPredicateSpec implements JsValuePredicate { + JsBinarySpec(final boolean required, + final boolean nullable + ) { + super(required, + nullable + ); + } + + @Override + public boolean isRequired() { + return required; + } + + @Override + public JsSpec nullable() { + return new JsBinarySpec(required, + true + ); + } + + @Override + public JsSpec optional() { + return new JsBinarySpec(false, + nullable + ); + } + + @Override + public JsSpecParser parser() { + return JsSpecParsers.INSTANCE.ofBinary(nullable); + } + + @Override + public Optional test(final JsValue value) { + return Functions.testElem(JsValue::isBinary, + BINARY_EXPECTED, + required, + nullable + ) + .apply(value); + + } + + +} diff --git a/src/main/java/jsonvalues/spec/JsBinarySuchThatSpec.java b/src/main/java/jsonvalues/spec/JsBinarySuchThatSpec.java new file mode 100644 index 00000000..16e1d31e --- /dev/null +++ b/src/main/java/jsonvalues/spec/JsBinarySuchThatSpec.java @@ -0,0 +1,68 @@ +package jsonvalues.spec; + +import com.dslplatform.json.parsers.JsSpecParser; +import com.dslplatform.json.parsers.JsSpecParsers; +import jsonvalues.JsValue; + +import java.math.BigInteger; +import java.util.Optional; +import java.util.function.Function; + +import static jsonvalues.spec.ERROR_CODE.BINARY_EXPECTED; +import static jsonvalues.spec.ERROR_CODE.INTEGRAL_EXPECTED; + +class JsBinarySuchThatSpec extends AbstractPredicateSpec implements JsValuePredicate { + + final Function> predicate; + + JsBinarySuchThatSpec(final boolean required, + final boolean nullable, + final Function> predicate + ) { + super(required, + nullable + ); + this.predicate = predicate; + } + + @Override + public boolean isRequired() { + return required; + } + + @Override + public JsSpec nullable() { + return new JsBinarySuchThatSpec(required, + true, + predicate + ); + } + + @Override + public JsSpec optional() { + return new JsBinarySuchThatSpec(false, + nullable, + predicate + ); + } + + @Override + public JsSpecParser parser() { + return JsSpecParsers.INSTANCE.ofBinarySuchThat(predicate, + nullable + ); + } + + @Override + public Optional test(final JsValue value) { + final Optional error = Functions.testElem(JsValue::isIntegral, + BINARY_EXPECTED, + required, + nullable + ) + .apply(value); + + if (error.isPresent() || value.isNull()) return error; + return predicate.apply(value.toJsBinary().value); + } +} diff --git a/src/main/java/jsonvalues/spec/JsInstantSpec.java b/src/main/java/jsonvalues/spec/JsInstantSpec.java new file mode 100644 index 00000000..eb4730b9 --- /dev/null +++ b/src/main/java/jsonvalues/spec/JsInstantSpec.java @@ -0,0 +1,57 @@ +package jsonvalues.spec; + +import com.dslplatform.json.parsers.JsSpecParser; +import com.dslplatform.json.parsers.JsSpecParsers; +import jsonvalues.JsValue; + +import java.util.Optional; + +import static jsonvalues.spec.ERROR_CODE.INSTANT_EXPECTED; +import static jsonvalues.spec.ERROR_CODE.INT_EXPECTED; + +class JsInstantSpec extends AbstractPredicateSpec implements JsValuePredicate { + JsInstantSpec(final boolean required, + final boolean nullable + ) { + super(required, + nullable + ); + } + + @Override + public boolean isRequired() { + return required; + } + + @Override + public JsSpec nullable() { + return new JsInstantSpec(required, + true + ); + } + + @Override + public JsSpec optional() { + return new JsInstantSpec(false, + nullable + ); + } + + @Override + public JsSpecParser parser() { + return JsSpecParsers.INSTANCE.ofInstant(nullable); + } + + @Override + public Optional test(final JsValue value) { + return Functions.testElem(JsValue::isInstant, + INSTANT_EXPECTED, + required, + nullable + ) + .apply(value); + + } + + +} diff --git a/src/main/java/jsonvalues/spec/JsInstantSuchThatSpec.java b/src/main/java/jsonvalues/spec/JsInstantSuchThatSpec.java new file mode 100644 index 00000000..24274c18 --- /dev/null +++ b/src/main/java/jsonvalues/spec/JsInstantSuchThatSpec.java @@ -0,0 +1,67 @@ +package jsonvalues.spec; + +import com.dslplatform.json.parsers.JsSpecParser; +import com.dslplatform.json.parsers.JsSpecParsers; +import jsonvalues.JsValue; + +import java.time.Instant; +import java.util.Optional; +import java.util.function.Function; + +import static jsonvalues.spec.ERROR_CODE.INSTANT_EXPECTED; + +class JsInstantSuchThatSpec extends AbstractPredicateSpec implements JsValuePredicate { + + final Function> predicate; + + JsInstantSuchThatSpec(final boolean required, + final boolean nullable, + final Function> predicate + ) { + super(required, + nullable + ); + this.predicate = predicate; + } + + @Override + public boolean isRequired() { + return required; + } + + @Override + public JsSpec nullable() { + return new JsInstantSuchThatSpec(required, + true, + predicate + ); + } + + @Override + public JsSpec optional() { + return new JsInstantSuchThatSpec(false, + nullable, + predicate + ); + } + + @Override + public JsSpecParser parser() { + return JsSpecParsers.INSTANCE.ofInstantSuchThat(predicate, + nullable + ); + } + + @Override + public Optional test(final JsValue value) { + final Optional error = Functions.testElem(JsValue::isInstant, + INSTANT_EXPECTED, + required, + nullable + ) + .apply(value); + + if (error.isPresent() || value.isNull()) return error; + return predicate.apply(value.toJsInstant().value); + } +} diff --git a/src/main/java/jsonvalues/spec/JsIntSpec.java b/src/main/java/jsonvalues/spec/JsIntSpec.java index 8ae4e49a..012bc12d 100644 --- a/src/main/java/jsonvalues/spec/JsIntSpec.java +++ b/src/main/java/jsonvalues/spec/JsIntSpec.java @@ -3,7 +3,6 @@ import com.dslplatform.json.parsers.JsSpecParser; import com.dslplatform.json.parsers.JsSpecParsers; import jsonvalues.JsValue; - import java.util.Optional; import static jsonvalues.spec.ERROR_CODE.INT_EXPECTED; @@ -51,4 +50,6 @@ public Optional test(final JsValue value) { .apply(value); } + + } diff --git a/src/main/java/jsonvalues/spec/JsSpecs.java b/src/main/java/jsonvalues/spec/JsSpecs.java index c40babc8..370a66b0 100644 --- a/src/main/java/jsonvalues/spec/JsSpecs.java +++ b/src/main/java/jsonvalues/spec/JsSpecs.java @@ -4,7 +4,7 @@ import java.math.BigDecimal; import java.math.BigInteger; -import java.util.Arrays; +import java.time.Instant; import java.util.List; import java.util.Optional; import java.util.function.IntPredicate; @@ -86,6 +86,20 @@ public class JsSpecs { public static JsArraySpec array = new JsArrayOfValueSpec(true, false ); + + /** + non-nullable array spec + */ + public static JsSpec binary = new JsBinarySpec(true, + false + ); + + /** + non-nullable array spec + */ + public static JsSpec instant = new JsInstantSpec(true, + false + ); /** non-nullable array of long numbers spec */ @@ -578,6 +592,48 @@ public static JsSpec any(final Predicate predicate) { ); } + /** + non-nullable json object that satisfies the given predicate + + @param predicate the predicate the json object is tested on + @return a spec + */ + public static JsSpec binary(final Predicate predicate) { + return new JsBinarySuchThatSpec(true, + false, + s -> + { + if (requireNonNull(predicate).test(s)) + return Optional.empty(); + return Optional.of(new Error(JsBinary.of(s), + BINARY_CONDITION + ) + ); + } + ); + } + + /** + non-nullable json object that satisfies the given predicate + + @param predicate the predicate the json object is tested on + @return a spec + */ + public static JsSpec instant(final Predicate predicate) { + return new JsInstantSuchThatSpec(true, + false, + s -> + { + if (requireNonNull(predicate).test(s)) + return Optional.empty(); + return Optional.of(new Error(JsInstant.of(s), + INSTANT_CONDITION + ) + ); + } + ); + } + /** non-nullable json object that satisfies the given predicate @@ -676,7 +732,7 @@ public static JsTupleSpec tuple(JsSpec spec, } - public static JsSpec oneOf(final List cons){ + public static JsSpec oneOf(final List cons) { return any(cons::contains); } } diff --git a/src/test/java/jsonvalues/TestGenerators.java b/src/test/java/jsonvalues/TestGenerators.java index 11cf2f37..76e323d3 100644 --- a/src/test/java/jsonvalues/TestGenerators.java +++ b/src/test/java/jsonvalues/TestGenerators.java @@ -4,11 +4,17 @@ import jsonvalues.gen.JsGen; import jsonvalues.gen.JsGens; import jsonvalues.gen.JsObjGen; +import jsonvalues.spec.JsObjParser; import jsonvalues.spec.JsObjSpec; +import jsonvalues.spec.JsSpec; import jsonvalues.spec.JsSpecs; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import java.time.Duration; +import java.time.Instant; +import java.time.ZonedDateTime; +import java.time.temporal.TemporalAmount; import java.util.Arrays; import java.util.Random; import java.util.Set; @@ -72,7 +78,9 @@ public static void test(JsGen gen, final JsValue value = gen.apply(new Random()) .get(); - Assertions.assertTrue(condition.test(value)); + boolean test = condition.test(value); + if(!test) System.out.println("Error testing \n"+value); + Assertions.assertTrue(test); } } @@ -215,7 +223,11 @@ public void test_constructors() { "m", characterAlpha, "n", - letter + letter, + "o", + JsGens.binary.optional(), + "p", + JsGens.dateBetween(0,1000).optional() ); JsObjSpec spec = JsObjSpec.lenient("a", @@ -247,7 +259,11 @@ public void test_constructors() { "m", str(s -> s.length() == 1), "n", - str(s -> s.length() == 1) + str(s -> s.length() == 1), + "o", + JsSpecs.binary.optional(), + "p", + JsSpecs.instant.optional() ); test(gen, @@ -255,6 +271,11 @@ public void test_constructors() { .isEmpty(), 1000 ); + + test(gen,v -> { + String s = v.toString(); + return v.equals(JsObj.parse(s)); + }, 1000); } @Test @@ -339,6 +360,24 @@ public void testDigitCode(){ }, 100); } + @Test + public void testDates(){ + + test(JsGens.dateBetween(ZonedDateTime.now(),ZonedDateTime.now().plus(Duration.ofDays(2))), + value -> value.isInstant(),100); + } + + @Test + public void testBinary(){ + test(JsGens.binary, + value -> value.isBinary() & value.toJsBinary().value.length<=1024, 100); + } + public static void main(String[] args) { + JsInstant instant = JsInstant.of(Instant.parse("1970-01-01T00:02:20Z")); + JsStr str = JsStr.of("1970-01-01T00:02:20Z"); + + System.out.println(instant.equals(str)); + } } diff --git a/src/test/java/jsonvalues/JsArrayOpticsTest.java b/src/test/java/jsonvalues/TestJsArrayOptics.java similarity index 99% rename from src/test/java/jsonvalues/JsArrayOpticsTest.java rename to src/test/java/jsonvalues/TestJsArrayOptics.java index 6eb0491f..4457697c 100644 --- a/src/test/java/jsonvalues/JsArrayOpticsTest.java +++ b/src/test/java/jsonvalues/TestJsArrayOptics.java @@ -7,7 +7,7 @@ import java.math.BigDecimal; import java.math.BigInteger; -public class JsArrayOpticsTest { +public class TestJsArrayOptics { @Test public void testBigDecLenses() { diff --git a/src/test/java/jsonvalues/TestJsElems.java b/src/test/java/jsonvalues/TestJsElems.java index 4194e405..4c4ece00 100644 --- a/src/test/java/jsonvalues/TestJsElems.java +++ b/src/test/java/jsonvalues/TestJsElems.java @@ -8,6 +8,7 @@ import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; +import java.time.ZoneOffset; import static java.time.format.DateTimeFormatter.*; @@ -18,49 +19,18 @@ public class TestJsElems { @Test public void test_dates() { - Assertions.assertTrue(JsStr.of(Instant.now() - .toString()) - .isInstant()); - Assertions.assertFalse(JsStr.of(LocalDateTime.now() - .toString()) - .isInstant(i -> true)); - Assertions.assertTrue(JsStr.of(Instant.now() - .toString()) - .isInstant(i -> i.isBefore(Instant.now() - .plusSeconds(1)))); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_TIME.format(LocalDateTime.now())) - .isInstant()); - Assertions.assertTrue(JsStr.of(ISO_LOCAL_DATE.format(LocalDateTime.now())) - .isLocalDate(ISO_LOCAL_DATE)); - Assertions.assertTrue(JsStr.of(ISO_LOCAL_DATE.format(LocalDateTime.now())) - .isLocalDate(ISO_LOCAL_DATE, - it -> it.isBefore(LocalDate.now() - .plusYears(1)) - )); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_TIME.format(LocalDateTime.now())) - .isLocalDate(ISO_LOCAL_DATE)); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_TIME.format(LocalDateTime.now())) - .isLocalDate(ISO_LOCAL_DATE, - i -> true - )); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_TIME.format(LocalDateTime.now())) - .isInstant()); - Assertions.assertTrue(JsStr.of(ISO_LOCAL_DATE_TIME.format(LocalDateTime.now())) - .isLocalDateTime(ISO_LOCAL_DATE_TIME)); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_DATE.format(LocalDate.now())) - .isLocalDateTime(ISO_LOCAL_DATE_TIME, - i -> true - )); - Assertions.assertFalse(JsStr.of(ISO_LOCAL_DATE.format(LocalDate.now())) - .isLocalDateTime(ISO_LOCAL_DATE_TIME - )); - Assertions.assertTrue(JsStr.of(ISO_LOCAL_DATE_TIME.format(LocalDateTime.now())) - .isLocalDateTime(ISO_LOCAL_DATE_TIME, - it -> it.isBefore(LocalDateTime.now() - .plusYears(1)) - )); + Assertions.assertTrue(JsInstant.of(Instant.now()) + .isInstant()); + + Assertions.assertTrue(JsInstant.of(Instant.now() + ) + .isInstant(i -> i.isBefore(Instant.now() + .plusSeconds(1)))); + } + + @Test public void test_elements() { Assertions.assertTrue(JsInt.of(10) diff --git a/src/test/java/jsonvalues/TestJsObj.java b/src/test/java/jsonvalues/TestJsObj.java index 56157d45..d2594347 100644 --- a/src/test/java/jsonvalues/TestJsObj.java +++ b/src/test/java/jsonvalues/TestJsObj.java @@ -5,6 +5,9 @@ import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; import java.util.*; import java.util.function.BiFunction; import java.util.function.Supplier; @@ -625,7 +628,7 @@ public void test_map_strings_to_lowercase_and_reduce() { obj.get(pair.path) ); return JsStr.prism.modify.apply(String::toLowerCase) - .apply(pair.value); + .apply(pair.value); }); final Optional reduced_ = obj1.reduceAll(String::concat, @@ -773,7 +776,8 @@ public void testJsObjFromIterable() { @Test public void testJsObj() { - + Instant now = Instant.now(); + byte[] bytes = "hola".getBytes(); JsObj o = JsObj.of("a", JsBigDec.of(BigDecimal.valueOf(1.5)), "b", @@ -781,7 +785,11 @@ public void testJsObj() { "c", JsDouble.of(1.5d), "d", - JsLong.of(15L) + JsLong.of(15L), + "e", + JsInstant.of(now), + "f", + JsBinary.of(bytes) ); Assertions.assertNull(o.getStr("b")); @@ -791,6 +799,7 @@ public void testJsObj() { Assertions.assertNull(o.getDouble("b")); Assertions.assertNull(o.getArray("b")); Assertions.assertNull(o.getLong("c")); + Assertions.assertNull(o.getStr("e")); Assertions.assertEquals(BigDecimal.valueOf(1.5), o.getBigDec("a") @@ -805,6 +814,51 @@ public void testJsObj() { o.getLong("d") ); + Assertions.assertEquals(now, + o.getInstant("e") + ); + + Assertions.assertTrue( + Arrays.equals(o.getBinary("f"), + "hola".getBytes()) + ); + + JsObj parsed = JsObj.parse(o.toString()); + + Assertions.assertEquals(parsed,o); + + Assertions.assertEquals(parsed + .getStr("f"), + Base64.getEncoder() + .encodeToString("hola".getBytes()) + ); + + + Option fOpt = JsObj.lens.str("f") + .compose(JsStr.base64Prism); + + Option eOpt = JsObj.lens.str("e") + .compose(JsStr.instantPrism); + + Assertions.assertTrue(Arrays.equals(fOpt.get.apply(parsed) + .get(), + "hola".getBytes())); + + + Assertions.assertTrue(!fOpt.get.apply(JsObj.of("f", + JsStr.of("a"))) + .isPresent()); + + + Assertions.assertEquals(eOpt.get.apply(parsed) + .get(), + now); + + Assertions.assertTrue(!eOpt.get.apply(JsObj.of("e", + JsStr.of(DateTimeFormatter.ISO_LOCAL_DATE.format(LocalDate.now())) + ) + ) + .isPresent()); } diff --git a/src/test/java/jsonvalues/JsObjOpticsTest.java b/src/test/java/jsonvalues/TestJsObjOptics.java similarity index 95% rename from src/test/java/jsonvalues/JsObjOpticsTest.java rename to src/test/java/jsonvalues/TestJsObjOptics.java index 22b1d3aa..ab965502 100644 --- a/src/test/java/jsonvalues/JsObjOpticsTest.java +++ b/src/test/java/jsonvalues/TestJsObjOptics.java @@ -8,7 +8,7 @@ import java.math.BigInteger; import java.util.Optional; -public class JsObjOpticsTest { +public class TestJsObjOptics { @Test public void testBigDecLenses() { @@ -478,4 +478,25 @@ public void testDecimalOptional() { .get("a") ); } + + @Test + public void testValueLenses(){ + + JsValueLens b = JsObj.lens.value(JsPath.path("/a/b")); + JsValueLens head = JsObj.lens.value(JsPath.path("/a/c/0")); + + JsObj obj = JsObj.of("a", + JsObj.of("b", + JsBool.TRUE, + "c", + JsArray.of(JsNull.NULL) + ) + ); + Assertions.assertEquals(JsBool.TRUE,b.get.apply(obj)); + Assertions.assertEquals(JsNull.NULL,head.get.apply(obj)); + + Assertions.assertEquals(JsNothing.NOTHING,b.get.apply(JsObj.empty())); + Assertions.assertEquals(JsNothing.NOTHING,head.get.apply(JsObj.empty())); + + } } diff --git a/src/test/java/jsonvalues/TestJsObjSpec.java b/src/test/java/jsonvalues/TestJsObjSpec.java index b956f769..0e05568f 100644 --- a/src/test/java/jsonvalues/TestJsObjSpec.java +++ b/src/test/java/jsonvalues/TestJsObjSpec.java @@ -1,14 +1,19 @@ package jsonvalues; + import jsonvalues.spec.JsErrorPair; import jsonvalues.spec.JsObjSpec; import jsonvalues.spec.JsSpec; import jsonvalues.spec.JsSpecs; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; + import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Instant; +import java.time.LocalDateTime; import java.util.Arrays; import java.util.Set; + import static jsonvalues.Functions.assertErrorIs; import static jsonvalues.JsBool.TRUE; import static jsonvalues.spec.ERROR_CODE.*; @@ -455,9 +460,10 @@ public void testIsObjSpec() { "d", arraySuchThat(a -> a.head() == JsNull.NULL) ), - "g", JsSpecs.oneOf(Arrays.asList(JsStr.of("A"), - JsStr.of("B") - )) + "g", + JsSpecs.oneOf(Arrays.asList(JsStr.of("A"), + JsStr.of("B") + )) ); @@ -1279,14 +1285,17 @@ public void test_required_fields() { ); final Set errors = spec.test(JsObj.of("b", - JsObj.empty())); + JsObj.empty() + )); Assertions.assertEquals(1, - errors.size()); + errors.size() + ); Assertions.assertEquals(JsPath.path("/b/c"), errors.stream() .findFirst() - .get().path); + .get().path + ); } @@ -1316,5 +1325,74 @@ public void test_errors_schemas() { Assertions.assertFalse(errors.isEmpty()); + } + + @Test + public void testBinarySpec() { + + JsObjSpec spec = JsObjSpec.strict("a", + binary, + "b", + binary + ); + Assertions.assertTrue(spec.test(JsObj.of("a", + JsStr.of("hola"), + "b", + JsBinary.of("foo".getBytes()) + )) + .isEmpty()); + + Set result = spec.test(JsObj.of("a", + JsStr.of("ñññ"), + "b", + JsInt.of(1) + )); + Assertions.assertTrue(result.size() == 2); + + Assertions.assertTrue(result.stream() + .anyMatch(e -> e.path.equals(JsPath.fromKey("b")) && e.error.code.equals(BINARY_EXPECTED))); + + Assertions.assertTrue(result.stream() + .anyMatch(e -> e.path.equals(JsPath.fromKey("a")) && e.error.code.equals(BINARY_EXPECTED))); + + + } + + @Test + public void testInstantSpec() { + + JsObjSpec spec = JsObjSpec.strict("a", + instant, + "b", + instant + ); + + Set errorPairs = spec.test(JsObj.of("a", + JsInstant.of(Instant.now()), + "b", + JsStr.of(Instant.now() + .toString()) + )); + Assertions.assertTrue(errorPairs + .isEmpty()); + + Set errorPairs1 = spec.test(JsObj.of("a", + JsStr.of("hola"), + "b", + JsStr.of(LocalDateTime.now() + .toString()) + )); + + + Assertions.assertTrue(errorPairs1.size() == 2); + + + Assertions.assertTrue(errorPairs1.stream() + .anyMatch(e -> e.path.equals(JsPath.fromKey("b")) && e.error.code.equals(INSTANT_EXPECTED))); + + Assertions.assertTrue(errorPairs1.stream() + .anyMatch(e -> e.path.equals(JsPath.fromKey("a")) && e.error.code.equals(INSTANT_EXPECTED))); + + } } diff --git a/src/test/java/jsonvalues/TestJsParser.java b/src/test/java/jsonvalues/TestJsParser.java index 836d47ea..fef37fc8 100644 --- a/src/test/java/jsonvalues/TestJsParser.java +++ b/src/test/java/jsonvalues/TestJsParser.java @@ -9,6 +9,8 @@ import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; +import java.time.Duration; +import java.time.Instant; import static jsonvalues.spec.JsSpecs.*; @@ -67,7 +69,8 @@ public void test_parse_string_into_obj() throws IOException { JsArray.empty(), "j", JsArray.of(JsObj.of("a", - JsStr.of("hi"))) + JsStr.of("hi") + )) ); final JsObj parsed = parser.parse(example @@ -79,4 +82,68 @@ public void test_parse_string_into_obj() throws IOException { } + @Test + public void testParseInstant() { + + JsObjParser parser = + new JsObjParser(JsObjSpec.strict("a", + instant, + "b", + instant(i -> i.isAfter(Instant.now() + .minus(Duration.ofDays(1)) + ) + ) + ) + ); + + JsObj obj = JsObj.of("a", + JsInstant.of(Instant.now()), + "b", + JsInstant.of(Instant.now()) + ); + JsObj parse = parser.parse(obj.toString()); + + Assertions.assertEquals(JsInstant.class, + parse.get("a") + .getClass() + ); + Assertions.assertEquals(JsInstant.class, + parse.get("b") + .getClass() + ); + + Assertions.assertEquals(obj,parse); + } + + + @Test + public void testParseBinary() { + + JsObjParser parser = + new JsObjParser(JsObjSpec.strict("a", + binary, + "b", + binary(i -> i.length <= 1024) + ) + ); + + JsObj obj = JsObj.of("a", + JsStr.of("hola"), + "b", + JsBinary.of("foo".getBytes()) + ); + JsObj parse = parser.parse(obj.toString()); + + Assertions.assertEquals(JsBinary.class, + parse.get("a") + .getClass() + ); + Assertions.assertEquals(JsBinary.class, + parse.get("b") + .getClass() + ); + + Assertions.assertEquals(obj,parse); + } + } diff --git a/src/test/java/jsonvalues/TestLenses.java b/src/test/java/jsonvalues/TestLenses.java index 97fb8e52..6bbe8216 100644 --- a/src/test/java/jsonvalues/TestLenses.java +++ b/src/test/java/jsonvalues/TestLenses.java @@ -3,24 +3,66 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import java.time.Instant; + public class TestLenses { @Test - public void testCompose(){ + public void testCompose() { - Lens address = JsObj.lens.obj("address"); + Lens address = JsObj.lens.obj("address"); - Lens street = JsObj.lens.str("street"); + Lens street = JsObj.lens.str("street"); Lens compose = address.compose(street); JsObj obj = JsObj.of("address", - JsObj.of("street", - JsStr.of("a"))); + JsObj.of("street", + JsStr.of("a") + ) + ); + + Assertions.assertEquals("a", + compose.get.apply(obj)); + + Assertions.assertEquals("b", + compose.get.apply(compose.set.apply("b") + .apply(obj))); + } + + @Test + public void test_binary_lens() { + + JsBinaryLens binaryLens = JsObj.lens.binary("a"); + + + byte[] bytes = binaryLens.get.apply(JsObj.of("a", + JsStr.of("hola") + )); + + Assertions.assertArrayEquals(bytes, + JsStr.base64Prism.getOptional.apply("hola") + .get() + ); + + + } + + @Test + public void test_instant_lens() { + + JsInstantLens intantLens = JsObj.lens.instant("a"); + - Assertions.assertEquals("a",compose.get.apply(obj)); + Instant now = Instant.now(); + Instant instant = intantLens.get.apply(JsObj.of("a", + JsStr.of(now.toString()) + )); - Assertions.assertEquals("b",compose.get.apply(compose.set.apply("b").apply(obj))); + Assertions.assertEquals(instant, + JsStr.instantPrism.getOptional.apply(now.toString()) + .get() + ); } } diff --git a/src/test/java/jsonvalues/TestPrims.java b/src/test/java/jsonvalues/TestPrims.java index eac9122c..bd6683bd 100644 --- a/src/test/java/jsonvalues/TestPrims.java +++ b/src/test/java/jsonvalues/TestPrims.java @@ -3,94 +3,143 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import java.time.Instant; +import java.time.LocalDateTime; import java.util.Optional; public class TestPrims { @Test - public void test_string_prism(){ + public void test_string_prism() { - Assertions.assertEquals(Optional.empty(), JsStr.prism.getOptional.apply(JsInt.of(1))); + Assertions.assertEquals(Optional.empty(), + JsStr.prism.getOptional.apply(JsInt.of(1)) + ); Assertions.assertTrue(JsStr.prism.isEmpty.test(JsInt.of(1))); Assertions.assertTrue(JsStr.prism.nonEmpty.test(JsStr.of("a"))); - Assertions.assertEquals(JsStr.of("a"), JsStr.prism.reverseGet.apply("a")); + Assertions.assertEquals(JsStr.of("a"), + JsStr.prism.reverseGet.apply("a") + ); Assertions.assertEquals(Optional.of("a"), JsStr.prism.find.apply(it -> it.startsWith("a")) - .apply(JsStr.of("a"))); + .apply(JsStr.of("a")) + ); Assertions.assertEquals(true, JsStr.prism.exists.apply(it -> it.startsWith("a")) - .test(JsStr.of("a")) + .test(JsStr.of("a")) ); Assertions.assertEquals(JsStr.of("A"), JsStr.prism.modify.apply(String::toUpperCase) - .apply(JsStr.of("a"))); + .apply(JsStr.of("a")) + ); Assertions.assertEquals(Optional.of(JsStr.of("A")), JsStr.prism.modifyOpt.apply(String::toUpperCase) - .apply(JsStr.of("a"))); + .apply(JsStr.of("a")) + ); Assertions.assertEquals(JsInt.of(1), JsStr.prism.modify.apply(String::toUpperCase) - .apply(JsInt.of(1))); + .apply(JsInt.of(1)) + ); Assertions.assertEquals(Optional.empty(), JsStr.prism.modifyOpt.apply(String::toUpperCase) - .apply(JsInt.of(1))); + .apply(JsInt.of(1)) + ); } @Test - public void test_integer_prism(){ + public void test_integer_prism() { - Assertions.assertEquals(Optional.empty(), JsInt.prism.getOptional.apply(JsStr.of("a"))); + Assertions.assertEquals(Optional.empty(), + JsInt.prism.getOptional.apply(JsStr.of("a")) + ); Assertions.assertTrue(JsInt.prism.isEmpty.test(JsStr.of("a"))); Assertions.assertTrue(JsInt.prism.nonEmpty.test(JsInt.of(1))); - Assertions.assertEquals(JsInt.of(1), JsInt.prism.reverseGet.apply(1)); + Assertions.assertEquals(JsInt.of(1), + JsInt.prism.reverseGet.apply(1) + ); Assertions.assertEquals(Optional.of(1), JsInt.prism.find.apply(it -> it < 2) - .apply(JsInt.of(1))); + .apply(JsInt.of(1)) + ); Assertions.assertEquals(true, - JsInt.prism.exists.apply(it ->it < 2) - .test(JsInt.of(1))); + JsInt.prism.exists.apply(it -> it < 2) + .test(JsInt.of(1)) + ); Assertions.assertEquals(JsStr.of("a"), - JsInt.prism.modify.apply(it->it+1) - .apply(JsStr.of("a"))); + JsInt.prism.modify.apply(it -> it + 1) + .apply(JsStr.of("a")) + ); Assertions.assertEquals(JsInt.of(2), - JsInt.prism.modify.apply(it->it+1) - .apply(JsInt.of(1))); + JsInt.prism.modify.apply(it -> it + 1) + .apply(JsInt.of(1)) + ); } @Test - public void test_long_prism(){ + public void test_long_prism() { - Assertions.assertEquals(Optional.empty(), JsLong.prism.getOptional.apply(JsStr.of("a"))); + Assertions.assertEquals(Optional.empty(), + JsLong.prism.getOptional.apply(JsStr.of("a")) + ); Assertions.assertTrue(JsLong.prism.isEmpty.test(JsStr.of("a"))); Assertions.assertTrue(JsLong.prism.nonEmpty.test(JsLong.of(1))); - Assertions.assertEquals(JsLong.of(1), JsInt.prism.reverseGet.apply(1)); + Assertions.assertEquals(JsLong.of(1), + JsInt.prism.reverseGet.apply(1) + ); Assertions.assertEquals(Optional.of(1L), JsLong.prism.find.apply(it -> it < 2) - .apply(JsLong.of(1))); + .apply(JsLong.of(1)) + ); Assertions.assertEquals(true, - JsLong.prism.exists.apply(it ->it < 2) - .test(JsLong.of(1))); + JsLong.prism.exists.apply(it -> it < 2) + .test(JsLong.of(1)) + ); Assertions.assertEquals(JsStr.of("a"), - JsLong.prism.modify.apply(it->it+1) - .apply(JsStr.of("a"))); + JsLong.prism.modify.apply(it -> it + 1) + .apply(JsStr.of("a")) + ); Assertions.assertEquals(JsLong.of(2), - JsLong.prism.modify.apply(it->it+1) - .apply(JsLong.of(1))); + JsLong.prism.modify.apply(it -> it + 1) + .apply(JsLong.of(1)) + ); + } + + @Test + public void test_binary_prism() { + + Assertions.assertTrue(JsBinary.prism.isEmpty.test(JsStr.of("ññññ"))); + Assertions.assertTrue(JsBinary.prism.isEmpty.test(JsInt.of(1111))); + Assertions.assertTrue(JsBinary.prism.getOptional.apply(JsStr.of("hola")) + .isPresent()); + Assertions.assertTrue(JsBinary.prism.getOptional.apply(JsBinary.of("hola")) + .isPresent()); + Assertions.assertArrayEquals(JsBinary.prism.getOptional.apply(JsStr.of("hola")).get() + ,JsBinary.prism.getOptional.apply(JsBinary.of("hola")).get()); + } + + + @Test + public void test_instant_prism() { + Assertions.assertTrue(JsInstant.prism.isEmpty.test(JsStr.of("a"))); + Assertions.assertTrue(JsInstant.prism.getOptional.apply(JsStr.of(Instant.now().toString())).isPresent()); + Assertions.assertFalse(JsInstant.prism.getOptional.apply(JsStr.of(LocalDateTime.now().toString())).isPresent()); + } } diff --git a/src/test/scala/jsonvalues/Characters.scala b/src/test/scala/jsonvalues/Characters.scala deleted file mode 100644 index 6eb55d17..00000000 --- a/src/test/scala/jsonvalues/Characters.scala +++ /dev/null @@ -1,16 +0,0 @@ -package jsonvalues - - -object Characters { - - val ALPHABET = "abcdefghijklmnopqrstuvwzyz".split("") - val ESPECIAL_CHARACTERS = "()*?[]-.+{}".split("") - - val INDEX_SEP = "$" - val NAME_SEP = "." - - - - - -} diff --git a/src/test/scala/jsonvalues/Constants.scala b/src/test/scala/jsonvalues/Constants.scala deleted file mode 100644 index abd11a56..00000000 --- a/src/test/scala/jsonvalues/Constants.scala +++ /dev/null @@ -1,16 +0,0 @@ -package jsonvalues - - -object Constants { - - val ALPHABET = "abcdefghijklmnopqrstuvwzyz".split("") - val ESPECIAL_CHARACTERS = "()*?[]-.+{}".split("") - - val INDEX_SEP = "$" - val NAME_SEP = "." - - - - - -} diff --git a/src/test/scala/jsonvalues/JsElemGens.scala b/src/test/scala/jsonvalues/JsElemGens.scala deleted file mode 100644 index f96fa4db..00000000 --- a/src/test/scala/jsonvalues/JsElemGens.scala +++ /dev/null @@ -1,254 +0,0 @@ -package jsonvalues - -import java.math.BigInteger - -import org.scalacheck.Arbitrary.arbitrary -import org.scalacheck.Gen - -import scala.collection.JavaConverters._ - - -case class FreqTypeOfNumber(intFreq: Int = 1, - longFreq : Int = 1, - doubleFreq: Int = 1, - bigIntFreq: Int = 1, - bigDecFreq: Int = 1 - ) - -case class FreqTypeOfValue(strFreq: Int = 2, - numberFreq: Int = 2, - boolFreq : Int = 1, - nullFreq : Int = 1 - ) - -/** - * A json object {} is made up parse an unordered set parse name/x pairs. A x parse a pair can be an object, an vector or - * a x - * - * @param objFreq freq with which a pair x is an object - * @param arrFreq freq with which a pair x is an vector - * @param valueFreq freq with which a pair x is a x - */ -case class FreqTypeOfPair(objFreq: Int = 2, - arrFreq : Int = 2, - valueFreq : Int = 10, - emptyObjFreq: Int = 3, - emptyArrFreq: Int = 3 - ) - -case class FreqsTypeOfArr(numberFreq: Int = 10, - strFreq : Int = 10, - boolFreq : Int = 5, - valueFreq : Int = 10, - objFreq : Int = 2, - intFreq : Int = 10, - doubleFreq: Int = 10, - longFreq : Int = 10 - ) - -case class JsElemGens(strGen: Gen[String] = Gen.oneOf(Characters.ALPHABET), - intGen : Gen[Int] = arbitrary[Int], - longGen : Gen[Long] = arbitrary[Long], - doubleGen : Gen[Double] = arbitrary[Double], - floatGen : Gen[Float] = arbitrary[Float], - boolGen : Gen[Boolean] = arbitrary[Boolean], - bigIntGen : Gen[BigInteger] = arbitrary[BigInt].map(it => it.bigInteger), - bigDecGen : Gen[java.math.BigDecimal] = arbitrary[BigDecimal].map(it => it.bigDecimal), - arrLengthGen : Gen[Int] = Gen.choose(5, - 8 - ), - objSizeGen : Gen[Int] = Gen.choose(5, - 8 - ), - keyGen : Gen[String] = Gen.oneOf(Characters.ALPHABET), - freqTypeOfNumber: FreqTypeOfNumber = new FreqTypeOfNumber, - freqTypeOfValue : FreqTypeOfValue = new FreqTypeOfValue, - freqTypeOfPair : FreqTypeOfPair = new FreqTypeOfPair, - freqTypeOfArr : FreqsTypeOfArr = new FreqsTypeOfArr, - ) -{ - - val jsStrGen: Gen[JsStr] = strGen.map(it => JsStr.of(it)) - - val jsIntGen: Gen[JsInt] = intGen.map(it => JsInt.of(it)) - - val jsLongGen: Gen[JsLong] = longGen.map(it => JsLong.of(it)) - - val jsDoubleGen: Gen[JsDouble] = doubleGen.map(it => JsDouble.of(it)) - - val jsBigIntGen: Gen[JsBigInt] = bigIntGen.map(it => JsBigInt.of(it)) - - val jsBigDecimalGen: Gen[JsBigDec] = bigDecGen.map(it => JsBigDec.of(it)) - - val jsNumberGen: Gen[JsNumber] = Gen.frequency((freqTypeOfNumber.intFreq, jsIntGen), - (freqTypeOfNumber.longFreq, jsLongGen), - (freqTypeOfNumber.doubleFreq, jsDoubleGen), - (freqTypeOfNumber.bigDecFreq, jsBigIntGen), - (freqTypeOfNumber.bigIntFreq, jsBigDecimalGen) - ) - - - val jsBoolGen: Gen[JsBool] = boolGen.map(it => JsBool.of(it)) - - - val jsValueGen: Gen[JsValue] = Gen.frequency((freqTypeOfValue.strFreq, jsStrGen), - (freqTypeOfValue.numberFreq, jsNumberGen), - (freqTypeOfValue.boolFreq, jsBoolGen), - (freqTypeOfValue.nullFreq, Gen.const(JsNull.NULL)) - ) - - - val jsArrNumberGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsNumberGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - } - - val jsArrStrGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsStrGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector)) - - } - - val jsArrBoolGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsBoolGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - val jsArrIntGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsIntGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - val jsArrDoubleGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsDoubleGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - - val jsArrObjGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsObj](size, - jsObjGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - val jsArrLongGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsLongGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - val jsArrValueGen: Gen[JsArray] = - { - for - { - size <- arrLengthGen - vector <- Gen.containerOfN[Vector, JsValue](size, - jsValueGen - ) - } yield new JsArray(ScalaToJava.toVavrVector(vector) - ) - - } - - val jsArrGen: Gen[JsArray] = Gen.frequency((freqTypeOfArr.strFreq, jsArrStrGen), - (freqTypeOfArr.numberFreq, jsArrNumberGen), - (freqTypeOfArr.boolFreq, jsArrBoolGen), - (freqTypeOfArr.valueFreq, jsArrValueGen), - (freqTypeOfArr.objFreq, jsArrObjGen), - (freqTypeOfArr.intFreq, jsArrIntGen), - (freqTypeOfArr.longFreq, jsArrLongGen), - (freqTypeOfArr.doubleFreq, jsArrDoubleGen) - ) - - val pairNameValueGen: Gen[(String, JsValue)] = - { - for - { - key <- keyGen - value <- Gen.frequency((freqTypeOfPair.valueFreq, jsValueGen), - (freqTypeOfPair.arrFreq, jsArrGen), - (freqTypeOfPair.objFreq, jsObjGen), - (freqTypeOfPair.emptyObjFreq, JsObj.empty()), - (freqTypeOfPair.emptyArrFreq,JsArray.empty()) - ) - } yield (key, value) - } - - - val jsObjGen: Gen[JsObj] = - { - for - { - size <- objSizeGen - pairs <- Gen.containerOfN[Array, (String, JsValue)](size, - pairNameValueGen - ) - } yield { - val set = scala.collection.immutable.HashMap[String, JsValue](pairs: _*).asJava.entrySet() - JsObj.ofIterable(set) - } - - } - val jsElemGen: Gen[JsValue] = Gen.oneOf(jsValueGen, - jsArrGen, - jsObjGen - ) - - val jsonContainerGen: Gen[Json[_]] = Gen.oneOf(jsObjGen, - jsArrGen - ) - - - -} diff --git a/src/test/scala/jsonvalues/JsPairGens.scala b/src/test/scala/jsonvalues/JsPairGens.scala deleted file mode 100644 index d843fda3..00000000 --- a/src/test/scala/jsonvalues/JsPairGens.scala +++ /dev/null @@ -1,125 +0,0 @@ -package jsonvalues - -import org.scalacheck.Gen - -case class JsPairGens(jsPathGens: JsPathGens = JsPathGens(), - jsElemGens: JsElemGens = JsElemGens() - ) -{ - - val pairOfStringGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsStrGen - - } yield JsPair.of(path, - elem - ) - - val pairOfBoolGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsBoolGen - - } yield JsPair.of(path, - elem - ) - - val pairOfNumberGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsNumberGen - - } yield JsPair.of(path, - elem - ) - - - val pairOfIntGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsIntGen - - } yield JsPair.of(path, - elem - ) - - val pairOfBigIntGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsBigIntGen - - } yield JsPair.of(path, - elem - ) - - - val pairOfLongGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsLongGen - - } yield JsPair.of(path, - elem - ) - - val pairOfDoubleGen = - - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsDoubleGen - - } yield JsPair.of(path, - elem - ) - - - val pairOfJsObjGen = - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsObjGen - - } yield JsPair.of(path, - elem - ) - - val pairOfJsObjArrGen = - for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsArrGen - - } yield JsPair.of(path, - elem - ) - - val pairOfValueGen = for - { - path <- jsPathGens.pathGen - elem <- jsElemGens.jsValueGen - - } yield JsPair.of(path, - elem - ) - - val pairGen = Gen.frequency((1, pairOfValueGen), - (1, pairOfJsObjArrGen), - (1, pairOfJsObjGen) - ) - - -} diff --git a/src/test/scala/jsonvalues/JsPathGens.scala b/src/test/scala/jsonvalues/JsPathGens.scala deleted file mode 100644 index 45a9283f..00000000 --- a/src/test/scala/jsonvalues/JsPathGens.scala +++ /dev/null @@ -1,57 +0,0 @@ -package jsonvalues -import jsonvalues.ScalaToJava.toVavrVector -import org.scalacheck.Gen - -case class FreqField(freqIndex: Int = 1, - freqKey : Int = 1 - ) - - -case class JsPathGens(lengthGen: Gen[Int] = Gen.choose(1, - 10 - ), - keyGen : Gen[String] = Gen.oneOf(Characters.ALPHABET), - indexGen : Gen[Int] = Gen.choose(0, - 10 - ), - freqFieldGen: FreqField = FreqField() - ) -{ - - val indexFieldGen = indexGen.map(it => Index.of(it)) - - val keyFieldGen = keyGen.map(it => Key.of(it)) - - val fieldGen = Gen.frequency((freqFieldGen.freqIndex, indexFieldGen), - (freqFieldGen.freqKey, keyFieldGen) - ) - - val pathGen = for - { - length <- lengthGen - arr <- Gen.containerOfN[Vector, Position](length, - fieldGen - ) - } yield new JsPath(toVavrVector(arr)) - - - val objectPathGen = for - { - length <- lengthGen - key <- keyFieldGen - arr <- Gen.containerOfN[Vector, Position](length, - fieldGen - ) - } yield new JsPath(toVavrVector(arr)).prepend(new JsPath(toVavrVector[Position](Vector(key)))) - - val arrayPathGen = for - { - length <- lengthGen - key <- indexFieldGen - arr <- Gen.containerOfN[Vector, Position](length, - fieldGen - ) - } yield new JsPath(toVavrVector(arr)).prepend(new JsPath(toVavrVector[Position](Vector(key)))) - - -} diff --git a/src/test/scala/jsonvalues/ScalaToJava.scala b/src/test/scala/jsonvalues/ScalaToJava.scala deleted file mode 100644 index 336a6a0e..00000000 --- a/src/test/scala/jsonvalues/ScalaToJava.scala +++ /dev/null @@ -1,42 +0,0 @@ -package jsonvalues - -import java.util.function.{BiFunction, Function, IntBinaryOperator, LongBinaryOperator, Predicate, Supplier} - -object ScalaToJava -{ - - - def supplier[T] = (fn: () => T) => new Supplier[T] - { - override def get(): T = fn.apply() - } - - def predicate[T] = (p: T => Boolean) => new Predicate[T] - { - override def test(t: T): Boolean = p(t) - } - - def function[I, O] = (f: I => O) => new Function[I, O] - { - override def apply(t: I): O = f(t) - } - - def bifunction[T, U, R] = (f: (T, U) => R) => new BiFunction[T, U, R] - { - override def apply(t: T, - u: U - ): R = f.apply(t, - u - ) - } - - def toVavrVector[T](arr:Vector[T]):io.vavr.collection.Vector[T] = { - var v = io.vavr.collection.Vector.empty[T]() - for (elem <- arr) - { - v = v.append(elem) - } - v - } - -} diff --git a/src/test/scala/jsonvalues/specifications/BasePropSpec.scala b/src/test/scala/jsonvalues/specifications/BasePropSpec.scala deleted file mode 100644 index 7ae746d9..00000000 --- a/src/test/scala/jsonvalues/specifications/BasePropSpec.scala +++ /dev/null @@ -1,18 +0,0 @@ -package jsonvalues.specifications - -import jsonvalues.{JsElemGens, JsPairGens, JsPathGens} -import org.scalatest.PropSpec -import org.scalatestplus.scalacheck.Checkers - -class BasePropSpec extends PropSpec with Checkers -{ - - val jsGen = JsElemGens() - val jsPathGen = JsPathGens() - val jsPairGen = JsPairGens() - - implicit override val generatorDrivenConfig = PropertyCheckConfiguration(minSuccessful = 10000, - workers = 100 - - ) -} diff --git a/src/test/scala/jsonvalues/specifications/Functions.scala b/src/test/scala/jsonvalues/specifications/Functions.scala deleted file mode 100644 index b4b737ef..00000000 --- a/src/test/scala/jsonvalues/specifications/Functions.scala +++ /dev/null @@ -1,9 +0,0 @@ -package jsonvalues.specifications - -object Functions -{ - - def isLowercase(s: String): Boolean = s.chars().allMatch(c => Character.isLowerCase(c)) - def isUppercase(s: String): Boolean = s.chars().allMatch(c => Character.isUpperCase(c)) - -} diff --git a/src/test/scala/jsonvalues/specifications/HashCodeEqualsSpec.scala b/src/test/scala/jsonvalues/specifications/HashCodeEqualsSpec.scala deleted file mode 100644 index 9cf6267b..00000000 --- a/src/test/scala/jsonvalues/specifications/HashCodeEqualsSpec.scala +++ /dev/null @@ -1,27 +0,0 @@ -package jsonvalues.specifications - -import jsonvalues._ -import org.scalacheck.Prop.forAll -import org.scalatest.PropSpec -import org.scalatestplus.scalacheck.Checkers - -class HashCodeEqualsSpec extends PropSpec with Checkers -{ - val jsGen = JsElemGens(freqTypeOfPair = FreqTypeOfPair(arrFreq = 0,objFreq = 0)) - val jsPathGen = JsPathGens() - val jsPairGen = JsPairGens() - - - property("object collector reduces an stream_ back to the same object") - { - check(forAll(jsGen.jsObjGen) - { json => - val obj = JsObj.parse(json.toString) - val h1 = json.hashCode() - val h2 = obj.hashCode() - h1==h2 - } - ) - } - -} diff --git a/src/test/scala/jsonvalues/specifications/JsPairProps.scala b/src/test/scala/jsonvalues/specifications/JsPairProps.scala deleted file mode 100644 index 832c3b19..00000000 --- a/src/test/scala/jsonvalues/specifications/JsPairProps.scala +++ /dev/null @@ -1,24 +0,0 @@ -package jsonvalues.specifications - -import jsonvalues.JsPair -import org.scalacheck.Prop.forAll - -class JsPairProps extends BasePropSpec -{ - - property("appends elements to the back after creating a new array in an empty object") - { - check(forAll(jsPairGen.pairGen) - { a => - val b = JsPair.of(a.path, - a.value - ) - a.equals(b - ) && - a.hashCode().equals(b.hashCode()) - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/JsPathSpec.scala b/src/test/scala/jsonvalues/specifications/JsPathSpec.scala deleted file mode 100644 index ac012cbf..00000000 --- a/src/test/scala/jsonvalues/specifications/JsPathSpec.scala +++ /dev/null @@ -1,29 +0,0 @@ -package jsonvalues.specifications - -import jsonvalues.JsPath -import org.scalacheck.Prop.forAll - -class JsPathSpec extends BasePropSpec -{ - - property("path toStr ") - { - check(forAll(jsPathGen.pathGen) - { path => - path.equals(JsPath.path(path.toString)) && path.hashCode() == JsPath.path(path.toString).hashCode() - } - ) - } - - property("path compare == 0") - { - check(forAll(jsPathGen.pathGen - ) - { - path => path.compareTo(path) == 0 - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsarray/FactoryMethodsSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsarray/FactoryMethodsSpec.scala deleted file mode 100644 index b4fc349a..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsarray/FactoryMethodsSpec.scala +++ /dev/null @@ -1,83 +0,0 @@ -package jsonvalues.specifications.immutable.jsarray - - -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Prop.forAll - -class FactoryMethodsSpec extends BasePropSpec -{ - - - property("parse factory methods") - { - check(forAll(jsPairGen.pairGen) - { p => - JsArray.of(p.value).size() == 1 && - JsArray.of(p.value, - p.value - ).size() == 2 && - JsArray.of(p.value, - p.value, - p.value - ).size() == 3 && - JsArray.of(p.value, - p.value, - p.value, - p.value - ).size() == 4 && - JsArray.of(p.value, - p.value, - p.value, - p.value, - p.value - ).size() == 5 && - JsArray.of(p.value, - p.value, - p.value, - p.value, - p.value, - p.value - ).size() == 6 && - JsArray.of(p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value - ).size() == 7 && - JsArray.of(p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value - ).size() == 8 && - JsArray.of(p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value, - p.value - ).size() == 9 - } - ) - } - - property("json array parser") - { - check(forAll(jsGen.jsArrGen) - { js => - JsArray.parse(js.toString).equals(js) - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsarray/FilterMapReduceSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsarray/FilterMapReduceSpec.scala deleted file mode 100644 index 0b47d36d..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsarray/FilterMapReduceSpec.scala +++ /dev/null @@ -1,116 +0,0 @@ -package jsonvalues.specifications.immutable.jsarray - -import java.util.function.Predicate - -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Prop.forAll - - -class FilterMapReduceSpec extends BasePropSpec -{ - - - property("filterAllValues (removes every element but strings)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val arr = js.filterAllValues(p => p.value.isStr) - arr.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isStr) - } - ) - } - - property("filterValues (removes every element but strings)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val arr = js.filterValues(p => p.value.isStr) - arr.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isStr) - } - ) - } - - - property("filterAllValues (removes every element but integral numbers)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val arr = js.filterAllValues(p => p.value.isIntegral) - arr.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isIntegral) - } - ) - } - - - property("filterValues (removes every element but integral numbers)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val arr = js.filterAllValues(p => p.value.isIntegral) - arr.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isIntegral) - } - ) - } - - property("filterAllValues (removes null)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val arr = js.filterAllValues(p => p.value.isNotNull) - arr.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isNotNull) - } - ) - } - - property("filterValues (removes null)") - { - check( - forAll(jsGen.jsArrGen) - { - js => - - val arr = js.filterValues(p => p.value.isNotNull) - arr.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isNotNull) - } - ) - } - - - property("filterKeys returns the same array") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val predicate: Predicate[JsPair] = _ => false - val arr = js.filterKeys(predicate) - arr == js - } - ) - } - - - property("filterAllKeys (removes keys named 'a')") - { - check( - forAll(jsGen.jsArrGen) - { - js => - val predicate: Predicate[JsPair] = p => p.path.stream().filter(it => it.isKey).allMatch(it => it.asKey().name != "a") - val arr = js.filterAllKeys(predicate) - arr.streamAll().allMatch(predicate) - } - ) - } -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsarray/PutGetMergeRemoveSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsarray/PutGetMergeRemoveSpec.scala deleted file mode 100644 index 0c0b0230..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsarray/PutGetMergeRemoveSpec.scala +++ /dev/null @@ -1,197 +0,0 @@ -package jsonvalues.specifications.immutable.jsarray - -import java.math.BigInteger -import java.util._ -import java.util.function.BiFunction - -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Arbitrary -import org.scalacheck.Prop.forAll - -import scala.util.Try - -class PutGetMergeRemoveSpec extends BasePropSpec -{ - - - val doubleInt: BiFunction[JsValue, JsValue, JsInt] = ScalaToJava.bifunction((a, - b - ) => JsInt.of(a.toJsInt().value + b.toJsInt().value) - ) - - - property("inserted string in an empty array has to be returned by getStr function") - { - - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[String] - ) - { (path, - str - ) => - JsArray.empty().set(path, - JsStr.of(str) - ).getStr(path) == str - } - ) - } - - property("inserted boolean is an empty array has to be returned only by getBool function") - { - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[Boolean] - ) - { (path, - bool - ) - => - - val obj = JsArray.empty().set(path, - JsBool.of(bool) - ) - obj.getBool(path) == bool - obj.getInt(path) == null - obj.getLong(path) == null - obj.getStr(path) == null - obj.getObj(path) == null - obj.getArray(path) == null - obj.getBigDec(path) == null - obj.getBigInt(path) == null - obj.getDouble(path) == null - obj.get(path) == JsBool.of(bool) - - } - ) - } - - property("inserted integer in an empty array has to be returned by getInt,getLong,getBigInt function") - { - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[Int] - ) - { (path, - n - ) - => - val arr = JsArray.empty().set(path, - JsInt.of(n) - ) - arr.getInt(path) == n - arr.getBool(path) == null - arr.getLong(path) == n - arr.getBigInt(path) == BigInteger.valueOf(n) - arr.getObj(path) == null - arr.getArray(path) == null - arr.getBigDec(path) == null - arr.getDouble(path) == null - arr.get(path) == JsInt.of(n) - - } - ) - } - - - property("inserted long in an empty array has to be returned by getInt(if fits),getLong,getBigInt and get function") - { - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[Long] - ) - { (path, - n - ) - => - - - val arr = JsArray.empty().set(path, - JsLong.of(n) - ) - - arr.getInt(path) == Try.apply(Math.toIntExact(n)).getOrElse(null) - - arr.getBool(path) == null - arr.getLong(path) == n - arr.getBigInt(path) == BigInteger.valueOf(n) - arr.getObj(path) == null - arr.getArray(path) == null - arr.getBigDec(path) == null - arr.getDouble(path) == null - arr.get(path) == JsLong.of(n) - - } - ) - } - - - property("inserted bigint in an empty array has to be returned by getInt(if fits),getLong(if fits),getBigInt and get functions") - { - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[BigInt] - ) - { (path, - n - ) - => - - val arr = JsArray.empty().set(path, - JsBigInt.of(n.bigInteger) - ) - arr.getInt(path) == Try.apply(n.bigInteger.intValueExact()).getOrElse(null) - arr.getBool(path) == null - arr.getLong(path) == Try.apply(n.bigInteger.longValueExact()).getOrElse(null) - arr.getBigInt(path) == n.bigInteger - arr.getObj(path) == null - arr.getArray(path) == null - arr.getBigDec(path) == null - arr.getDouble(path) == null - arr.get(path) == JsBigInt.of(n.bigInteger) - - } - ) - } - - property("removes existing element and get function returns NOTHING") - { - check(forAll(jsPathGen.arrayPathGen, - jsGen.jsValueGen - ) - { (path, - elem - ) => - - JsArray.empty().set(path, - elem - ).delete(path).get(path) == JsNothing.NOTHING - - } - ) - } - - property("inserts and removes boolean") - { - check( - forAll(jsPathGen.arrayPathGen, - Arbitrary.arbitrary[Boolean] - ) - { (path, - value - ) => - - val json = JsArray.empty().set(path, - JsBool.of(value) - ) - (json.getBool(path) == value) && - (json.delete(path).get(path) == JsNothing.NOTHING) - - - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsarray/SetTheoryOpsSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsarray/SetTheoryOpsSpec.scala deleted file mode 100644 index 13fe781a..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsarray/SetTheoryOpsSpec.scala +++ /dev/null @@ -1,181 +0,0 @@ -package jsonvalues.specifications.immutable.jsarray - -import jsonvalues.JsArray.TYPE -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Prop.forAll - -class SetTheoryOpsSpec extends BasePropSpec -{ - - - property("union of an array with itself returns the same array (TYPE.SET)") - { - check(forAll(jsGen.jsArrGen) - { js => - js.union(js, - TYPE.SET - ).equals(js) && js.union(js, - TYPE.SET - ).hashCode() == js.hashCode() - } - - ) - } - - property("union of an array with itself returns the same array (TYPE.LIST)") - { - check(forAll(jsGen.jsArrGen) - { js => - js.union(js, - TYPE.LIST - ).equals(js) && js.union(js, - TYPE.LIST - ).hashCode() == js.hashCode() - } - ) - } - - property("union of an array with itself returns the same array duplicated (TYPE.MULTISET)") - { - check(forAll(jsGen.jsArrGen) - { js => - js.union(js, - TYPE.MULTISET - ).size() == 2 * js.size() - } - ) - } - - - property("unionAll of an array with itself returns the same array ") - { - check(forAll(jsGen.jsArrGen) - { js => - js.unionAll(js).equals(js) && js.unionAll(js).hashCode() == js.hashCode() - } - ) - } - - - property("intersection of an array with itself returns the same array (MULTISET AND LIST)") - { - check(forAll(jsGen.jsArrGen) - { js => - js.intersection(js, - TYPE.LIST - ).equals(js) && - js.intersection(js, - TYPE.MULTISET - ).equals(js) - } - ) - } - // - property("union of an array A with an empty array, returns A") - { - check(forAll(jsGen.jsArrGen) - { js => - js.union(JsArray.empty(), - TYPE.LIST - ).equals(js) && js.unionAll(JsArray.empty()).equals(js) - } - ) - } - // - property("array union is commutative (MULTISET AND LIST)") - { - check(forAll(jsGen.jsArrGen, - jsGen.jsArrGen - ) - { (a, - b - ) => - a.union(b, - TYPE.MULTISET - ).size() == b.union(a, - TYPE.MULTISET - ).size() && - a.union(b, - TYPE.LIST - ).size() == b.union(a, - TYPE.LIST - ).size() - } - ) - } - // - property("array unionAll is commutative (MULTISET AND LIST)") - { - check(forAll(jsGen.jsArrGen, - jsGen.jsArrGen - ) - { (a, - b - ) => - a.unionAll(b).size() == b.unionAll(a).size() - - - } - ) - } - property("arrays intersection is commutative (ORDERED LIST)") - { - check(forAll(jsGen.jsArrGen, - jsGen.jsArrGen - ) - { (a, - b - ) => - a.intersection(b, - TYPE.LIST - ).equals(b.intersection(a, - TYPE.LIST - ) - ) - } - ) - } - - property("arrays intersectionAll is commutative (ORDERED LIST)") - { - check(forAll(jsGen.jsArrGen, - jsGen.jsArrGen - ) - { (a, - b - ) => - a.intersectionAll(b).equals(b.intersectionAll(a)) - } - ) - } - - - property("intersection of an array with an empty array returns an empty array") - { - check(forAll(jsGen.jsArrGen) - { js => - js.intersection(JsArray.empty(), - TYPE.LIST - ).equals(JsArray.empty()) && - js.intersection(JsArray.empty(), - TYPE.SET - ).equals(JsArray.empty()) && - js.intersection(JsArray.empty(), - TYPE.LIST - ).equals(JsArray.empty()) - } - ) - } - - property("intersectionAll of an array with an empty array returns an empty array") - { - check(forAll(jsGen.jsArrGen) - { js => - js.intersectionAll(JsArray.empty()).equals(JsArray.empty()) - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsobject/FactoryMethodsSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsobject/FactoryMethodsSpec.scala deleted file mode 100644 index ad648070..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsobject/FactoryMethodsSpec.scala +++ /dev/null @@ -1,86 +0,0 @@ -package jsonvalues.specifications.immutable.jsobject - - -import java.util.Optional -import java.util.function.Predicate - -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Prop.forAll - -class FactoryMethodsSpec extends BasePropSpec -{ - - - property("parse factory methods") - { - check(forAll(jsPairGen.pairGen) - { p => - JsObj - .of("a", - p.value - ).size() == 1 && - JsObj.of("a", - p.value, - "x", - p.value - ).size() == 2 && - JsObj.of("a", - p.value, - "x", - p.value, - "c", - p.value - ).size() == 3 && - JsObj.of("a", - p.value, - "x", - p.value, - "c", - p.value, - "d", - p.value - ).size() == 4 && - JsObj.of("a", - p.value, - "x", - p.value, - "c", - p.value, - "d", - p.value, - "e", - p.value - ).size() == 5 && - JsObj.of("a", - p.value, - "x", - p.value, - "c", - p.value, - "d", - p.value, - "e", - p.value, - "f", - p.value - ).size() == 6 - - - } - ) - } - - property("json object parser") - { - check(forAll(jsGen.jsObjGen) - { js => - val obj = JsObj.parse(js.toString) - - obj.equals(js) && obj.hashCode() == js.hashCode() - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsobject/FilterMapReduceSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsobject/FilterMapReduceSpec.scala deleted file mode 100644 index 49101cfc..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsobject/FilterMapReduceSpec.scala +++ /dev/null @@ -1,129 +0,0 @@ -package jsonvalues.specifications.immutable.jsobject - - -import java.util.function.Predicate - -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Prop.forAll - - -class FilterMapReduceSpec extends BasePropSpec -{ - - - property("filterAllValues (removes every element but strings)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterAllValues(p => p.value.isStr) - obj.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isStr) - } - ) - } - - property("filterValues (removes every element but strings)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterValues(p => p.value.isStr) - obj.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isStr) - } - ) - } - - - property("filterAllValues (removes every element but integral numbers)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterAllValues(p => p.value.isIntegral) - obj.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isIntegral) - } - ) - } - - - property("filterValues (removes every element but integral numbers)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterAllValues(p => p.value.isIntegral) - obj.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isIntegral) - } - ) - } - - property("filterAllValues (removes null)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterAllValues(p => p.value.isNotNull) - obj.streamAll().filter(p => p.value.isNotJson).allMatch(p => p.value.isNotNull) - } - ) - } - - property("filterVAlues (removes null)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val obj = js.filterValues(p => p.value.isNotNull) - obj.streamAll().filter(p => p.value.isNotJson && p.path.tail().isEmpty).allMatch(p => p.value.isNotNull) - } - ) - } - - property("filterKeys (removes all keys)") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val predicate: Predicate[JsPair] = _ => false - val obj = js.filterKeys(predicate) - obj == JsObj.empty() - } - ) - } - - property("filterKeys (removes keys named 'a')") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val predicate: Predicate[JsPair] = p => p.path.head().asKey().name != "a" - val obj = js.filterKeys(predicate) - obj.streamAll().allMatch(p => p.path.head().asKey().name != "a") - } - ) - } - - property("filterAllKeys_ (removes keys named 'a')") - { - check( - forAll(jsGen.jsObjGen) - { - js => - val predicate: Predicate[JsPair] = p => p.path.stream().filter(it => it.isKey).allMatch(it => it.asKey().name != "a") - val obj = js.filterAllKeys(predicate) - obj.streamAll().allMatch(predicate) - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsobject/PutGetMergeRemoveSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsobject/PutGetMergeRemoveSpec.scala deleted file mode 100644 index bd18a062..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsobject/PutGetMergeRemoveSpec.scala +++ /dev/null @@ -1,195 +0,0 @@ -package jsonvalues.specifications.immutable.jsobject - -import java.math.BigInteger -import java.util.function.BiFunction -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Arbitrary -import org.scalacheck.Prop.forAll - -import scala.util.Try - -class PutGetMergeRemoveSpec extends BasePropSpec -{ - - - val doubleInt: BiFunction[JsValue, JsValue, JsInt] = ScalaToJava.bifunction((a, - b - ) => JsInt.of(a.toJsInt().value + b.toJsInt().value) - ) - - property("inserted string in an empty object has to be returned by getStr function") - { - - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[String] - ) - { (path, - str - ) => - JsObj.empty().set(path, - JsStr.of(str) - ).getStr(path)== str - } - ) - } - - property("inserted boolean in an empty object has to be returned only by getBool function") - { - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[Boolean] - ) - { (path, - bool - ) - => - - val obj = JsObj.empty().set(path, - JsBool.of(bool) - ) - obj.getBool(path) == bool - obj.getInt(path) == null - obj.getLong(path) == null - obj.getStr(path) == null - obj.getObj(path) == null - obj.getArray(path) == null - obj.getBigDec(path) == null - obj.getBigInt(path) == null - obj.getDouble(path) == null - obj.get(path) == JsBool.of(bool) - - } - ) - } - - - property("inserted integer in an empty object has to be returned by getInt,getLong,getBigInt function") - { - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[Int] - ) - { (path, - n - ) - => - val obj = JsObj.empty().set(path, - JsInt.of(n) - ) - obj.getInt(path) == n - obj.getBool(path) == null - obj.getLong(path) == n - obj.getBigInt(path) == BigInteger.valueOf(n) - obj.getObj(path) == null - obj.getArray(path) == null - obj.getBigDec(path) == null - obj.getDouble(path) == null - obj.get(path) == JsInt.of(n) - - } - ) - } - - property("inserted long in an empty object has to be returned by getInt(if fits),getLong,getBigInt and get function") - { - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[Long] - ) - { (path, - n - ) - => - - - val obj = JsObj.empty().set(path, - JsLong.of(n) - ) - - obj.getInt(path) == Try.apply(Math.toIntExact(n)).getOrElse(null) - - obj.getBool(path) == null - obj.getLong(path) == n - obj.getBigInt(path) == BigInteger.valueOf(n) - obj.getObj(path) == null - obj.getArray(path) == null - obj.getBigDec(path) == null - obj.getDouble(path) == null - obj.get(path) == JsLong.of(n) - - } - ) - } - - property("inserted bigint in an empty object has to be returned by getInt(if fits),getLong(if fits),getBigInt and get functions") - { - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[BigInt] - ) - { (path, - n - ) - => - - val obj = JsObj.empty().set(path, - JsBigInt.of(n.bigInteger) - ) - - obj.getInt(path) == Try.apply(n.bigInteger.intValueExact()).getOrElse(null) && - obj.getBool(path) == null && - obj.getLong(path) == Try.apply(n.bigInteger.longValueExact()).getOrElse(null) && - obj.getBigInt(path) == n.bigInteger && - obj.getObj(path) == null && - obj.getArray(path) == null && - obj.getBigDec(path) == null && - obj.getDouble(path) == null && - obj.get(path) == JsBigInt.of(n.bigInteger) - - } - ) - } - - - property("removes existing element and get function returns NOTHING") - { - check(forAll(jsPathGen.objectPathGen, - jsGen.jsValueGen - ) - { (path, - elem - ) => - - JsObj.empty().set(path, - elem - ).delete(path).get(path) == JsNothing.NOTHING - - } - ) - } - - property("inserts and removes boolean") - { - check( - forAll(jsPathGen.objectPathGen, - Arbitrary.arbitrary[Boolean] - ) - { (path, - value - ) => - - val json = JsObj.empty().set(path, - JsBool.of(value) - ) - (json.getBool(path) == value) && - (json.delete(path).get(path) == JsNothing.NOTHING) - - - } - ) - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsobject/SetTheoryOpsSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsobject/SetTheoryOpsSpec.scala deleted file mode 100644 index b2b20a67..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsobject/SetTheoryOpsSpec.scala +++ /dev/null @@ -1,217 +0,0 @@ -package jsonvalues.specifications.immutable.jsobject - -import jsonvalues.JsArray.TYPE -import jsonvalues.JsArray.TYPE.SET -import jsonvalues._ -import jsonvalues.specifications.BasePropSpec -import org.scalacheck.Gen -import org.scalacheck.Prop.forAll - -class SetTheoryOpsSpec extends BasePropSpec -{ - - property("union of an object with itself returns the same object") - { - check(forAll(jsGen.jsObjGen) - { js => - js.union(js).equals(js) && js.union(js).hashCode() == js.hashCode() - } - ) - } - - property("unionAll of an object with itself itself returns the same object") - { - check(forAll(jsGen.jsObjGen) - { js => - js.unionAll(js, - SET - ).equals(js) && js.unionAll(js, - SET - ).hashCode() == js.hashCode() - } - ) - } - - property("intersection of an object with itself returns the same object") - { - check(forAll(jsGen.jsObjGen) - { js => - js.intersection(js, - TYPE.LIST - ).equals(js) && js.intersection(js, - TYPE.LIST - ).hashCode() == js.hashCode() - } - ) - } - // - property("union of an object A with an empty object, returns A") - { - check(forAll(jsGen.jsObjGen) - { js => - js.union(JsObj.empty() - ).equals(js) && js.union(JsObj.empty()).equals(js) - } - ) - } - // - property("objects union is commutative (same fields but not necessarily same values)") - { - check(forAll(jsGen.jsObjGen, - jsGen.jsObjGen - ) - { (a, - b - ) => - a.union(b).keySet().containsAll(b.union(a).keySet()) && - b.union(a).keySet().containsAll(a.union(b).keySet()) - - } - ) - } - // - property("objects unionAll is commutative (same fields but not necessarily same values)") - { - check(forAll(jsGen.jsObjGen, - jsGen.jsObjGen - ) - { (a, - b - ) => - a.unionAll(b, - SET - ).keySet().containsAll(b.unionAll(a, - SET - ).keySet() - ) && - b.unionAll(a, - SET - ).keySet().containsAll(a.unionAll(b, - SET - ).keySet() - ) - - } - ) - } - property("objects intersection is commutative (same fields and values)") - { - check(forAll(jsGen.jsObjGen, - jsGen.jsObjGen - ) - { (a, - b - ) => - a.intersection(b, - TYPE.LIST - ).equals(b.intersection(a, - TYPE.LIST - ) - ) - } - ) - } - - property("objects intersectionAll is commutative (same fields and values)") - { - check(forAll(jsGen.jsObjGen, - jsGen.jsObjGen - ) - { (a, - b - ) => - val obj = a.intersectionAll(b, - SET - ) - val obj1 = b.intersectionAll(a, - SET - ) - obj.equals(obj1, - SET - ) - - } - ) - } - - - property("intersection of an object with an empty object returns an empty object") - { - check(forAll(jsGen.jsObjGen) - { js => - js.intersection(JsObj.empty(), - TYPE.LIST - ).equals(JsObj.empty() - ) - } - ) - } - - property("intersectionAll of an object with an empty object returns an empty object") - { - check(forAll(jsGen.jsObjGen) - { js => - js.intersectionAll(JsObj.empty(), - SET - ).equals(JsObj.empty() - ) - } - ) - } - - property("arrays as set, duplicated are removed") - { - val ONE = JsInt.of(1) - val TWO = JsInt.of(2) - val THREE = JsInt.of(3) - val obj3 = JsObj.of("d", - ONE - ) - val obj4 = JsObj.of("e", - TWO - ) - - val gen: Gen[JsObj] = Gen.const(JsObj.of("a", - JsArray.of(ONE, - TWO, - obj3 - ) - ) - ) - - val b: JsObj = JsObj.of("a", - JsArray.of(ONE, - THREE, - obj4 - ) - ) - - check(forAll(gen) - { - obj => - obj.unionAll(obj, - SET - ).equals(obj) - - val result = obj.unionAll(b, - TYPE.MULTISET - ) - - val result1 = obj.unionAll(b, - SET - ) - - val result2 = obj.unionAll(b, - TYPE.LIST - ) - - result.getArray("a").size() == 6 && result1.getArray("a").size() == 5 && result2.getArray("a").size() == 3 - - - } - ) - - } - - -} diff --git a/src/test/scala/jsonvalues/specifications/immutable/jsobject/StreamCollectorSpec.scala b/src/test/scala/jsonvalues/specifications/immutable/jsobject/StreamCollectorSpec.scala deleted file mode 100644 index 2eb93038..00000000 --- a/src/test/scala/jsonvalues/specifications/immutable/jsobject/StreamCollectorSpec.scala +++ /dev/null @@ -1,98 +0,0 @@ -package jsonvalues.specifications.immutable.jsobject - -import java.math.BigInteger -import java.util.function.Function -import java.util.stream - -import jsonvalues.specifications.BasePropSpec -import jsonvalues.{JsObj, JsPair} -import org.scalacheck.Prop.forAll - -class StreamCollectorSpec extends BasePropSpec -{ - - property("pairs returned by stream_ function are returned by get function.") - { - check(forAll(jsGen.jsObjGen) - { js => - def testPredicateIf(filter: jsonvalues.JsPair => Boolean, - predicate: jsonvalues.JsPair => Boolean - ): JsObj => Boolean = - { - json => - json.streamAll(). - filter((t: jsonvalues.JsPair) => filter.apply(t)). - allMatch((t: jsonvalues.JsPair) => predicate.apply(t)) - } - - List( - testPredicateIf(p => p.value.isStr, - pair => js.getStr(pair.path) == pair.value.toJsStr.value - ), - testPredicateIf(p => p.value.isInt, - pair => - { - val n = pair.value.toJsInt.value - (js.getInt(pair.path) == n) && - (js.getLong(pair.path) == n) && - (js.getBigInt(pair.path) == BigInteger.valueOf(n)) - } - ), - testPredicateIf(p => p.value.isLong, - pair => - { - val n = pair.value.toJsLong.value - (js.getLong(pair.path) == n) && - (js.getBigInt(pair.path) == BigInteger.valueOf(n)) - } - ), - testPredicateIf(p => p.value.isDouble, - pair => - { - val n = pair.value.toJsDouble.value - (js.getDouble(pair.path) == n) && - (js.getBigDec(pair.path) == java.math.BigDecimal.valueOf(n)) - } - ), - testPredicateIf(p => p.value.isBigInt, - pair => js.getBigInt(pair.path) == pair.value.toJsBigInt.value - ), - testPredicateIf(pair => pair.value.isBigDec, - pair => js.getBigDec(pair.path) == pair.value.toJsBigDec.value - ), - testPredicateIf(pair => pair.value.isBool, - pair => js.getBool(pair.path) == pair.value.toJsBool.value - ) - ).map(f => f(js)) - .reduce(_ && _) - } - ) - } - - - - - - property("reduces a stream in parallel and not in parallel and returns the same result") - { - check(forAll(jsGen.jsObjGen) - { js => - - val function: Function[JsPair, Long] = pair => pair.value.toJsLong().value - - val value: stream.Stream[Long] = js.streamAll().filter(p => p.value.isLong || p.value.isInt).map(function) - val a = value.reduce((a: Long, - b: Long - ) => a + b - ).orElse(-1) - - val value1: stream.Stream[Long] = js.streamAll().parallel().filter(p => p.value.isLong || p.value.isInt).map(function) - val b = value1.reduce((a: Long, - b: Long - ) => a + b - ).orElse(-1) - a.equals(b) - } - ) - } -}