# Julia simple String process and file I/O is slow

**URL:** <https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112>\
**Category:** Performance\
**Tags:** performance, parsing\
**Created:** [December 20, 2020, 4:09am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112 "2020-12-20T04:09:18Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 20, 2020, 4:09am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/1 "2020-12-20T04:09:18Z")

</div>

I was doing i/o in julia from string. Code as follows

```julia
function func(strd)
    a = Any[];
    for url in split(replace(strd, "\n" => ""), "✖")
        if occursin(".",url)
            push!(a, url);
        end
    end
    trackers = open("trackers.txt", "w");
    for url in a
        write(trackers, url*"\n");
    end
    close(trackers);
    print("Successfully completed\n");
end

@time func(bigstring);

```

Which gave this speed running 4 times

```julia
  0.002172 seconds (8.27 k allocations: 351.641 KiB)
  0.002462 seconds (8.27 k allocations: 351.641 KiB)
  0.001033 seconds (8.27 k allocations: 351.641 KiB)
  0.002265 seconds (8.27 k allocations: 351.641 KiB)

```

and I have same style Python function as

```julia
def main(strd):
    a= []
    for url in strd.replace("\n", "").split("✖"):
        if "." in url:
            a.append(url)
    trackers = open("trackers2.txt", "w")

    for url in a:
        trackers.write(url+"\n")
    trackers.close()
    print("Successfully completed\n")

import time
start_time = time.time()
main(bigstring)
print("--- {} seconds ---".format((time.time() - start_time)))

```

which gave this speed running 4 times

```julia
--- 0.0009250640869140625 seconds ---
--- 0.0007033348083496094 seconds ---
--- 0.0007412433624267578 seconds ---
--- 0.0006651878356933594 seconds ---

```

I’ve tested it on separate file with same `bigstring` which is huge string of trackers.

> **Summary**
>
> ```julia
> bigstring = """
> 
> 1dmp.io
> 
> ✖
> 
> 1rx.io
> 
> ✖
> 
> sync.1rx.io
> 
> ✖
> 
> 247-inc.net
> 
> ✖
> 
> 2o7.net
> 
> ✖
> 
> 112.2o7.net
> 
> ✖
> 
> 122.2o7.net
> 
> ✖
> 
> 33across.com
> 
> ✖
> 
> ssc-cms.33across.com
> 
> ✖
> 
> 360.cn
> 
> ✖
> 
> 360yield.com
> 
> ✖
> 
> 3conline.com
> 
> ✖
> 
> 3gl.net
> 
> ✖
> 
> 3lift.com
> 
> ✖
> 
> eb2.3lift.com
> 
> ✖
> 
> 4dex.io
> 
> ✖
> 
> 50bang.org
> 
> ✖
> 
> 51.la
> 
> ✖
> 
> 6sc.co
> 
> ✖
> 
> a-mo.net
> 
> ✖
> 
> aamsitecertifier.com
> 
> ✖
> 
> aasaam.com
> 
> ✖
> 
> aaxads.com
> 
> ✖
> 
> c.aaxads.com
> 
> ✖
> 
> acpm.fr
> 
> ✖
> 
> acstat.com
> 
> ✖
> 
> activehosted.com
> 
> ✖
> 
> acuityplatform.com
> 
> ✖
> 
> ad-score.com
> 
> ✖
> 
> ad-stir.com
> 
> ✖
> 
> ad.gt
> 
> ✖
> 
> a.ad.gt
> 
> ✖
> 
> seg.ad.gt
> 
> ✖
> 
> adalyser.com
> 
> ✖
> 
> addthis.com
> 
> ✖
> 
> s7.addthis.com
> 
> ✖
> 
> adentifi.com
> 
> ✖
> 
> adform.net
> 
> ✖
> 
> adfox.ru
> 
> ✖
> 
> adhaven.com
> 
> ✖
> 
> adhigh.net
> 
> ✖
> 
> adition.com
> 
> ✖
> 
> imagesrv.adition.com
> 
> ✖
> 
> adkernel.com
> 
> ✖
> 
> sync.adkernel.com
> 
> ✖
> 
> admedo.com
> 
> ✖
> 
> pj.l.admedo.com
> 
> ✖
> 
> admicro.vn
> 
> ✖
> 
> admixer.net
> 
> ✖
> 
> adnxs.com
> 
> ✖
> 
> ib.adnxs.com
> 
> ✖
> 
> adobe.com
> 
> ✖
> 
> auth.adobe.com
> 
> ✖
> 
> wwwimages.adobe.com
> 
> ✖
> 
> xsdownload.adobe.com
> 
> ✖
> 
> adocean.pl
> 
> ✖
> 
> adop.cc
> 
> ✖
> 
> adpushup.com
> 
> ✖
> 
> cdn.adpushup.com
> 
> ✖
> 
> adriver.ru
> 
> ✖
> 
> adroll.com
> 
> ✖
> 
> adscale.de
> 
> ✖
> 
> adskeeper.co.uk
> 
> ✖
> 
> adskeeper.com
> 
> ✖
> 
> adspsp.com
> 
> ✖
> 
> adsrvr.org
> 
> ✖
> 
> match.adsrvr.org
> 
> ✖
> 
> adswizz.com
> 
> ✖
> 
> adsymptotic.com
> 
> ✖
> 
> adtelligent.com
> 
> ✖
> 
> adtimaserver.vn
> 
> ✖
> 
> adtng.com
> 
> ✖
> 
> advangelists.com
> 
> ✖
> 
> advertising.com
> 
> ✖
> 
> pixel.advertising.com
> 
> ✖
> 
> advividnetwork.com
> 
> ✖
> 
> adzerk.net
> 
> ✖
> 
> affirm.com
> 
> ✖
> 
> agkn.com
> 
> ✖
> 
> aidata.io
> 
> ✖
> 
> aimediagroup.com
> 
> ✖
> 
> aiproxies.com
> 
> ✖
> 
> airpr.com
> 
> ✖
> 
> ajax.googleapis.com
> 
> ✖
> 
> akamaihd.net
> 
> ✖
> 
> akamaized.net
> 
> ✖
> 
> albacross.com
> 
> ✖
> 
> alexametrics.com
> 
> ✖
> 
> certify-js.alexametrics.com
> 
> ✖
> 
> alfasense.com
> 
> ✖
> 
> alibaba.com
> 
> ✖
> 
> alicdn.com
> 
> ✖
> 
> amap.com
> 
> ✖
> 
> amazon-adsystem.com
> 
> ✖
> 
> c.amazon-adsystem.com
> 
> ✖
> 
> amazon.com
> 
> ✖
> 
> amcdn.vn
> 
> ✖
> 
> analytics-egain.com
> 
> ✖
> 
> analytics-sm.com
> 
> ✖
> 
> aniview.com
> 
> ✖
> 
> anquan.org
> 
> ✖
> 
> anvato.net
> 
> ✖
> 
> tkx-acc.apis.anvato.net
> 
> ✖
> 
> cdn.anvato.net
> 
> ✖
> 
> mcp-media5.anvato.net
> 
> ✖
> 
> tkx2-prod.anvato.net
> 
> ✖
> 
> aparat.com
> 
> ✖
> 
> app-us1.com
> 
> ✖
> 
> app.link
> 
> ✖
> 
> apparmor.com
> 
> ✖
> 
> appconsent.io
> 
> ✖
> 
> appdynamics.com
> 
> ✖
> 
> appier.net
> 
> ✖
> 
> apple.com
> 
> ✖
> 
> appsflyer.com
> 
> ✖
> 
> apvdr.com
> 
> ✖
> 
> aralego.com
> 
> ✖
> 
> asadcdn.com
> 
> ✖
> 
> asapp.com
> 
> ✖
> 
> aso1.net
> 
> ✖
> 
> associates-amazon.com
> 
> ✖
> 
> z-na.associates-amazon.com
> 
> ✖
> 
> atdmt.com
> 
> ✖
> 
> atgsvcs.com
> 
> ✖
> 
> ati-host.net
> 
> ✖
> 
> attentivemobile.com
> 
> ✖
> 
> attn.tv
> 
> ✖
> 
> autopilothq.com
> 
> ✖
> 
> avantisvideo.com
> 
> ✖
> 
> cdn.avantisvideo.com
> 
> ✖
> 
> avct.cloud
> 
> ✖
> 
> avmws.com
> 
> ✖
> 
> avocet.io
> 
> ✖
> 
> azureedge.net
> 
> ✖
> 
> b0e8.com
> 
> ✖
> 
> b1img.com
> 
> ✖
> 
> bablic.com
> 
> ✖
> 
> baidu.com
> 
> ✖
> 
> hiphotos.baidu.com
> 
> ✖
> 
> imgsa.baidu.com
> 
> ✖
> 
> imgsrc.baidu.com
> 
> ✖
> 
> api.map.baidu.com
> 
> ✖
> 
> sapi.map.baidu.com
> 
> ✖
> 
> bam-x.com
> 
> ✖
> 
> baynote.net
> 
> ✖
> 
> bazaarvoice.com
> 
> ✖
> 
> bdg-analytics.appspot.com
> 
> ✖
> 
> betgorebysson.club
> 
> ✖
> 
> betweendigital.com
> 
> ✖
> 
> bfmio.com
> 
> ✖
> 
> sync.bfmio.com
> 
> ✖
> 
> bidr.io
> 
> ✖
> 
> bidswitch.net
> 
> ✖
> 
> x.bidswitch.net
> 
> ✖
> 
> bigmining.com
> 
> ✖
> 
> bing.com
> 
> ✖
> 
> bat.bing.com
> 
> ✖
> 
> c.bing.com
> 
> ✖
> 
> www.bing.com
> 
> ✖
> 
> bitrix.info
> 
> ✖
> 
> bizible.com
> 
> ✖
> 
> bizibly.com
> 
> ✖
> 
> bizographics.com
> 
> ✖
> 
> bizrate.com
> 
> ✖
> 
> bluecava.com
> 
> ✖
> 
> blueconic.net
> 
> ✖
> 
> cdn.blueconic.net
> 
> ✖
> 
> bluekai.com
> 
> ✖
> 
> boldchat.com
> 
> ✖
> 
> bounceexchange.com
> 
> ✖
> 
> assets.bounceexchange.com
> 
> ✖
> 
> boxx.ai
> 
> ✖
> 
> brightcove.com
> 
> ✖
> 
> broadstreetads.com
> 
> ✖
> 
> brsrvr.com
> 
> ✖
> 
> bttrack.com
> 
> ✖
> 
> btttag.com
> 
> ✖
> 
> buzzoola.com
> 
> ✖
> 
> c212.net
> 
> ✖
> 
> c3tag.com
> 
> ✖
> 
> capturehighered.net
> 
> ✖
> 
> casalemedia.com
> 
> ✖
> 
> as-sec.casalemedia.com
> 
> ✖
> 
> ssum-sec.casalemedia.com
> 
> ✖
> 
> castle.io
> 
> ✖
> 
> cctv.com
> 
> ✖
> 
> cdn-net.com
> 
> ✖
> 
> cdnwidget.com
> 
> ✖
> 
> chartbeat.net
> 
> ✖
> 
> ping.chartbeat.net
> 
> ✖
> 
> cheqzone.com
> 
> ✖
> 
> choozle.com
> 
> ✖
> 
> cintnetworks.com
> 
> ✖
> 
> clarity.ms
> 
> ✖
> 
> clearbit.com
> 
> ✖
> 
> clevernt.com
> 
> ✖
> 
> clickondetroit.com
> 
> ✖
> 
> www.clickondetroit.com
> 
> ✖
> 
> clicktale.net
> 
> ✖
> 
> cdnssl.clicktale.net
> 
> ✖
> 
> clicktripz.com
> 
> ✖
> 
> clinch.co
> 
> ✖
> 
> clive.cloud
> 
> ✖
> 
> clmbtech.com
> 
> ✖
> 
> cloudflare.com
> 
> ✖
> 
> cnzz.com
> 
> ✖
> 
> cohesionapps.com
> 
> ✖
> 
> cdn.cohesionapps.com
> 
> ✖
> 
> collectandgather.com
> 
> ✖
> 
> colossusssp.com
> 
> ✖
> 
> commander1.com
> 
> ✖
> 
> company-target.com
> 
> ✖
> 
> condenastdigital.com
> 
> ✖
> 
> connatix.com
> 
> ✖
> 
> connectad.io
> 
> ✖
> 
> connextra.com
> 
> ✖
> 
> contentexchange.me
> 
> ✖
> 
> contentsfeed.com
> 
> ✖
> 
> contentsquare.net
> 
> ✖
> 
> contextweb.com
> 
> ✖
> 
> bh.contextweb.com
> 
> ✖
> 
> coremetrics.com
> 
> ✖
> 
> coub.com
> 
> ✖
> 
> cpmstar.com
> 
> ✖
> 
> cpx.to
> 
> ✖
> 
> p.cpx.to
> 
> ✖
> 
> cquotient.com
> 
> ✖
> 
> creative-serving.com
> 
> ✖
> 
> creativecdn.com
> 
> ✖
> 
> criteo.com
> 
> ✖
> 
> bidder.criteo.com
> 
> ✖
> 
> static.criteo.com
> 
> ✖
> 
> crsspxl.com
> 
> ✖
> 
> tag.crsspxl.com
> 
> ✖
> 
> crwdcntrl.net
> 
> ✖
> 
> tags.crwdcntrl.net
> 
> ✖
> 
> ctnsnet.com
> 
> ✖
> 
> curalate.com
> 
> ✖
> 
> customer.io
> 
> ✖
> 
> custora.com
> 
> ✖
> 
> cxense.com
> 
> ✖
> 
> cdn.cxense.com
> 
> ✖
> 
> d1af033869koo7.cloudfront.net
> 
> ✖
> 
> d2t77mnxyo7adj.cloudfront.net
> 
> ✖
> 
> d395dw5zk780j2.cloudfront.net
> 
> ✖
> 
> d41.co
> 
> ✖
> 
> d9jj3mjthpub.cloudfront.net
> 
> ✖
> 
> dable.io
> 
> ✖
> 
> dailymotion.com
> 
> ✖
> 
> datamind.ru
> 
> ✖
> 
> dataxpand.com
> 
> ✖
> 
> daum.net
> 
> ✖
> 
> dc-storm.com
> 
> ✖
> 
> ddos-guard.net
> 
> ✖
> 
> demdex.net
> 
> ✖
> 
> dpm.demdex.net
> 
> ✖
> 
> lnkd.demdex.net
> 
> ✖
> 
> mscom.demdex.net
> 
> ✖
> 
> deployads.com
> 
> ✖
> 
> tags-cdn.deployads.com
> 
> ✖
> 
> deqwas.net
> 
> ✖
> 
> detik.com
> 
> ✖
> 
> dfapvmql-q.global.ssl.fastly.net
> 
> ✖
> 
> dh014lg6uwepv.cloudfront.net
> 
> ✖
> 
> di-dtaectolog-us-prod-1.appspot.com
> 
> ✖
> 
> dialogtech.com
> 
> ✖
> 
> digg.com
> 
> ✖
> 
> widgets.digg.com
> 
> ✖
> 
> diginetica.net
> 
> ✖
> 
> digitaltarget.ru
> 
> ✖
> 
> digitru.st
> 
> ✖
> 
> disqus.com
> 
> ✖
> 
> devhints.disqus.com
> 
> ✖
> 
> dunebook.disqus.com
> 
> ✖
> 
> ferrolho-github-io-blog.disqus.com
> 
> ✖
> 
> jonloomer.disqus.com
> 
> ✖
> 
> omgubuntu.disqus.com
> 
> ✖
> 
> software-carpentry.disqus.com
> 
> ✖
> 
> sunscrapers.disqus.com
> 
> ✖
> 
> wuliuxiansheng.disqus.com
> 
> ✖
> 
> districtm.io
> 
> ✖
> 
> cdn.districtm.io
> 
> ✖
> 
> dmpxs.com
> 
> ✖
> 
> dmxleo.com
> 
> ✖
> 
> docomo.ne.jp
> 
> ✖
> 
> domeleco.top
> 
> ✖
> 
> dotmetrics.net
> 
> ✖
> 
> uk-script.dotmetrics.net
> 
> ✖
> 
> dotomi.com
> 
> ✖
> 
> purch-match.dotomi.com
> 
> ✖
> 
> doubleclick.net
> 
> ✖
> 
> ad.doubleclick.net
> 
> ✖
> 
> googleads.g.doubleclick.net
> 
> ✖
> 
> pubads.g.doubleclick.net
> 
> ✖
> 
> securepubads.g.doubleclick.net
> 
> ✖
> 
> stats.g.doubleclick.net
> 
> ✖
> 
> static.doubleclick.net
> 
> ✖
> 
> doublepimp.com
> 
> ✖
> 
> dpmsrv.com
> 
> ✖
> 
> dtscout.com
> 
> ✖
> 
> dynamicyield.com
> 
> ✖
> 
> cdn.dynamicyield.com
> 
> ✖
> 
> cdn-eu.dynamicyield.com
> 
> ✖
> 
> rcom.dynamicyield.com
> 
> ✖
> 
> rcom-eu.dynamicyield.com
> 
> ✖
> 
> st.dynamicyield.com
> 
> ✖
> 
> st-eu.dynamicyield.com
> 
> ✖
> 
> static.dynamicyield.com
> 
> ✖
> 
> e-planning.net
> 
> ✖
> 
> ebis.ne.jp
> 
> ✖
> 
> eccmp.com
> 
> ✖
> 
> effectivemeasure.net
> 
> ✖
> 
> me-ssl.effectivemeasure.net
> 
> ✖
> 
> el-mundo.net
> 
> ✖
> 
> elfsight.com
> 
> ✖
> 
> eloqua.com
> 
> ✖
> 
> elsevier.com
> 
> ✖
> 
> emxdgt.com
> 
> ✖
> 
> cs.emxdgt.com
> 
> ✖
> 
> enamad.ir
> 
> ✖
> 
> engageya.com
> 
> ✖
> 
> episerver.net
> 
> ✖
> 
> essayprofit.com
> 
> ✖
> 
> estat.com
> 
> ✖
> 
> eum-appdynamics.com
> 
> ✖
> 
> everesttech.net
> 
> ✖
> 
> ats.everesttech.net
> 
> ✖
> 
> evergage.com
> 
> ✖
> 
> everyaction.com
> 
> ✖
> 
> eviltracker.net
> 
> ✖
> 
> exdynsrv.com
> 
> ✖
> 
> exelator.com
> 
> ✖
> 
> exosrv.com
> 
> ✖
> 
> exponea.com
> 
> ✖
> 
> eyeota.net
> 
> ✖
> 
> eyereturn.com
> 
> ✖
> 
> ezoic.net
> 
> ✖
> 
> g.ezoic.net
> 
> ✖
> 
> go.ezoic.net
> 
> ✖
> 
> facebook.com
> 
> ✖
> 
> s-static.ak.facebook.com
> 
> ✖
> 
> api.facebook.com
> 
> ✖
> 
> graph.facebook.com
> 
> ✖
> 
> m.facebook.com
> 
> ✖
> 
> staticxx.facebook.com
> 
> ✖
> 
> www.facebook.com
> 
> ✖
> 
> feathr.co
> 
> ✖
> 
> feedify.net
> 
> ✖
> 
> firebaselogging.googleapis.com
> 
> ✖
> 
> firstimpression.io
> 
> ✖
> 
> flashtalking.com
> 
> ✖
> 
> flocktory.com
> 
> ✖
> 
> force.com
> 
> ✖
> 
> fout.jp
> 
> ✖
> 
> franecki.net
> 
> ✖
> 
> freeskreen.com
> 
> ✖
> 
> freshrelevance.com
> 
> ✖
> 
> fundraiseup.com
> 
> ✖
> 
> fwmrm.net
> 
> ✖
> 
> geetest.com
> 
> ✖
> 
> geistm.com
> 
> ✖
> 
> gemius.pl
> 
> ✖
> 
> geniusmonkey.com
> 
> ✖
> 
> getblue.io
> 
> ✖
> 
> getblueshift.com
> 
> ✖
> 
> getclicky.com
> 
> ✖
> 
> getdrip.com
> 
> ✖
> 
> getletterpress.com
> 
> ✖
> 
> getrockerbox.com
> 
> ✖
> 
> gigya.com
> 
> ✖
> 
> giraff.io
> 
> ✖
> 
> glassboxdigital.io
> 
> ✖
> 
> gleam.io
> 
> ✖
> 
> globalwebindex.net
> 
> ✖
> 
> gmossp-sp.jp
> 
> ✖
> 
> go.com
> 
> ✖
> 
> godaddy.com
> 
> ✖
> 
> google-analytics.com
> 
> ✖
> 
> www.google-analytics.com
> 
> ✖
> 
> google.com
> 
> ✖
> 
> accounts.google.com
> 
> ✖
> 
> adservice.google.com
> 
> ✖
> 
> apis.google.com
> 
> ✖
> 
> books.google.com
> 
> ✖
> 
> calendar.google.com
> 
> ✖
> 
> checkout.google.com
> 
> ✖
> 
> 0.client-channel.google.com
> 
> ✖
> 
> clients1.google.com
> 
> ✖
> 
> clients6.google.com
> 
> ✖
> 
> consent.google.com
> 
> ✖
> 
> cse.google.com
> 
> ✖
> 
> datastudio.google.com
> 
> ✖
> 
> developers.google.com
> 
> ✖
> 
> docs.google.com
> 
> ✖
> 
> drive.google.com
> 
> ✖
> 
> feedburner.google.com
> 
> ✖
> 
> feedproxy.google.com
> 
> ✖
> 
> fonts.google.com
> 
> ✖
> 
> fundingchoicesmessages.google.com
> 
> ✖
> 
> fusiontables.google.com
> 
> ✖
> 
> groups.google.com
> 
> ✖
> 
> hangouts.google.com
> 
> ✖
> 
> kh.google.com
> 
> ✖
> 
> khms0.google.com
> 
> ✖
> 
> khms1.google.com
> 
> ✖
> 
> khms2.google.com
> 
> ✖
> 
> khms3.google.com
> 
> ✖
> 
> khms4.google.com
> 
> ✖
> 
> labs.google.com
> 
> ✖
> 
> mail.google.com
> 
> ✖
> 
> maps.google.com
> 
> ✖
> 
> maps-api-ssl.google.com
> 
> ✖
> 
> mapsengine.google.com
> 
> ✖
> 
> mt0.google.com
> 
> ✖
> 
> mt1.google.com
> 
> ✖
> 
> mts0.google.com
> 
> ✖
> 
> mts1.google.com
> 
> ✖
> 
> mw1.google.com
> 
> ✖
> 
> mw2.google.com
> 
> ✖
> 
> pay.google.com
> 
> ✖
> 
> picasaweb.google.com
> 
> ✖
> 
> play.google.com
> 
> ✖
> 
> scholar.google.com
> 
> ✖
> 
> sites.google.com
> 
> ✖
> 
> smartlock.google.com
> 
> ✖
> 
> spreadsheets.google.com
> 
> ✖
> 
> suggestqueries.google.com
> 
> ✖
> 
> talkgadget.google.com
> 
> ✖
> 
> translate.google.com
> 
> ✖
> 
> trends.google.com
> 
> ✖
> 
> video.google.com
> 
> ✖
> 
> www.google.com
> 
> ✖
> 
> gridsumdissector.com
> 
> ✖
> 
> growingio.com
> 
> ✖
> 
> gsspat.jp
> 
> ✖
> 
> gssprt.jp
> 
> ✖
> 
> gstatic.com
> 
> ✖
> 
> gumgum.com
> 
> ✖
> 
> g2.gumgum.com
> 
> ✖
> 
> js.gumgum.com
> 
> ✖
> 
> hanmaker.com
> 
> ✖
> 
> hcaptcha.com
> 
> ✖
> 
> heapanalytics.com
> 
> ✖
> 
> cdn.heapanalytics.com
> 
> ✖
> 
> hexagon-analytics.com
> 
> ✖
> 
> highwire.org
> 
> ✖
> 
> hindustantimes.com
> 
> ✖
> 
> histats.com
> 
> ✖
> 
> s10.histats.com
> 
> ✖
> 
> holder.com.ua
> 
> ✖
> 
> hrzn-nxt.com
> 
> ✖
> 
> hubspot.com
> 
> ✖
> 
> api.hubspot.com
> 
> ✖
> 
> app.hubspot.com
> 
> ✖
> 
> cta-service-cms2.hubspot.com
> 
> ✖
> 
> forms.hubspot.com
> 
> ✖
> 
> js.hubspot.com
> 
> ✖
> 
> meetings.hubspot.com
> 
> ✖
> 
> no-cache.hubspot.com
> 
> ✖
> 
> static.hubspot.com
> 
> ✖
> 
> hushly.com
> 
> ✖
> 
> hybrid.ai
> 
> ✖
> 
> iadvize.com
> 
> ✖
> 
> ibclick.stream
> 
> ✖
> 
> id5-sync.com
> 
> ✖
> 
> idio.co
> 
> ✖
> 
> iesnare.com
> 
> ✖
> 
> mpsnare.iesnare.com
> 
> ✖
> 
> igodigital.com
> 
> ✖
> 
> im-apps.net
> 
> ✖
> 
> imhd.io
> 
> ✖
> 
> impact-ad.jp
> 
> ✖
> 
> imrworldwide.com
> 
> ✖
> 
> cdn-gl.imrworldwide.com
> 
> ✖
> 
> in-page-push.com
> 
> ✖
> 
> infeed.id
> 
> ✖
> 
> infinity-tracking.net
> 
> ✖
> 
> influ2.com
> 
> ✖
> 
> infolinks.com
> 
> ✖
> 
> resources.infolinks.com
> 
> ✖
> 
> informz.net
> 
> ✖
> 
> innity.com
> 
> ✖
> 
> innovid.com
> 
> ✖
> 
> inpagepush.com
> 
> ✖
> 
> inq.com
> 
> ✖
> 
> inside-graph.com
> 
> ✖
> 
> insightexpressai.com
> 
> ✖
> 
> instagram.com
> 
> ✖
> 
> insticator.com
> 
> ✖
> 
> insurads.com
> 
> ✖
> 
> intentiq.com
> 
> ✖
> 
> intergient.com
> 
> ✖
> 
> internetbrands.com
> 
> ✖
> 
> investingchannel.com
> 
> ✖
> 
> ioam.de
> 
> ✖
> 
> script.ioam.de
> 
> ✖
> 
> iocnt.net
> 
> ✖
> 
> iperceptions.com
> 
> ✖
> 
> ipredictive.com
> 
> ✖
> 
> irs03.com
> 
> ✖
> 
> ispot.tv
> 
> ✖
> 
> iteratehq.com
> 
> ✖
> 
> ivcbrasil.org.br
> 
> ✖
> 
> ivideosmart.com
> 
> ✖
> 
> izooto.com
> 
> ✖
> 
> janrainsso.com
> 
> ✖
> 
> jixie.io
> 
> ✖
> 
> jsdelivr.net
> 
> ✖
> 
> jsrdn.com
> 
> ✖
> 
> justpremium.com
> 
> ✖
> 
> jwpltx.com
> 
> ✖
> 
> kakao.com
> 
> ✖
> 
> kameleoon.eu
> 
> ✖
> 
> kaptcha.com
> 
> ✖
> 
> kargo.com
> 
> ✖
> 
> keywee.co
> 
> ✖
> 
> klangoo.com
> 
> ✖
> 
> klarnaservices.com
> 
> ✖
> 
> klarnauserservices.com
> 
> ✖
> 
> knet.cn
> 
> ✖
> 
> koddi.com
> 
> ✖
> 
> kompas.com
> 
> ✖
> 
> krxd.net
> 
> ✖
> 
> ladsp.com
> 
> ✖
> 
> leadlander.com
> 
> ✖
> 
> lentainform.com
> 
> ✖
> 
> lfeeder.com
> 
> ✖
> 
> liadm.com
> 
> ✖
> 
> idx.liadm.com
> 
> ✖
> 
> lifesight.io
> 
> ✖
> 
> lightboxcdn.com
> 
> ✖
> 
> lijit.com
> 
> ✖
> 
> ap.lijit.com
> 
> ✖
> 
> likr.com.tw
> 
> ✖
> 
> line.me
> 
> ✖
> 
> linkconnector.com
> 
> ✖
> 
> linkedin.com
> 
> ✖
> 
> dc.ads.linkedin.com
> 
> ✖
> 
> platform.linkedin.com
> 
> ✖
> 
> linksynergy.com
> 
> ✖
> 
> liputan6.id
> 
> ✖
> 
> list-manage.com
> 
> ✖
> 
> listrakbi.com
> 
> ✖
> 
> livechatinc.com
> 
> ✖
> 
> liveperson.net
> 
> ✖
> 
> lkqd.net
> 
> ✖
> 
> loadercdn.net
> 
> ✖
> 
> loginhood.io
> 
> ✖
> 
> logly.co.jp
> 
> ✖
> 
> loopgift.com
> 
> ✖
> 
> lww.com
> 
> ✖
> 
> lytics.io
> 
> ✖
> 
> macromill.com
> 
> ✖
> 
> mail.ru
> 
> ✖
> 
> mailchimp.com
> 
> ✖
> 
> mailfire.io
> 
> ✖
> 
> mantisadnetwork.com
> 
> ✖
> 
> marinsm.com
> 
> ✖
> 
> marketo.com
> 
> ✖
> 
> marvellousmachine.net
> 
> ✖
> 
> mateti.net
> 
> ✖
> 
> matheranalytics.com
> 
> ✖
> 
> js.matheranalytics.com
> 
> ✖
> 
> mathtag.com
> 
> ✖
> 
> maven.io
> 
> ✖
> 
> mavencoalition.io
> 
> ✖
> 
> maxymiser.net
> 
> ✖
> 
> media.net
> 
> ✖
> 
> contextual.media.net
> 
> ✖
> 
> media6degrees.com
> 
> ✖
> 
> mediaad.org
> 
> ✖
> 
> mediacategory.com
> 
> ✖
> 
> mediacorp.sg
> 
> ✖
> 
> mediafuse.com
> 
> ✖
> 
> mediav.com
> 
> ✖
> 
> mediawallahscript.com
> 
> ✖
> 
> medium.al
> 
> ✖
> 
> medium.com
> 
> ✖
> 
> cdn-client.medium.com
> 
> ✖
> 
> glyph.medium.com
> 
> ✖
> 
> miro.medium.com
> 
> ✖
> 
> medtargetsystem.com
> 
> ✖
> 
> mellowads.com
> 
> ✖
> 
> mfadsrvr.com
> 
> ✖
> 
> mgid.com
> 
> ✖
> 
> jsc.mgid.com
> 
> ✖
> 
> mia-chat.com
> 
> ✖
> 
> miaozhen.com
> 
> ✖
> 
> micpn.com
> 
> ✖
> 
> microad.jp
> 
> ✖
> 
> microadinc.com
> 
> ✖
> 
> microsoft.com
> 
> ✖
> 
> mindbox.ru
> 
> ✖
> 
> mirror.co.uk
> 
> ✖
> 
> mktoresp.com
> 
> ✖
> 
> ml314.com
> 
> ✖
> 
> mmstat.com
> 
> ✖
> 
> moatads.com
> 
> ✖
> 
> z.moatads.com
> 
> ✖
> 
> monetate.net
> 
> ✖
> 
> monsido.com
> 
> ✖
> 
> mookie1.com
> 
> ✖
> 
> mouseflow.com
> 
> ✖
> 
> cdn.mouseflow.com
> 
> ✖
> 
> mpeasylink.com
> 
> ✖
> 
> mpianalytics.com
> 
> ✖
> 
> mts.ru
> 
> ✖
> 
> mtvnservices.com
> 
> ✖
> 
> musthird.com
> 
> ✖
> 
> myvisualiq.net
> 
> ✖
> 
> myvoicenation.com
> 
> ✖
> 
> najva.com
> 
> ✖
> 
> nakanohito.jp
> 
> ✖
> 
> nanda.vn
> 
> ✖
> 
> nanorep.co
> 
> ✖
> 
> narrative.io
> 
> ✖
> 
> nativendo.de
> 
> ✖
> 
> navdmp.com
> 
> ✖
> 
> naver.com
> 
> ✖
> 
> nbcuni.com
> 
> ✖
> 
> netmng.com
> 
> ✖
> 
> newmedia.az
> 
> ✖
> 
> newrelic.com
> 
> ✖
> 
> js-agent.newrelic.com
> 
> ✖
> 
> newscgp.com
> 
> ✖
> 
> newsmaxwidget.com
> 
> ✖
> 
> ngpvan.com
> 
> ✖
> 
> nine.com.au
> 
> ✖
> 
> nosto.com
> 
> ✖
> 
> notheredef.fun
> 
> ✖
> 
> nr-data.net
> 
> ✖
> 
> o-s.io
> 
> ✖
> 
> ocdn.eu
> 
> ✖
> 
> ojrq.net
> 
> ✖
> 
> ok.ru
> 
> ✖
> 
> okt.to
> 
> ✖
> 
> okta.com
> 
> ✖
> 
> olark.com
> 
> ✖
> 
> olx-st.com
> 
> ✖
> 
> omnitagjs.com
> 
> ✖
> 
> omny.fm
> 
> ✖
> 
> omtrdc.net
> 
> ✖
> 
> amazoncustomerservice.d2.sc.omtrdc.net
> 
> ✖
> 
> attservicesinc.tt.omtrdc.net
> 
> ✖
> 
> dsw.tt.omtrdc.net
> 
> ✖
> 
> microsoftmscompoc.tt.omtrdc.net
> 
> ✖
> 
> onelink.me
> 
> ✖
> 
> onetag-sys.com
> 
> ✖
> 
> onevision.com.tw
> 
> ✖
> 
> online-metrix.net
> 
> ✖
> 
> onthe.io
> 
> ✖
> 
> opecloud.com
> 
> ✖
> 
> tagger.opecloud.com
> 
> ✖
> 
> openx.net
> 
> ✖
> 
> qaamgo-d.openx.net
> 
> ✖
> 
> u.openx.net
> 
> ✖
> 
> us-u.openx.net
> 
> ✖
> 
> optimizely.com
> 
> ✖
> 
> cdn.optimizely.com
> 
> ✖
> 
> osano.com
> 
> ✖
> 
> otm-r.com
> 
> ✖
> 
> outbrain.com
> 
> ✖
> 
> amplify.outbrain.com
> 
> ✖
> 
> owneriq.net
> 
> ✖
> 
> pages03.net
> 
> ✖
> 
> pages04.net
> 
> ✖
> 
> pardot.com
> 
> ✖
> 
> parsely.com
> 
> ✖
> 
> cdn.parsely.com
> 
> ✖
> 
> paypal.com
> 
> ✖
> 
> pbbl.co
> 
> ✖
> 
> pcmag.com
> 
> ✖
> 
> pconline.com.cn
> 
> ✖
> 
> pdvacde.com
> 
> ✖
> 
> pendo.io
> 
> ✖
> 
> permutive.app
> 
> ✖
> 
> petametrics.com
> 
> ✖
> 
> photorank.me
> 
> ✖
> 
> pinterest.com
> 
> ✖
> 
> assets.pinterest.com
> 
> ✖
> 
> ct.pinterest.com
> 
> ✖
> 
> piwik.pro
> 
> ✖
> 
> pixlee.com
> 
> ✖
> 
> plista.com
> 
> ✖
> 
> pointmediatracker.com
> 
> ✖
> 
> popin.cc
> 
> ✖
> 
> postaffiliatepro.com
> 
> ✖
> 
> postrelease.com
> 
> ✖
> 
> powerlinks.com
> 
> ✖
> 
> px.powerlinks.com
> 
> ✖
> 
> prcdn.co
> 
> ✖
> 
> pressboard.ca
> 
> ✖
> 
> prfct.co
> 
> ✖
> 
> privacymanager.io
> 
> ✖
> 
> privymktg.com
> 
> ✖
> 
> pro-market.net
> 
> ✖
> 
> ads.pro-market.net
> 
> ✖
> 
> prod-mng-proxy-connext.azurewebsites.net
> 
> ✖
> 
> programattik.com
> 
> ✖
> 
> pub.network
> 
> ✖
> 
> a.pub.network
> 
> ✖
> 
> pubmatic.com
> 
> ✖
> 
> ads.pubmatic.com
> 
> ✖
> 
> pubstack.io
> 
> ✖
> 
> pushnami.com
> 
> ✖
> 
> pymx5.com
> 
> ✖
> 
> qlitics.com
> 
> ✖
> 
> qq.com
> 
> ✖
> 
> captcha.qq.com
> 
> ✖
> 
> photo.store.qq.com
> 
> ✖
> 
> qualtrics.com
> 
> ✖
> 
> quantserve.com
> 
> ✖
> 
> pixel.quantserve.com
> 
> ✖
> 
> secure.quantserve.com
> 
> ✖
> 
> quantummetric.com
> 
> ✖
> 
> queue-it.net
> 
> ✖
> 
> quora.com
> 
> ✖
> 
> a.quora.com
> 
> ✖
> 
> www.quora.com
> 
> ✖
> 
> r-ad.ne.jp
> 
> ✖
> 
> rakuten.co.jp
> 
> ✖
> 
> rakuten.com
> 
> ✖
> 
> rambler.ru
> 
> ✖
> 
> reactful.com
> 
> ✖
> 
> realite.id
> 
> ✖
> 
> realsrv.com
> 
> ✖
> 
> recommendationengine.googleapis.com
> 
> ✖
> 
> reddit.com
> 
> ✖
> 
> reichelcormier.bid
> 
> ✖
> 
> relap.io
> 
> ✖
> 
> rentracks.jp
> 
> ✖
> 
> research-int.se
> 
> ✖
> 
> researchnow.com
> 
> ✖
> 
> reson8.com
> 
> ✖
> 
> retailrocket.net
> 
> ✖
> 
> retargetly.com
> 
> ✖
> 
> revcontent.com
> 
> ✖
> 
> assets.revcontent.com
> 
> ✖
> 
> revjet.com
> 
> ✖
> 
> rezync.com
> 
> ✖
> 
> rfihub.com
> 
> ✖
> 
> rfksrv.com
> 
> ✖
> 
> ria.ru
> 
> ✖
> 
> richaudience.com
> 
> ✖
> 
> richrelevance.com
> 
> ✖
> 
> riskified.com
> 
> ✖
> 
> riverhit.com
> 
> ✖
> 
> rkdms.com
> 
> ✖
> 
> mid.rkdms.com
> 
> ✖
> 
> rlcdn.com
> 
> ✖
> 
> api.rlcdn.com
> 
> ✖
> 
> ats.rlcdn.com
> 
> ✖
> 
> rmtag.com
> 
> ✖
> 
> rnengage.com
> 
> ✖
> 
> rtk.io
> 
> ✖
> 
> rtmark.net
> 
> ✖
> 
> rubiconproject.com
> 
> ✖
> 
> ads.rubiconproject.com
> 
> ✖
> 
> secure-assets.rubiconproject.com
> 
> ✖
> 
> rumiview.com
> 
> ✖
> 
> rutarget.ru
> 
> ✖
> 
> sabavision.com
> 
> ✖
> 
> salecycle.com
> 
> ✖
> 
> salesforce.com
> 
> ✖
> 
> salesforceliveagent.com
> 
> ✖
> 
> salesloft.com
> 
> ✖
> 
> samandehi.ir
> 
> ✖
> 
> samba.tv
> 
> ✖
> 
> sanjagh.com
> 
> ✖
> 
> sas.com
> 
> ✖
> 
> sc-static.net
> 
> ✖
> 
> scarabresearch.com
> 
> ✖
> 
> schibsted.com
> 
> ✖
> 
> scorecardresearch.com
> 
> ✖
> 
> sb.scorecardresearch.com
> 
> ✖
> 
> scupio.com
> 
> ✖
> 
> securedtouch.com
> 
> ✖
> 
> securedvisit.com
> 
> ✖
> 
> secureserver.net
> 
> ✖
> 
> seedr.com
> 
> ✖
> 
> seedtag.com
> 
> ✖
> 
> config.seedtag.com
> 
> ✖
> 
> segment.com
> 
> ✖
> 
> cdn.segment.com
> 
> ✖
> 
> sekindo.com
> 
> ✖
> 
> semasio.net
> 
> ✖
> 
> servebom.com
> 
> ✖
> 
> ads.servebom.com
> 
> ✖
> 
> serverbid.com
> 
> ✖
> 
> serving-sys.com
> 
> ✖
> 
> sessioncam.com
> 
> ✖
> 
> seznam.cz
> 
> ✖
> 
> sf14g.com
> 
> ✖
> 
> sharethrough.com
> 
> ✖
> 
> sdk.sharethrough.com
> 
> ✖
> 
> shop.pe
> 
> ✖
> 
> shopnetic.com
> 
> ✖
> 
> sift.com
> 
> ✖
> 
> cdn.sift.com
> 
> ✖
> 
> siftscience.com
> 
> ✖
> 
> cdn.siftscience.com
> 
> ✖
> 
> simpli.fi
> 
> ✖
> 
> site24x7rum.com
> 
> ✖
> 
> siteimproveanalytics.io
> 
> ✖
> 
> sitescout.com
> 
> ✖
> 
> skimresources.com
> 
> ✖
> 
> s.skimresources.com
> 
> ✖
> 
> skplanet.com
> 
> ✖
> 
> smadex.com
> 
> ✖
> 
> smartadserver.com
> 
> ✖
> 
> smartnews-ads.com
> 
> ✖
> 
> smartocto.com
> 
> ✖
> 
> smassets.net
> 
> ✖
> 
> smct.co
> 
> ✖
> 
> smi2.net
> 
> ✖
> 
> smi2.ru
> 
> ✖
> 
> snapchat.com
> 
> ✖
> 
> snssdk.com
> 
> ✖
> 
> sobot.com
> 
> ✖
> 
> soflopxl.com
> 
> ✖
> 
> sojern.com
> 
> ✖
> 
> solosegment.com
> 
> ✖
> 
> solvemedia.com
> 
> ✖
> 
> sonobi.com
> 
> ✖
> 
> purch-sync.go.sonobi.com
> 
> ✖
> 
> sync.go.sonobi.com
> 
> ✖
> 
> soundcloud.com
> 
> ✖
> 
> api.soundcloud.com
> 
> ✖
> 
> feeds.soundcloud.com
> 
> ✖
> 
> w.soundcloud.com
> 
> ✖
> 
> sp-prod.net
> 
> ✖
> 
> speakol.com
> 
> ✖
> 
> sphereup.com
> 
> ✖
> 
> sphlabs.com
> 
> ✖
> 
> spiceworks.com
> 
> ✖
> 
> spokenlayer.com
> 
> ✖
> 
> spot.im
> 
> ✖
> 
> spotify.com
> 
> ✖
> 
> embed.spotify.com
> 
> ✖
> 
> open.spotify.com
> 
> ✖
> 
> spotxchange.com
> 
> ✖
> 
> sync.search.spotxchange.com
> 
> ✖
> 
> springserve.com
> 
> ✖
> 
> sputnik.ru
> 
> ✖
> 
> stack-sonar.com
> 
> ✖
> 
> www.stack-sonar.com
> 
> ✖
> 
> stackadapt.com
> 
> ✖
> 
> stackoverflow.com
> 
> ✖
> 
> stat.media
> 
> ✖
> 
> statad.ru
> 
> ✖
> 
> statcounter.com
> 
> ✖
> 
> www.statcounter.com
> 
> ✖
> 
> steelhousemedia.com
> 
> ✖
> 
> stickyadstv.com
> 
> ✖
> 
> storage.googleapis.com
> 
> ✖
> 
> streamable.com
> 
> ✖
> 
> streamtheworld.com
> 
> ✖
> 
> stripe.com
> 
> ✖
> 
> stripe.network
> 
> ✖
> 
> m.stripe.network
> 
> ✖
> 
> studiostack.com
> 
> ✖
> 
> summerhamster.com
> 
> ✖
> 
> www.summerhamster.com
> 
> ✖
> 
> sumo.com
> 
> ✖
> 
> sundaysky.com
> 
> ✖
> 
> surfcountor.com
> 
> ✖
> 
> surveymonkey.com
> 
> ✖
> 
> swiftype.com
> 
> ✖
> 
> taboola.com
> 
> ✖
> 
> c2.taboola.com
> 
> ✖
> 
> cdn.taboola.com
> 
> ✖
> 
> tagboard.com
> 
> ✖
> 
> tagcommander.com
> 
> ✖
> 
> tailtarget.com
> 
> ✖
> 
> tamgrt.com
> 
> ✖
> 
> tapad.com
> 
> ✖
> 
> targetspot.com
> 
> ✖
> 
> tavoos.net
> 
> ✖
> 
> tawk.to
> 
> ✖
> 
> teads.tv
> 
> ✖
> 
> sync.teads.tv
> 
> ✖
> 
> tealiumiq.com
> 
> ✖
> 
> techhub.co.kr
> 
> ✖
> 
> techlab-cdn.com
> 
> ✖
> 
> technoratimedia.com
> 
> ✖
> 
> techtarget.com
> 
> ✖
> 
> techweb.com
> 
> ✖
> 
> tenmax.io
> 
> ✖
> 
> terminus.services
> 
> ✖
> 
> tfaforms.net
> 
> ✖
> 
> theadex.com
> 
> ✖
> 
> thebrighttag.com
> 
> ✖
> 
> thrtle.com
> 
> ✖
> 
> thunderhead.com
> 
> ✖
> 
> tidaltv.com
> 
> ✖
> 
> tiktok.com
> 
> ✖
> 
> timecommerce.net
> 
> ✖
> 
> tinypass.com
> 
> ✖
> 
> tiqcdn.com
> 
> ✖
> 
> tns-counter.ru
> 
> ✖
> 
> tns-ua.com
> 
> ✖
> 
> toast.com
> 
> ✖
> 
> top100.ru
> 
> ✖
> 
> trackersimulator.org
> 
> ✖
> 
> tradedoubler.com
> 
> ✖
> 
> tradelab.fr
> 
> ✖
> 
> tradingview.com
> 
> ✖
> 
> trafficbass.com
> 
> ✖
> 
> trafficjunky.net
> 
> ✖
> 
> trafmag.com
> 
> ✖
> 
> treasuredata.com
> 
> ✖
> 
> tremorhub.com
> 
> ✖
> 
> qds0l.publishers.tremorhub.com
> 
> ✖
> 
> trendemon.com
> 
> ✖
> 
> tribalfusion.com
> 
> ✖
> 
> tribl.io
> 
> ✖
> 
> trkn.us
> 
> ✖
> 
> truehits.in.th
> 
> ✖
> 
> truepush.com
> 
> ✖
> 
> trumba.com
> 
> ✖
> 
> trustarc.com
> 
> ✖
> 
> consent.trustarc.com
> 
> ✖
> 
> trustedsite.com
> 
> ✖
> 
> tsyndicate.com
> 
> ✖
> 
> turn.com
> 
> ✖
> 
> tvpixel.com
> 
> ✖
> 
> tvsquared.com
> 
> ✖
> 
> twimg.com
> 
> ✖
> 
> twitch.tv
> 
> ✖
> 
> player.twitch.tv
> 
> ✖
> 
> twitter.com
> 
> ✖
> 
> platform.twitter.com
> 
> ✖
> 
> syndication.twitter.com
> 
> ✖
> 
> tynt.com
> 
> ✖
> 
> typekit.net
> 
> ✖
> 
> udesk.cn
> 
> ✖
> 
> udmserve.net
> 
> ✖
> 
> ufpcdn.com
> 
> ✖
> 
> uicdn.net
> 
> ✖
> 
> undertone.com
> 
> ✖
> 
> unrulymedia.com
> 
> ✖
> 
> unsplash.com
> 
> ✖
> 
> useinsider.com
> 
> ✖
> 
> usercentrics.eu
> 
> ✖
> 
> usergram.info
> 
> ✖
> 
> userreplay.net
> 
> ✖
> 
> utarget.ru
> 
> ✖
> 
> uxfeedback.ru
> 
> ✖
> 
> valuecommerce.com
> 
> ✖
> 
> viafoura.co
> 
> ✖
> 
> api.viafoura.co
> 
> ✖
> 
> videohub.tv
> 
> ✖
> 
> vidible.tv
> 
> ✖
> 
> vidio.com
> 
> ✖
> 
> vidyard.com
> 
> ✖
> 
> viglink.com
> 
> ✖
> 
> vihub.ru
> 
> ✖
> 
> vimeo.com
> 
> ✖
> 
> player.vimeo.com
> 
> ✖
> 
> vindicosuite.com
> 
> ✖
> 
> visualstudio.com
> 
> ✖
> 
> visualwebsiteoptimizer.com
> 
> ✖
> 
> vk.com
> 
> ✖
> 
> vmmpxl.com
> 
> ✖
> 
> voltn.com
> 
> ✖
> 
> pixel.voltn.com
> 
> ✖
> 
> voxmedia.com
> 
> ✖
> 
> w55c.net
> 
> ✖
> 
> wbtrk.net
> 
> ✖
> 
> wcfbc.net
> 
> ✖
> 
> wdsvc.net
> 
> ✖
> 
> webantenna.info
> 
> ✖
> 
> webengage.com
> 
> ✖
> 
> webflow.com
> 
> ✖
> 
> weborama.fr
> 
> ✖
> 
> webspectator.com
> 
> ✖
> 
> webterren.com
> 
> ✖
> 
> webtrekk.net
> 
> ✖
> 
> webvisor.org
> 
> ✖
> 
> wemfbox.ch
> 
> ✖
> 
> wi-fi.ru
> 
> ✖
> 
> widerplanet.com
> 
> ✖
> 
> wishabi.com
> 
> ✖
> 
> wistia.net
> 
> ✖
> 
> wkxppshj-qx.global.ssl.fastly.net
> 
> ✖
> 
> wp.com
> 
> ✖
> 
> wsod.com
> 
> ✖
> 
> wt-eu02.net
> 
> ✖
> 
> xg4ken.com
> 
> ✖
> 
> xiti.com
> 
> ✖
> 
> xlisting.jp
> 
> ✖
> 
> yadro.ru
> 
> ✖
> 
> yahoo.co.jp
> 
> ✖
> 
> yahoo.com
> 
> ✖
> 
> ups.analytics.yahoo.com
> 
> ✖
> 
> y3.analytics.yahoo.com
> 
> ✖
> 
> pipes.yahoo.com
> 
> ✖
> 
> search.yahoo.com
> 
> ✖
> 
> yandex.com
> 
> ✖
> 
> yandex.ru
> 
> ✖
> 
> an.yandex.ru
> 
> ✖
> 
> api-maps.yandex.ru
> 
> ✖
> 
> img-fotki.yandex.ru
> 
> ✖
> 
> mc.yandex.ru
> 
> ✖
> 
> yektanet.com
> 
> ✖
> 
> yellowblue.io
> 
> ✖
> 
> yieldlab.net
> 
> ✖
> 
> yieldmo.com
> 
> ✖
> 
> yieldoptimizer.com
> 
> ✖
> 
> yoox.it
> 
> ✖
> 
> yotpo.com
> 
> ✖
> 
> youtube-nocookie.com
> 
> ✖
> 
> www.youtube-nocookie.com
> 
> ✖
> 
> youtube.com
> 
> ✖
> 
> www.youtube.com
> 
> ✖
> 
> youvisit.com
> 
> ✖
> 
> yunaq.com
> 
> ✖
> 
> zalo.me
> 
> ✖
> 
> zdbb.net
> 
> ✖
> 
> zedo.com
> 
> ✖
> 
> zemanta.com
> 
> ✖
> 
> zendesk.com
> 
> ✖
> 
> zeotap.com
> 
> ✖
> 
> zergnet.com
> 
> ✖
> 
> zoho.com
> 
> ✖
> 
> zoominfo.com
> 
> ✖
> 
> ws.zoominfo.com
> 
> ✖
> 
> zprk.io
> 
> ✖
> 
> """
> 
> ```

---

<div class="post-metadata">

**Author:** ![WschW](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wschw/32/6575_2.png) [@WschW](https://discourse.julialang.org/u/WschW)\
**Post date:** [December 20, 2020, 4:19am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/2 "2020-12-20T04:19:17Z")

</div>

Use `String[]` not `Any[]`.

---

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 20, 2020, 4:36am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/3 "2020-12-20T04:36:17Z")

</div>

After I changed to ` a = String[];`  
still not performant.

```julia
  0.002423 seconds (9.30 k allocations: 388.562 KiB)
  0.002170 seconds (9.30 k allocations: 388.562 KiB)
  0.001114 seconds (9.30 k allocations: 388.562 KiB)

```

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [December 20, 2020, 4:53am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/4 "2020-12-20T04:53:39Z")

</div>

String is “whatever” – you can’t do anything much better in any language. But I guess you can at least reduce allocation a bit.

Not to mention we’re also spending like 30% of time writing to IO line by line, who knows how Python / Julia do buffer differently.

(reminds me of a test of printing 10^5 lines, pythons is significantly faster than a lot of languages because it prints multiple lines together instead of “flush” the IO every single time

* * *

```julia
 function func1(strd)
           URLS = split(replace(strd, "\n" => ""), "✖")
           filter!(occursin("."), URLS)
           trackers = open("trackers.txt", "w");
           write(trackers, join(URLS,"\n"))
           #print("Successfully completed\n");
           nothing
       end
func (generic function with 1 method)

julia> @btime func1($bigstring)
  209.628 μs (32 allocations: 122.61 KiB)

julia> function func2(strd)
           a = String[];
           for url in split(replace(strd, "\n" => ""), "✖")
               if occursin(".",url)
                   push!(a, url);
               end
           end
           trackers = open("trackers.txt", "w");
           for url in a
               write(trackers, url*"\n");
           end
           close(trackers);
           #print("Successfully completed\n");
       end
func (generic function with 1 method)

julia> @btime func2($bigstring)
  434.133 μs (3122 allocations: 294.19 KiB)

```

---

<div class="post-metadata">

**Author:** ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)\
**Post date:** [December 20, 2020, 5:06am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/5 "2020-12-20T05:06:24Z")

</div>

Approaching this from another angle,

```julia
julia> @btime [m.match for m in eachmatch(r"\S*\.\S*", $bigstring)]
  272.699 μs (3096 allocations: 321.44 KiB)
1028-element Array{SubString{String},1}:
 "1dmp.io"
 "1rx.io"
 "sync.1rx.io"
 "247-inc.net"

```

---

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 20, 2020, 9:19am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/6 "2020-12-20T09:19:34Z")

</div>

> [@stillyslalom](#):
>
> `> @btime [m.match for m in eachmatch(r"\S*\.\S*", $bigstring`

Thank you 🙂 Its alot shorter version.

I found,  
~~`btime` isn’t available in my `1.4.1` version julia.~~ using `@time` instead and according to your code

```julia

function func(strd)
    cur = [m.match for m in eachmatch(r"\S*\.\S*", bigstring)]

    trackers = open("trackers.txt", "w");
    for url in cur
        write(trackers, url*"\n");
    end
    close(trackers);
    print("Successfully completed\n");
end

@time func(bigstring) 

```

` 0.003284 seconds (5.17 k allocations: 312.438 KiB)`  
`0.002035 seconds (5.17 k allocations: 312.438 KiB)`  
🙂 It have less allocations than mine, but performance remains pretty much same

I used [GitHub - JuliaCI/BenchmarkTools.jl: A benchmarking framework for the Julia language](https://github.com/JuliaCI/BenchmarkTools.jl) , there i found `@btime` but It takes more iterations and gives min taken time after taking some iterations.  
Although i used

```julia
@btime func(bigstring)
  312.398 μs (5168 allocations: 312.42 KiB)
  # 0.000312398 seconds 

```

and I also tried to use with python giving some iterations,

```julia
times = []

for i in range(1, 100):
    start_time = time.time()
    main(bigstring)
    times.append((time.time() - start_time))
print(min(times))

# result: 0.00029277801513671875

```

  
@jling Thank you for your answer. In `func1` , your code says there is syntax mistake in ``` filter!(occursin("."), URLS) ``` I am also bit nervous, that is it ok to do not use `close()` after writing file.

> [@jling](#):
>
> Not to mention we’re also spending like 30% of time writing to IO line by line, who knows how Python / Julia do buffer differently.
> 
> (reminds me of a test of printing 10^5 lines, pythons is significantly faster than a lot of languages because it prints multiple lines together instead of “flush” the IO every single time

Suprised In file writing/reading python is fast than other languages. I also tried to restart kernel and run it again having same results. May be this one was reason.  
But Still I need concrete solution…

---

<div class="post-metadata">

**Author:** ![Vasily\_Pisarev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vasily_pisarev/32/7929_2.png) [@Vasily\_Pisarev](https://discourse.julialang.org/u/Vasily_Pisarev)\
**Post date:** [December 20, 2020, 8:09pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/7 "2020-12-20T20:09:42Z")

</div>

I’m getting roughly 2x speedup vs the original function with

```julia
function func(strd)
   a = (url for url in split(replace(strd, '\n' => ""), "✖") if occursin('.', url))
   open("trackers.txt", "w") do io
       for url in a
           write(io, url,'\n');
       end
   end
   print("Successfully completed\n");
end

```

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [December 20, 2020, 10:53pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/8 "2020-12-20T22:53:31Z")

</div>

@stillyslalom, excellent regex solution. Tried to do the same using [ReadableRegex.jl](https://github.com/jkrumbiegel/ReadableRegex.jl) as follows:

```julia
function func3(strd::String)
    reg = one_or_more(NON_WHITESPACE) * exactly(1,".") * one_or_more(NON_WHITESPACE)
    [m.match for m in eachmatch(reg, strd)]
end

using BenchmarkTools, ReadableRegex
include("bigstring.jl");
@btime func3($bigstring)
  283.800 μs (3122 allocations: 322.50 KiB)
1028-element Array{SubString{String},1}:
 "1dmp.io"
 "1rx.io"
 "sync.1rx.io"
 "247-inc.net"
 "2o7.net"
 "112.2o7.net"
 ⋮
 "zergnet.com"
 "zoho.com"   
 "zoominfo.com"
 "ws.zoominfo.com"
 "zprk.io"

```

_ **PS:** using in this case_ `exactly(1,".")` _or_ `one_or_more(".")` _seems to produce the same result_

---

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 21, 2020, 3:44am UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/9 "2020-12-21T03:44:17Z")

</div>

🙂 Thanks @vasily,

I tried to use `btime` to benchmark your result.for 4 times, time had decreased but not as fast as i compared…

```julia

  674.228 μs (2091 allocations: 120.41 KiB)
  334.126 μs (2091 allocations: 120.41 KiB)
  344.855 μs (2091 allocations: 120.41 KiB)
  342.859 μs (2091 allocations: 120.41 KiB)

```

and using `@time` for 3 time

```julia
  0.018397 seconds (7.04 k allocations: 379.798 KiB)
  0.018803 seconds (7.04 k allocations: 379.798 KiB)
  0.018452 seconds (7.04 k allocations: 379.798 KiB)

```

But I am still not getting that performance than other i compared.

* * *

Thank you @rafael.guerra , I am looking at `ReadableRegex.jl` to learn about it. 🙂  
Although It was short I tried to benchmark my for loops, which i feel easy 🙂 although It takes alot of allocations and time as same.

```julia
function func(strd)
    a = Any[];
    for url in split(replace(strd, "\n" => ""), "✖")
        if occursin(".",url)
            push!(a, url);
        end
    end
end

```

and using

`@btime func(bigstring)`

```julia

  287.172 μs (7226 allocations: 312.72 KiB)
  284.439 μs (7226 allocations: 312.72 KiB)

```

I am looking for speeding my original `cleaning and` `file reading and writing` function using performance tips.  
I still thinking why python is fast in this situation even Julia is compiled and fast as C .

---

<div class="post-metadata">

**Author:** ![mikkoku](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikkoku/32/16274_2.png) [@mikkoku](https://discourse.julialang.org/u/mikkoku)\
**Post date:** [December 21, 2020, 1:29pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/10 "2020-12-21T13:29:05Z")

</div>

From your example it looks like the replace and occursin are really only needed in the very beginning and end. If this is the case generally then the following should be faster.

```julia
function func2(strd)
    a = split(strd, '✖')
    a = strip.(a)
    filter!(!isempty, a)
    trackers = open("trackers.txt", "w");
    for url in a
        write(trackers, url, "\n");
    end
    close(trackers);
end

```

---

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 21, 2020, 2:14pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/11 "2020-12-21T14:14:20Z")

</div>

Yes, This is similar to what i wanted.  
using `@btime` got,

> 233.651 μs (5102 allocations: 168.94 KiB)  
> 226.176 μs (5102 allocations: 168.94 KiB)  
> 226.783 μs (5102 allocations: 168.94 KiB)  
> 232.102 μs (5102 allocations: 168.94 KiB)

* * *
Also tested `@time` got ```

```julia
 0.000709 seconds (5.10 k allocations: 168.938 KiB)
  0.001105 seconds (5.10 k allocations: 168.938 KiB)
  0.001116 seconds (5.10 k allocations: 168.938 KiB)
  0.001291 seconds (5.10 k allocations: 168.938 KiB)
  0.000672 seconds (5.10 k allocations: 168.938 KiB)

```

time was fluctuation everytime i run

* * *
``` with Minimum time to second got :`0.000226 seconds`

which is same as `unoptimized` version in python.

```julia
0.00028586387634277344
0.0002853870391845703
0.0002918243408203125

```

But It is good. Subtracting them got `julia faster in`  
`0.0002853870391845703 - 0.000226 = 0.00005938703`

Got `59.387030` microsecond speedup than Python.  
But I am still unable to figure out slowness without optimizing even comparing it with python.

(I know It is fast, but I am still not getting it)

---

<div class="post-metadata">

**Author:** ![Vasily\_Pisarev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vasily_pisarev/32/7929_2.png) [@Vasily\_Pisarev](https://discourse.julialang.org/u/Vasily_Pisarev)\
**Post date:** [December 23, 2020, 12:54pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/12 "2020-12-23T12:54:50Z")

</div>

Well, if you argue that the timings you get are not “as fast as C”, do you have a reference C implementation to confirm that?

In both Python and Julia, you use high-level string manipulation and I/O functions. There’s no reason to assume `split` or `contains` in Python is much slower than in Julia because the latter uses an optimized C implementation under the hood (chances are, it is faster because there’s been more time to polish the underlying implementations).

When people say “Julia is as fast as C”, that usually refers to low-level operations on primitive types, which is not the case here.

Other things that might be worth considering:

- How often do you need to perform such kind of operation? If it is once in a lifetime, wouldn’t be your time better spent on something other than making one function run 50 μs faster?
- If it should run multiple times, how are input strings constructed? If they are read from disk/network, shouldn’t that be included into the benchmark as well? I mean, constructing a string from some bytes you read takes some time as well, so that benchmarking on a pre-constructed string might not reflect the real situation (I don’t now if it _does_ matter, but Julia strings are basically raw UTF8-encoded bytes, while Python [uses fixed-width 1-, 2- or 4-byte chars](https://rushter.com/blog/python-strings-and-memory/), so that decoding a string from a file _may_ add a measurable overhead).

---

<div class="post-metadata">

**Author:** ![vedasulo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vedasulo/32/20324_2.png) [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Post date:** [December 23, 2020, 2:43pm UTC](https://discourse.julialang.org/t/julia-simple-string-process-and-file-i-o-is-slow/52112/13 "2020-12-23T14:43:07Z")

</div>

🙂 **I was not arguing about C.** I was only concerned with performance between `julia` and `python` .  
_ **Because of `Python` seen speedy** _ in this my specific problem, so I posted. I was just comparing them, although not real world cases.

But,  
As you told, Because of

> [@](#):
>
> Python is faster because there’s been more time to polish the underlying implementations).

May be this is solution
