I wonder if the nokogiri build process (which I think is different on
different platforms? using the platform package manager? I'm not sure)
builds dependencies, such that the first time you run the build it's
going to be longer (order of magnitudes longer?) then subsequent times?
That could explain the order of magnitude differences in build times
people are reporting. As well as my own recollection that I thought it
took 20+ minutes, but could only reproduce 1-2 minutes. Maybe it takes
20+ minutes the first time?
Which could be problematic in 'cloud' deploy scenarios where there are a
lot of 'first times' on newly provisioned machines.
Just brainstorming.
On 10/14/13 9:17 PM, Max Kaplan wrote:
> I'm also running AWS with CentOS and it takes about 20-30 minutes to
> install nokogiri 1.6.0.
>
> On Friday, July 26, 2013 1:31:20 PM UTC-7, Walter Lee Davis wrote:
>
> I'm currently watching the Nokogiri 1.6 install on AWS Ubuntu 12,
> and while this worked just fin on my Lion Mac, it's just sitting
> there at the "building native extensions" stage of gem install
> nokogiri and not reporting any progress at all after ten minutes.
>
> As I'm typing this, it finally finished. But serious discrepancy
> between a Mid-2010 MBP and an AWS instance.
>
> Walter
>
> On Jul 9, 2013, at 3:13 PM, Jonathan Rochkind wrote:
>
> > On my brand new iMac, I'm getting about 1.5 minutes for gem
> install. (Had to install gnu grep to get it to install at all, see
>
https://github.com/sparklemotion/nokogiri/issues/935
> <
https://github.com/sparklemotion/nokogiri/issues/935>)
> <
roch...@jhu.edu <javascript:>
> >> <mailto:
roch...@jhu.edu <javascript:>>> wrote:
> >>
> >> Yeah, I understand and appreciate the motivation for the
> embedded
> >> build-from-source libxml in nokogiri 1.6.0 --but it makes the
> >> install time a LOT longer on my OSX box. Like CRAZY long.
> >>
> >> I am for the moment locking to "~> 1.5.0" on my own app,
> although
> >> that's certainly not a sustainable solution.
> >>
> >> I am curious if the nokogiri devs have any response to this;
> if it's
> >> known how wide this problem is (everyone? Everyone on osx?
> just a
> >> few of us with machines in certain ways to trigger this?
> Etc.); etc.
> >>
> >>
> ------------------------------------------------------------------------
> >> *From:*
nokogi...@googlegroups.com <javascript:>
> >> <mailto:
nokogi...@googlegroups.com <javascript:>>
> >> [
nokogi...@googlegroups.com <javascript:>
> >> <mailto:
nokogi...@googlegroups.com <javascript:>>] on behalf
> of Adam Cohen
> >> [
adambenj...@gmail.com <javascript:>
> <mailto:
adambenj...@gmail.com <javascript:>>]
> >> *Sent:* Thursday, June 13, 2013 10:59 PM
> >> *To:*
nokogi...@googlegroups.com <javascript:>
> >> <mailto:
nokogi...@googlegroups.com <javascript:>>
> >> *Subject:* [nokogiri-talk] Nokogiri 1.6.0 slow build times
> >>
> >> Just tried upgrading our rails app from Nokogiri 1.5.9 to
> 1.6.0 and
> >> I've noticed that the build time when doing a bundle install has
> >> increased from about 5 minutes to over 30 minutes. I've tried
> >> exporting NOKOGIRI_USE_SYSTEM_LIBRARIES=true to prevent nokogiri
> >> from compiling libxml2 and libxslt, but this hasn't decreased
> the
> >> build time, it's only made the final gem smaller. Anyone
> have any
> >> suggestions on what else I can try to speed up the build?
> Thanks,
> >>
> >> Adam
> >>
> >> --
> >> You received this message because you are subscribed to the
> Google
> >> Groups "nokogiri-talk" group.
> >> To unsubscribe from this group and stop receiving emails from
> it,
> >> send an email to
nokogiri-tal...@googlegroups.com <javascript:>
> >> <mailto:
nokogiri-talk%2Bunsu...@googlegroups.com
> <javascript:>>.
> >> To post to this group, send email to
>
nokogi...@googlegroups.com <javascript:>
> >> <mailto:
nokogi...@googlegroups.com <javascript:>>.
> <
http://groups.google.com/group/nokogiri-talk>.
> <
https://groups.google.com/groups/opt_out>.
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the
> Google
> >> Groups "nokogiri-talk" group.
> >> To unsubscribe from this group and stop receiving emails from
> it,
> >> send an email to
nokogiri-tal...@googlegroups.com <javascript:>
> >> <mailto:
nokogiri-talk%2Bunsu...@googlegroups.com
> <javascript:>>.
> >> To post to this group, send email to
>
nokogi...@googlegroups.com <javascript:>
> >> <mailto:
nokogi...@googlegroups.com <javascript:>>.
> <
http://groups.google.com/group/nokogiri-talk>.
> <
https://groups.google.com/groups/opt_out>.
> >>
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "nokogiri-talk" group.
> >> To unsubscribe from this group and stop receiving emails from
> it, send
> >> an email to
nokogiri-tal...@googlegroups.com <javascript:>.
> <javascript:>.
> <
http://groups.google.com/group/nokogiri-talk>.
> <
https://groups.google.com/groups/opt_out>.
> >>
> >>
> >
> > --
> > You received this message because you are subscribed to the
> Google Groups "nokogiri-talk" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send an email to
nokogiri-tal...@googlegroups.com <javascript:>.
> <javascript:>.
> <
http://groups.google.com/group/nokogiri-talk>.
> <
https://groups.google.com/groups/opt_out>.