Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3965

Rebuild CBL-C Android with compiler optimizations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.11
    • 3.0
    • C
    • Security Level: Public
    • None
    • 2

    Description

      As reported by Gabriel (community partner)

      it seems that the official CBL C binaries for Android are not built with compiler optimizations enabled.

       

      When I build CBL C locally and add -DCMAKE_BUILD_TYPE=RelWithDebInfo to the CMake arguments, my benchmarks show improvements of ~4x as compared to the official binaries.

      See benchmarks results below

      With optimization on

       

      Without optimization. Official build

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              The Lite The Lite
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty