← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Thu Dec 15 15:23:56 2022
Reported on Thu Dec 15 15:27:04 2022

Filename/Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary.pm
StatementsExecuted 842234 statements in 1.52s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
41337211.24s64.4sJSON::Schema::Modern::Vocabulary::::eval_subschema_at_uriJSON::Schema::Modern::Vocabulary::eval_subschema_at_uri (recurses: max depth 38, inclusive time 700s)
49439121258ms64.4sJSON::Schema::Modern::Vocabulary::::evalJSON::Schema::Modern::Vocabulary::eval (recurses: max depth 34, inclusive time 631s)
2893591141.5ms41.5msJSON::Schema::Modern::Vocabulary::::CORE:substJSON::Schema::Modern::Vocabulary::CORE:subst (opcode)
3973214.6ms336msJSON::Schema::Modern::Vocabulary::::traverse_object_schemasJSON::Schema::Modern::Vocabulary::traverse_object_schemas (recurses: max depth 3, inclusive time 101ms)
5531034.24ms157msJSON::Schema::Modern::Vocabulary::::traverse_subschemaJSON::Schema::Modern::Vocabulary::traverse_subschema (recurses: max depth 2, inclusive time 49.3ms)
74311.91ms66.3msJSON::Schema::Modern::Vocabulary::::traverse_array_schemasJSON::Schema::Modern::Vocabulary::traverse_array_schemas (recurses: max depth 2, inclusive time 2.30ms)
39711407µs407µsJSON::Schema::Modern::Vocabulary::::CORE:sortJSON::Schema::Modern::Vocabulary::CORE:sort (opcode)
111103µs122µsJSON::Schema::Modern::Vocabulary::::BEGIN@16JSON::Schema::Modern::Vocabulary::BEGIN@16
61167µs998µsJSON::Schema::Modern::Vocabulary::::traverse_property_schemaJSON::Schema::Modern::Vocabulary::traverse_property_schema
11157µs61µsMoo::_Utils::::BEGIN@1.305 Moo::_Utils::BEGIN@1.305
11119µs726µsJSON::Schema::Modern::Vocabulary::::BEGIN@11JSON::Schema::Modern::Vocabulary::BEGIN@11
11114µs49µsJSON::Schema::Modern::Vocabulary::::BEGIN@17JSON::Schema::Modern::Vocabulary::BEGIN@17
11113µs43µsJSON::Schema::Modern::Vocabulary::::BEGIN@13JSON::Schema::Modern::Vocabulary::BEGIN@13
11111µs11µsJSON::Schema::Modern::Vocabulary::::BEGIN@9JSON::Schema::Modern::Vocabulary::BEGIN@9
11110µs277µsJSON::Schema::Modern::Vocabulary::::BEGIN@10JSON::Schema::Modern::Vocabulary::BEGIN@10
11110µs28µsJSON::Schema::Modern::Vocabulary::::BEGIN@14JSON::Schema::Modern::Vocabulary::BEGIN@14
1118µs109µsJSON::Schema::Modern::Vocabulary::::BEGIN@12JSON::Schema::Modern::Vocabulary::BEGIN@12
1117µs17µsJSON::Schema::Modern::Vocabulary::::BEGIN@15JSON::Schema::Modern::Vocabulary::BEGIN@15
1117µs26µsJSON::Schema::Modern::Vocabulary::::BEGIN@18JSON::Schema::Modern::Vocabulary::BEGIN@18
1117µs37µsMoo::_Utils::::BEGIN@2.306 Moo::_Utils::BEGIN@2.306
1116µs250µsJSON::Schema::Modern::Vocabulary::::BEGIN@20JSON::Schema::Modern::Vocabulary::BEGIN@20
1113µs3µsJSON::Schema::Modern::Vocabulary::::BEGIN@19JSON::Schema::Modern::Vocabulary::BEGIN@19
3113µs3µsJSON::Schema::Modern::Vocabulary::::evaluation_orderJSON::Schema::Modern::Vocabulary::evaluation_order
0000s0sJSON::Schema::Modern::Vocabulary::::traverseJSON::Schema::Modern::Vocabulary::traverse
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1272µs265µs
# spent 61µs (57+4) within Moo::_Utils::BEGIN@1.305 which was called: # once (57µs+4µs) by Moo::_Utils::_require at line 1
use strict;
# spent 61µs making 1 call to Moo::_Utils::BEGIN@1.305 # spent 4µs making 1 call to strict::import
2240µs267µs
# spent 37µs (7+30) within Moo::_Utils::BEGIN@2.306 which was called: # once (7µs+30µs) by Moo::_Utils::_require at line 2
use warnings;
# spent 37µs making 1 call to Moo::_Utils::BEGIN@2.306 # spent 30µs making 1 call to warnings::import
3package JSON::Schema::Modern::Vocabulary;
4# vim: set ts=8 sts=2 sw=2 tw=100 et :
5# ABSTRACT: Base role for JSON Schema vocabulary classes
6
710sour $VERSION = '0.559';
8
9229µs111µs
# spent 11µs within JSON::Schema::Modern::Vocabulary::BEGIN@9 which was called: # once (11µs+0s) by Moo::_Utils::_require at line 9
use 5.020;
# spent 11µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@9
10226µs2295µs
# spent 277µs (10+267) within JSON::Schema::Modern::Vocabulary::BEGIN@10 which was called: # once (10µs+267µs) by Moo::_Utils::_require at line 10
use Moo::Role;
# spent 277µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@10 # spent 18µs making 1 call to Moo::Role::import
11356µs31.43ms
# spent 726µs (19+707) within JSON::Schema::Modern::Vocabulary::BEGIN@11 which was called: # once (19µs+707µs) by Moo::_Utils::_require at line 11
use strictures 2;
# spent 726µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@11 # spent 690µs making 1 call to strictures::import # spent 16µs making 1 call to strictures::VERSION
12238µs2210µs
# spent 109µs (8+101) within JSON::Schema::Modern::Vocabulary::BEGIN@12 which was called: # once (8µs+101µs) by Moo::_Utils::_require at line 12
use experimental qw(signatures postderef);
# spent 109µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@12 # spent 101µs making 1 call to experimental::import
13228µs246µs
# spent 43µs (13+30) within JSON::Schema::Modern::Vocabulary::BEGIN@13 which was called: # once (13µs+30µs) by Moo::_Utils::_require at line 13
use if "$]" >= 5.022, experimental => 're_strict';
# spent 43µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@13 # spent 3µs making 1 call to if::import
14219µs230µs
# spent 28µs (10+18) within JSON::Schema::Modern::Vocabulary::BEGIN@14 which was called: # once (10µs+18µs) by Moo::_Utils::_require at line 14
no if "$]" >= 5.031009, feature => 'indirect';
# spent 28µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@14 # spent 2µs making 1 call to if::unimport
15219µs218µs
# spent 17µs (7+10) within JSON::Schema::Modern::Vocabulary::BEGIN@15 which was called: # once (7µs+10µs) by Moo::_Utils::_require at line 15
no if "$]" >= 5.033001, feature => 'multidimensional';
# spent 17µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@15 # spent 1µs making 1 call to if::unimport
16235µs2124µs
# spent 122µs (103+19) within JSON::Schema::Modern::Vocabulary::BEGIN@16 which was called: # once (103µs+19µs) by Moo::_Utils::_require at line 16
no if "$]" >= 5.033006, feature => 'bareword_filehandles';
# spent 122µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@16 # spent 2µs making 1 call to if::unimport
17352µs384µs
# spent 49µs (14+35) within JSON::Schema::Modern::Vocabulary::BEGIN@17 which was called: # once (14µs+35µs) by Moo::_Utils::_require at line 17
use Ref::Util 0.100 'is_plain_arrayref';
# spent 49µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@17 # spent 27µs making 1 call to Exporter::import # spent 8µs making 1 call to UNIVERSAL::VERSION
18215µs245µs
# spent 26µs (7+19) within JSON::Schema::Modern::Vocabulary::BEGIN@18 which was called: # once (7µs+19µs) by Moo::_Utils::_require at line 18
use JSON::Schema::Modern::Utilities qw(jsonp assert_keyword_type abort);
# spent 26µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@18 # spent 19µs making 1 call to Exporter::import
19212µs13µs
# spent 3µs within JSON::Schema::Modern::Vocabulary::BEGIN@19 which was called: # once (3µs+0s) by Moo::_Utils::_require at line 19
use Carp ();
# spent 3µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@19
202543µs2494µs
# spent 250µs (6+244) within JSON::Schema::Modern::Vocabulary::BEGIN@20 which was called: # once (6µs+244µs) by Moo::_Utils::_require at line 20
use namespace::clean;
# spent 250µs making 1 call to JSON::Schema::Modern::Vocabulary::BEGIN@20 # spent 244µs making 1 call to namespace::clean::import
21
2211µsour @CARP_NOT = qw(JSON::Schema::Modern);
23
2411µs111µsrequires qw(vocabulary keywords);
# spent 11µs making 1 call to Moo::Role::requires
25
2634µs
# spent 3µs within JSON::Schema::Modern::Vocabulary::evaluation_order which was called 3 times, avg 1µs/call: # 3 times (3µs+0s) by JSON::Schema::Modern::Vocabulary::Core::CORE:sort at line 337 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Core.pm, avg 1µs/call
sub evaluation_order { 999 } # override, if needed
27
28sub traverse ($self, $schema, $state) {
29 $state->{evaluator}->_traverse_subschema($schema, $state);
30}
31
322212371µs
# spent 157ms (4.24+153) within JSON::Schema::Modern::Vocabulary::traverse_subschema which was called 553 times, avg 284µs/call: # 154 times (1.35ms+1.81ms) by JSON::Schema::Modern::Vocabulary::Unevaluated::_traverse_keyword_unevaluatedProperties at line 97 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Unevaluated.pm, avg 20µs/call # 130 times (999µs+23.6ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_additionalProperties at line 445 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 189µs/call # 96 times (832µs+100ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_items at line 246 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 1.05ms/call # 63 times (344µs+12.1ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_then at line 139 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 198µs/call # 63 times (382µs+7.63ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_if at line 138 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 127µs/call # 15 times (87µs+3.03ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_else at line 140 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 208µs/call # 14 times (117µs+3.08ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_propertyNames at line 481 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 228µs/call # 14 times (101µs+964µs) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_not at line 127 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 76µs/call # 3 times (23µs+140µs) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_contains at line 334 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 54µs/call # once (9µs+62µs) by JSON::Schema::Modern::Vocabulary::Content::_traverse_keyword_contentSchema at line 99 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Content.pm
sub traverse_subschema ($self, $schema, $state) {
33 $state->{evaluator}->_traverse_subschema($schema->{$state->{keyword}},
345534.13ms5530s +{ %$state, schema_path => $state->{schema_path}.'/'.$state->{keyword} });
# spent 202ms making 553 calls to JSON::Schema::Modern::_traverse_subschema, avg 366µs/call, recursion: max depth 6, sum of overlapping time 202ms
35}
36
3729672µs
# spent 66.3ms (1.91+64.4) within JSON::Schema::Modern::Vocabulary::traverse_array_schemas which was called 74 times, avg 896µs/call: # 31 times (843µs+10.6ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_anyOf at line 88 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 369µs/call # 22 times (621µs+42.7ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_allOf at line 68 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 1.97ms/call # 21 times (450µs+11.1ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_oneOf at line 105 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 549µs/call
sub traverse_array_schemas ($self, $schema, $state) {
387490µs74479µs return if not assert_keyword_type($state, $schema, 'array');
# spent 479µs making 74 calls to JSON::Schema::Modern::Utilities::assert_keyword_type, avg 6µs/call
397455µs return E($state, '%s array is empty', $state->{keyword}) if not $schema->{$state->{keyword}}->@*;
40
417416µs my $valid = 1;
4274141µs foreach my $idx (0 .. $schema->{$state->{keyword}}->$#*) {
43 $valid = 0 if not $state->{evaluator}->_traverse_subschema($schema->{$state->{keyword}}[$idx],
441991.24ms1990s +{ %$state, schema_path => $state->{schema_path}.'/'.$state->{keyword}.'/'.$idx });
# spent 66.2ms making 199 calls to JSON::Schema::Modern::_traverse_subschema, avg 333µs/call, recursion: max depth 6, sum of overlapping time 66.2ms
45 }
4674174µs return $valid;
47}
48
491588287µs
# spent 336ms (14.6+321) within JSON::Schema::Modern::Vocabulary::traverse_object_schemas which was called 397 times, avg 847µs/call: # 382 times (13.8ms+233ms) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_properties at line 368 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 646µs/call # 12 times (820µs+88.5ms) by JSON::Schema::Modern::Vocabulary::Core::_traverse_keyword_defs at line 298 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Core.pm, avg 7.44ms/call # 3 times (29µs+-29µs) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_dependentSchemas at line 158 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call
sub traverse_object_schemas ($self, $schema, $state) {
50397624µs3972.99ms return if not assert_keyword_type($state, $schema, 'object');
# spent 2.99ms making 397 calls to JSON::Schema::Modern::Utilities::assert_keyword_type, avg 8µs/call
51
52397112µs my $valid = 1;
533972.24ms397407µs foreach my $property (sort keys $schema->{$state->{keyword}}->%*) {
# spent 407µs making 397 calls to JSON::Schema::Modern::Vocabulary::CORE:sort, avg 1µs/call
54 $valid = 0 if not $state->{evaluator}->_traverse_subschema($schema->{$state->{keyword}}{$property},
5513349.58ms266810.5ms +{ %$state, schema_path => jsonp($state->{schema_path}, $state->{keyword}, $property) });
# spent 10.5ms making 1334 calls to JSON::Schema::Modern::Utilities::jsonp, avg 8µs/call # spent 408ms making 1334 calls to JSON::Schema::Modern::_traverse_subschema, avg 306µs/call, recursion: max depth 6, sum of overlapping time 408ms
56 }
57397689µs return $valid;
58}
59
603011µs
# spent 998µs (67+931) within JSON::Schema::Modern::Vocabulary::traverse_property_schema which was called 6 times, avg 166µs/call: # 6 times (67µs+931µs) by JSON::Schema::Modern::Vocabulary::Applicator::_traverse_keyword_patternProperties at line 408 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 166µs/call
sub traverse_property_schema ($self, $schema, $state, $property) {
6167µs627µs return if not assert_keyword_type($state, $schema, 'object');
# spent 27µs making 6 calls to JSON::Schema::Modern::Utilities::assert_keyword_type, avg 4µs/call
62
63 $state->{evaluator}->_traverse_subschema($schema->{$state->{keyword}}{$property},
64643µs1247µs +{ %$state, schema_path => jsonp($state->{schema_path}, $state->{keyword}, $property) });
# spent 47µs making 6 calls to JSON::Schema::Modern::Utilities::jsonp, avg 8µs/call # spent 857µs making 6 calls to JSON::Schema::Modern::_traverse_subschema, avg 143µs/call, recursion: max depth 2, sum of overlapping time 857µs
65}
66
6724719569.4ms
# spent 64.4s (258ms+64.1) within JSON::Schema::Modern::Vocabulary::eval which was called 49439 times, avg 1.30ms/call: # 25474 times (110ms+-110ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_allOf at line 73 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 10834 times (88.8ms+64.3s) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_properties at line 385 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 5.94ms/call # 3002 times (15.6ms+-15.6ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_if at line 148 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 2345 times (9.69ms+-4.86ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_anyOf at line 95 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 2µs/call # 2207 times (7.95ms+-7.95ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_if at line 154 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 1816 times (8.93ms+-8.93ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_additionalProperties at line 464 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 1410 times (6.83ms+-6.83ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword__items_schema at line 314 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 738 times (3.69ms+-3.69ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_patternProperties at line 427 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 712 times (2.81ms+-2.81ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_propertyNames at line 488 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 608 times (2.29ms+-2.29ms) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_oneOf at line 111 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 289 times (895µs+-895µs) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_dependentSchemas at line 167 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call # 4 times (14µs+-14µs) by JSON::Schema::Modern::Vocabulary::Applicator::_eval_keyword_not at line 133 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Applicator.pm, avg 0s/call
sub eval ($self, $data, $schema, $state) {
6849439183ms494390s $state->{evaluator}->_eval_subschema($data, $schema, $state);
# spent 695s making 49439 calls to JSON::Schema::Modern::_eval_subschema, avg 14.1ms/call, recursion: max depth 73, sum of overlapping time 695s
69}
70
7124802241.3ms
# spent 64.4s (1.24+63.1) within JSON::Schema::Modern::Vocabulary::eval_subschema_at_uri which was called 41337 times, avg 1.56ms/call: # 38781 times (1.16s+63.2s) by JSON::Schema::Modern::Vocabulary::Core::_eval_keyword_ref at line 216 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Core.pm, avg 1.66ms/call # 2556 times (78.8ms+-78.8ms) by JSON::Schema::Modern::Vocabulary::Core::_eval_keyword_dynamicRef at line 258 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Vocabulary/Core.pm, avg 0s/call
sub eval_subschema_at_uri ($self, $data, $schema, $state, $uri) {
724133773.0ms4133716.1s my $schema_info = $state->{evaluator}->_fetch_from_uri($uri);
# spent 16.1s making 41337 calls to JSON::Schema::Modern::_fetch_from_uri, avg 391µs/call
734133711.8ms abort($state, 'EXCEPTION: unable to find resource %s', $uri) if not $schema_info;
74
754133715.0ms my $vocabularies = $schema_info->{vocabularies}; # reference, not copy
764133719.0ms if ($state->{validate_formats}) {
77 $vocabularies = [
78 map s/^JSON::Schema::Modern::Vocabulary::Format\KAnnotation$/Assertion/r, $state->{vocabularies}->@*
7941337378ms28935941.5ms ];
# spent 41.5ms making 289359 calls to JSON::Schema::Modern::Vocabulary::CORE:subst, avg 144ns/call
804133728.2ms require JSON::Schema::Modern::Vocabulary::FormatAssertion;
81 }
82
83 return $state->{evaluator}->_eval_subschema($data, $schema_info->{schema},
84 +{
85 $schema_info->{configs}->%*,
86 %$state,
87 traversed_schema_path => $state->{traversed_schema_path}.$state->{schema_path}
88 .jsonp('', $state->{keyword}, exists $state->{_schema_path_suffix}
89 ? (is_plain_arrayref($state->{_schema_path_suffix}) ? $state->{_schema_path_suffix}->@* : $state->{_schema_path_suffix})
90 : ()),
91 initial_schema_uri => $schema_info->{canonical_uri},
92 document => $schema_info->{document},
93 document_path => $schema_info->{document_path},
94 spec_version => $schema_info->{specification_version},
9541337678ms82674245ms schema_path => '',
# spent 245ms making 41337 calls to JSON::Schema::Modern::Utilities::jsonp, avg 6µs/call # spent 746s making 41337 calls to JSON::Schema::Modern::_eval_subschema, avg 18.1ms/call, recursion: max depth 74, sum of overlapping time 746s
96 vocabularies => $vocabularies,
97 });
98}
99
10015µs1;
101120µs1215µs__END__
 
# spent 407µs within JSON::Schema::Modern::Vocabulary::CORE:sort which was called 397 times, avg 1µs/call: # 397 times (407µs+0s) by JSON::Schema::Modern::Vocabulary::traverse_object_schemas at line 53, avg 1µs/call
sub JSON::Schema::Modern::Vocabulary::CORE:sort; # opcode
# spent 41.5ms within JSON::Schema::Modern::Vocabulary::CORE:subst which was called 289359 times, avg 144ns/call: # 289359 times (41.5ms+0s) by JSON::Schema::Modern::Vocabulary::eval_subschema_at_uri at line 79, avg 144ns/call
sub JSON::Schema::Modern::Vocabulary::CORE:subst; # opcode