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

Rebuild CBL-C Android with compiler optimizations

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • 3.1.0
    • 3.0
    • C
    • Security Level: Public
    • None
    • Pasin 95, Pasin 97
    • 3

    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

              pasin Pasin Suriyentrakorn
              priya.rajagopal Priya Rajagopal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h

                  Gerrit Reviews

                    There are no open Gerrit changes

                    PagerDuty