Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1617

Performance regression vs non-Hermes version?

      Description

      While investigating https://github.com/realm/realm-js/issues/4328 (which is now resolved), I noticed that performance seemed to have halved on the Hermes builds when importing several thousand objects (see https://github.com/realm/realm-js/issues/4328#issuecomment-1059743396).

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      10.20.0-beta.2:
      Loaded 6066 Products in 13.883 seconds
      Loaded 6066 Products in 14.27 seconds
      Loaded 6066 Products in 13.969 seconds
      
      10.20.0-beta.1:
      Loaded 6066 Products in 13.923 seconds
      Loaded 6066 Products in 13.829 seconds
      Loaded 6066 Products in 13.909 seconds
      
      10.13.0:
      Loaded 6066 Products in 7.503 seconds
      Loaded 6066 Products in 7.485 seconds
      Loaded 6066 Products in 7.504 seconds
      

      Can you reproduce a bug?

      Yes, always

      Reproduction Steps

      I don't have time to create a repro right now (sorry!) - I'm just logging the ticket now so I don't forget. I will try and come back with a minimal repro in a week or two.

      Version

      10.20.0-beta.1 & beta.2

      What SDK flavour are you using?

      Local Database only

      Are you using encryption?

      No, not using encryption

      Platform OS and version(s)

      RN 0.66.3 using JSC (not Hermes!) - iPhone 13 Simulator w/ iOS 15.2, Android AVD Emulator running Android 9.0

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: