File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,8 @@ inline performance::performance_state* Environment::performance_state() {
531
531
return performance_state_.get ();
532
532
}
533
533
534
- inline std::map<std::string, uint64_t >* Environment::performance_marks () {
534
+ inline std::unordered_map<std::string, uint64_t >*
535
+ Environment::performance_marks () {
535
536
return &performance_marks_;
536
537
}
537
538
Original file line number Diff line number Diff line change 38
38
#include " node_http2_state.h"
39
39
40
40
#include < list>
41
- #include < map>
42
41
#include < stdint.h>
43
42
#include < vector>
44
43
#include < unordered_map>
@@ -646,7 +645,7 @@ class Environment {
646
645
file_handle_read_wrap_freelist ();
647
646
648
647
inline performance::performance_state* performance_state ();
649
- inline std::map <std::string, uint64_t >* performance_marks ();
648
+ inline std::unordered_map <std::string, uint64_t >* performance_marks ();
650
649
651
650
void CollectExceptionInfo (v8::Local<v8::Value> context,
652
651
int errorno,
@@ -795,7 +794,7 @@ class Environment {
795
794
int should_not_abort_scope_counter_ = 0 ;
796
795
797
796
std::unique_ptr<performance::performance_state> performance_state_;
798
- std::map <std::string, uint64_t > performance_marks_;
797
+ std::unordered_map <std::string, uint64_t > performance_marks_;
799
798
800
799
#if HAVE_INSPECTOR
801
800
std::unique_ptr<inspector::Agent> inspector_agent_;
You can’t perform that action at this time.
0 commit comments