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 @@ -526,7 +526,8 @@ inline performance::performance_state* Environment::performance_state() {
526526 return performance_state_.get ();
527527}
528528
529- inline std::map<std::string, uint64_t >* Environment::performance_marks () {
529+ inline std::unordered_map<std::string, uint64_t >*
530+ Environment::performance_marks () {
530531 return &performance_marks_;
531532}
532533
Original file line number Diff line number Diff line change 3838#include " node_http2_state.h"
3939
4040#include < list>
41- #include < map>
4241#include < stdint.h>
4342#include < vector>
4443#include < unordered_map>
@@ -625,7 +624,7 @@ class Environment {
625624 inline AliasedBuffer<uint32_t , v8::Uint32Array>& scheduled_immediate_count ();
626625
627626 inline performance::performance_state* performance_state ();
628- inline std::map <std::string, uint64_t >* performance_marks ();
627+ inline std::unordered_map <std::string, uint64_t >* performance_marks ();
629628
630629 inline void ThrowError (const char * errmsg);
631630 inline void ThrowTypeError (const char * errmsg);
@@ -731,7 +730,7 @@ class Environment {
731730 AliasedBuffer<uint32_t , v8::Uint32Array> scheduled_immediate_count_;
732731
733732 std::unique_ptr<performance::performance_state> performance_state_;
734- std::map <std::string, uint64_t > performance_marks_;
733+ std::unordered_map <std::string, uint64_t > performance_marks_;
735734
736735#if HAVE_INSPECTOR
737736 std::unique_ptr<inspector::Agent> inspector_agent_;
You can’t perform that action at this time.
0 commit comments