Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 12 2015 16:08

    davidpersson on dev

    Minor documentation correction … Merge pull request #1045 from g… Merge branch 'master' into dev (compare)

  • Aug 06 2015 20:00

    davidpersson on 1.1

    Ensure primary record set stays… Normalize order by direction, f… Improve ci setup by using mini … and 1 more (compare)

  • Aug 06 2015 19:59

    davidpersson on dev

    Improve ci setup by using mini … (compare)

  • Jul 28 2015 11:06
    nateabele commented #1189
  • Jul 28 2015 06:28
    koushki commented #1189
  • Jul 23 2015 10:03
    davidpersson commented #1155
  • Jul 22 2015 17:59
    DrRoach commented #1155
  • Jul 21 2015 23:32

    nateabele on 1.1

    Drop lithium restriction on cer… Merge pull request #1206 from d… (compare)

  • Jul 21 2015 23:32
    nateabele closed #1206
  • Jul 21 2015 21:55
    davidpersson closed #1194
  • Jul 21 2015 21:55
    davidpersson commented #1194
  • Jul 21 2015 18:43

    davidpersson on dev

    (compare)

  • Jul 21 2015 18:43

    davidpersson on has-many

    (compare)

  • Jul 21 2015 18:29
    davidpersson closed #1189
  • Jul 21 2015 18:29
    davidpersson commented #1189
  • Jul 21 2015 18:28

    davidpersson on dev

    Ensure primary record set stays… Normalize order by direction, f… (compare)

  • Jul 21 2015 17:29
    davidpersson commented #1202
  • Jul 21 2015 16:29
    nateabele commented #1189
  • Jul 19 2015 19:59
    davidpersson labeled #1206
  • Jul 19 2015 19:59
    davidpersson unlabeled #1206
Nate Abele
@nateabele
@mackstar Hey!
@mackstar I've asked @tmaiaroto to do some profiling of BEAR.Sunday to see how it stacks up to a few other frameworks.
Richard McIntyre
@mackstar
Cool..
Nate Abele
@nateabele
I'm particularly interested to see the differential between cold boot and once the cache is primed.
Richard McIntyre
@mackstar
Yes, they should be crazy different.
Nate Abele
@nateabele
He's having a bit of trouble getting it set up with nginx though, and I thought you might be able to offer some pointers.
@mackstar Yeah, I've been talking up the serialization technique all over the place.
Tom Maiaroto
@tmaiaroto
i setup the example skeleton app i just couldnt figure out what the nginx config should be
Richard McIntyre
@mackstar
I have never set it up with NGINX just apache.
I can send you the apache setup I have
Tom Maiaroto
@tmaiaroto
that’s cool. what was the config for apache?
k
Richard McIntyre
@mackstar
<IfModule mod_rewrite.c>
# turn on rewriting
RewriteEngine On

# for all files not found in the file system,
# reroute to "api.php" bootstrap script,
# keeping the query string intact.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !favicon.ico$
RewriteRule ^api/(.*)$ /api.php [QSA,L]
</IfModule>
Are you using the sandbox app?
Tom Maiaroto
@tmaiaroto
yea and i setup the Demo.Helloworld as well
where’s api.php?
Richard McIntyre
@mackstar
This is going through just the API, you can point a setup to index.
You can point to index
Tom Maiaroto
@tmaiaroto
yea, where’s the webroot? index? where?
oh in {project}/var/www ?
i think i see
Richard McIntyre
@mackstar
Yes just go to var/www/index.php
There used to be a separate api route, this is no longer the case.
Tom Maiaroto
@tmaiaroto
k
Tom Maiaroto
@tmaiaroto
i gotta do something here at work, i’ll keep trying later
but i think i got it if the webroot is just under /var/www/ with index.php
Nate Abele
@nateabele
@tmaiaroto Cool, thanks man.
Tom Maiaroto
@tmaiaroto
i’m just tyring to figure out how to set that up in my variable config. so something like demo.sandbox.bear points to /usr/local/sites/bearsunday/apps/demo.sandbox/var/www/index.php
Tom Maiaroto
@tmaiaroto
i should also maybe profile phalcon… i dont know that one cheats :)
though this zephir thing sounds neat
Tom Maiaroto
@tmaiaroto
oh yea. got it
and yea i recorded the optimized load experience
Nate Abele
@nateabele
Nice!
How's it look?
Tom Maiaroto
@tmaiaroto
awesome
putting together images now
but basically the little hllo world from the sandbox first load took (my machine) 2600ms…but important part here. 883 different function calls
after being cached. 373 function calls! and 49ms
again i have a lot of stuff running on my machine so dont worry so much about the time to load. just the function calls is how i’d measure all this
turns out i also now dont have APC on my machine either. so i can re-run with it
Nate Abele
@nateabele
Yeah, I'd be curious to see it with, assuming it doesn't take a lot of time to set up.
Tom Maiaroto
@tmaiaroto
no time at all
sec
i imagine things will be faster…but all the same fucntions need to be called so the counts will be the same. lets see :)
computer says no. heh, make failed :( i’ll get apc installed though
Nate Abele
@nateabele
Lame.
Tom Maiaroto
@tmaiaroto
hmm brew has apcu. what’s apc user cache vs apc
?
shows no difference. 1ms maybe
i’m sure smoething is cached but the function calls are the same count so that’s what i expect. that’s good. i’m sure its faster but i can’t see it without deeper dive