Giter Site home page Giter Site logo

Dramatically slow about folding-cell HOT 4 CLOSED

ramotion avatar ramotion commented on May 3, 2024 4
Dramatically slow

from folding-cell.

Comments (4)

jitz2010 avatar jitz2010 commented on May 3, 2024

Yes true, while adding show storyboard segue.......

from folding-cell.

Luccifer avatar Luccifer commented on May 3, 2024

I calculated execution time and achieved following results:

Tests were made in simulator even with power of Intel Processor MBP mid 2012, imagine what results we will achieve on iPhone 5c and 4s... And the most long-execution functions are:

transform3d() Time: 6.02006912231445e-06 ms
tableView(_:willDisplayCell:forRowAtIndexPath:) Time: FROM 1.69873237609863e-05 TO 9.80496406555176e-05

Can the execution time be so much longer if we use different fonts and other font-work in SB when configuring the folding cells? Anybody tested? Cause I heard from colleagues that font-work and descriptors are eating performance a lot...

from folding-cell.

Satchitananda avatar Satchitananda commented on May 3, 2024

@Luccifer I've gone deeper in profiling and found out that such slow behavior related with not existing font loading. I changed all fonts to system and now it takes only one second to init.

from folding-cell.

Luccifer avatar Luccifer commented on May 3, 2024

@Satchitananda, thanks a lot! I'll check this today's evening, if it's so, you will be my hero!
Init you mean Controller or each cell?

Added later:
Yep! It's worked! Now is quite fast!

from folding-cell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.