Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:04
    greenkeeper[bot] commented #5392
  • 01:04

    greenkeeper[bot] on core-js-3.5.0

    chore(package): update core-js … (compare)

  • Dec 11 18:34
    greenkeeper[bot] labeled #5444
  • Dec 11 18:34
    greenkeeper[bot] opened #5444
  • Dec 11 18:34

    greenkeeper[bot] on can-observable-mixin-1.0.7

    fix(package): update can-observ… (compare)

  • Dec 11 18:30

    cherifGsoul on update-infrastructure-page

    (compare)

  • Dec 11 18:30

    cherifGsoul on master

    Update infrastructure page with… (compare)

  • Dec 11 18:30
    cherifGsoul closed #5441
  • Dec 11 18:30
    cherifGsoul closed #5417
  • Dec 10 17:40
    cherifGsoul review_requested #5443
  • Dec 10 16:47
    cherifGsoul review_requested #5441
  • Dec 10 16:35
    cherifGsoul synchronize #5441
  • Dec 10 16:35

    cherifGsoul on update-infrastructure-page

    Fix typos (compare)

  • Dec 10 10:01
    jkeruzec starred canjs/canjs
  • Dec 09 18:59
    cherifGsoul review_requested #5443
  • Dec 09 18:59
    cherifGsoul opened #5443
  • Dec 09 18:51

    cherifGsoul on document-inserted-removed-can6

    Add inserted/removed events to … (compare)

  • Dec 09 15:38
    greenkeeper[bot] labeled #5442
  • Dec 09 15:38
    greenkeeper[bot] opened #5442
  • Dec 09 15:38

    greenkeeper[bot] on can-view-live-5.0.1

    fix(package): update can-view-l… (compare)

Frank Lemanschik
@frank-dspeed
performance nope :(
but i see it as double work
and un needed work
as from my view we return html we have html
so we can use after that the dom api for everything
as easy as select <span id="myName">Mr Myer</span>
and then select myName change innerText done
but i performance benchmarked domDiffing
and i think that could be a alternate i simply check if the dom matches if not sync it up async
that outperforms on bigger apps
as we can handle the view as Whole
it don't matters where the changes come from we only need to make sure that view matches whats expected
and many observations arn't needed this way
only the edit able content
Kevin Phillips
@phillipskevin
but you're doing a lot more DOM manipulation
Frank Lemanschik
@frank-dspeed
yes sure but my co workers from chrome and mozilla have improved on that also
and its not about real pefformance
for example often you don't even want to change something in less then a MS
Kevin Phillips
@phillipskevin
its not about real pefformance
what do you mean?
Frank Lemanschik
@frank-dspeed
Material design examples and research
they found out that it feels better to show some loading and transition
Kevin Phillips
@phillipskevin
sure
Frank Lemanschik
@frank-dspeed
even if its not needed there are also time frames that feel diffrent
Kevin Phillips
@phillipskevin
but that kind of thing shouldn't be done at the framework level I don't think
otherwise, you can never have things be fast
Frank Lemanschik
@frank-dspeed
i can via preComputing
i simply prepare what gets computed and insert and change
that dom manipulations are fast
Kevin Phillips
@phillipskevin
but if you have to make 10,000 changes instead of inserting 1 fragment
it won't ever be fast
Anyway, it's good that you're exploring alternatives. I'll be interested to see how it turns out.
Frank Lemanschik
@frank-dspeed
yes i am on that :) since more then 2 years
but good idea
do you got a benchmark for the current implamentation
so i can work against that benchmark?
Kevin Phillips
@phillipskevin
Frank Lemanschik
@frank-dspeed
maybe you did internaly some benchmarks i only need to know the test cases so i know what to imrove
ok so far so good i understand the example :) i will do the same with some of my alternates
Eben
@eben-roux
@frank-dspeed thanks for the feedback
I haven't quite narrowed down when it happens but I have a "standard" route with the associated data
I wouldn't expect changing the route.data would result in a refresh of the app
anyway, I am not quite sure when it happens so I'll keep an eye out for something that is reproducible
Frank Lemanschik
@frank-dspeed
i think its the expected behavior
as soon as you know what exactly happens befor reload
you also have the solution :)
so at last with canjs 4 you will get light
Eben
@eben-roux
hopefully canjs 4 will not have many breaking changes.
but then again, there is a major version number change
it takes me forever to update everything each time and my current solutions are miniscule