Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2161

Remove superfluous trace logging during BSON encoding

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Most of these calls are within php_phongo_bson_append_object.

      It may make sense to keeping the logging in php_phongo_zval_to_bson_internal when an ID field is generated, since it's not much overhead; however, there is little benefit for the logging when encoding BSON types. Even with trace logging is not captured, this adds overhead by invoking the libmongoc API.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: