by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 01 20:11
    cherifGsoul review_requested #5493
  • Jul 01 19:43
    cherifGsoul synchronize #5493
  • Jul 01 19:43

    cherifGsoul on observable-class-fields

    Bump appium version for ios (compare)

  • Jul 01 19:23
    cherifGsoul synchronize #5493
  • Jul 01 19:23

    cherifGsoul on observable-class-fields

    Bump ios safari version to 13.1 (compare)

  • Jul 01 18:59
    cherifGsoul synchronize #5493
  • Jul 01 18:59

    cherifGsoul on observable-class-fields

    Bump ios safari version (compare)

  • Jul 01 18:23
    cherifGsoul synchronize #5493
  • Jul 01 18:23

    cherifGsoul on observable-class-fields

    Bump safari version (compare)

  • Jun 29 17:49
    cherifGsoul synchronize #5493
  • Jun 29 17:49

    cherifGsoul on observable-class-fields

    Update package size (compare)

  • Jun 29 16:57
    cherifGsoul synchronize #5493
  • Jun 29 16:57

    cherifGsoul on observable-class-fields

    Update for the release (compare)

  • Jun 23 18:22
    cherifGsoul opened #5495
  • Jun 23 18:19
    cherifGsoul opened #5494
  • Jun 23 18:07
  • Jun 23 18:06
    danielmascena starred canjs/canjs
  • Jun 23 00:03
    BigAB unassigned #2679
  • Jun 22 19:09
    cherifGsoul synchronize #5493
  • Jun 22 19:09

    cherifGsoul on observable-class-fields

    Update observable-array (compare)

Christopher Oliphant
@RALifeCoach
@pYr0x can you please point to the docs for ./
Jeroen Cornelissen
@jeroencornelissen
Christopher Oliphant
@RALifeCoach
Thanks
Kevin Phillips
@phillipskevin
@RALifeCoach one thing I would test is how much of the DOM is being updated when you make a change
Christopher Oliphant
@RALifeCoach
sure
Kevin Phillips
@phillipskevin
you can turn on paint rectangles in chrome dev tools
Christopher Oliphant
@RALifeCoach
how do you want to do that?
then when you change something, the piece of the DOM that was updated should flash green
Christopher Oliphant
@RALifeCoach
I am not seeing any of it flash green during load or reload
Kevin Phillips
@phillipskevin
ok, when you say “updating is taking a while” what do you mean exactly?
Christopher Oliphant
@RALifeCoach
var stache1 = new Date().getTime();
                this.playerRowMap.attr({'player': request.player});
var stache2 = new Date().getTime();
pgatour.stacheTime += stache2 - stache1;
at the end of 156 updates the total accumulated time is 1.8 seconds
Kevin Phillips
@phillipskevin
but that’s not noticeable by the user?
Christopher Oliphant
@RALifeCoach
I notice it
Kevin Phillips
@phillipskevin
how?
Christopher Oliphant
@RALifeCoach
and I am on a high end MAC Pro
I haven’t tried it on my phone yet
I can see the delay
2 seconds is a noticeable delay
Kevin Phillips
@phillipskevin
so… you click a button and expect new data to be shown, but it takes time
Christopher Oliphant
@RALifeCoach
that’s right
Kevin Phillips
@phillipskevin
but during that time, the browser isn’t locked… you can scroll, or click other things
Christopher Oliphant
@RALifeCoach
and it is a conversion of existing code that uses jQuery tmpl - that time to reload was .4 seconds
and if I write code to strip down my player object from hundreds of properties to the 30 or so I need, I get close to the .4 second reload time
Kevin Phillips
@phillipskevin
ok, yeah, I’ve been reading some of the earlier conversation
Christopher Oliphant
@RALifeCoach
I have used type: ‘*’ and parseModel - both gave the same improvement - down from 6 seconds to reload
Kevin Phillips
@phillipskevin
so I’m still a little confused
when you notice the delay, what are you expecting to change?
Christopher Oliphant
@RALifeCoach
nothing
Kevin Phillips
@phillipskevin
so… you click a button and expect new data to be shown, but it takes time
Christopher Oliphant
@RALifeCoach
It is actually a very long and complicated page load - the data is loaded once and then reloaded with more details
Kevin Phillips
@phillipskevin
ok
so you’re expecting the entire screen to change?
Christopher Oliphant
@RALifeCoach
I have added the timing code to find out why those two steps were taking so long
I can’t do anything to reduce the initial load
That’s why I am now focusing on the reload
Kevin Phillips
@phillipskevin
sure
Christopher Oliphant
@RALifeCoach
Justin suggested lazy map and I was seeing timings where I wanted them to be
But lazy map is broken with more complex data
I was really hoping someone would fix lazy map
Kevin Phillips
@phillipskevin
is there an open issue?
Christopher Oliphant
@RALifeCoach
yes
Kevin Phillips
@phillipskevin
about LazyMap I mean
Christopher Oliphant
@RALifeCoach
canjs/can-map-lazy#1
Kevin Phillips
@phillipskevin
thanks
Christopher Oliphant
@RALifeCoach
Do you have any new suggestions? Can you schedule a fix to lazy map?
Kevin Phillips
@phillipskevin
if it’s not a DOM update that is causing the problem (which you ruled out using paint flashes) I don’t have any new suggestions right now
Christopher Oliphant
@RALifeCoach
and lazy map?
Kevin Phillips
@phillipskevin
I can take a look at LazyMap
but I can’t promise anything