# When I import Gtk library my code became immaediately slower

**URL:** <https://discourse.julialang.org/t/when-i-import-gtk-library-my-code-became-immaediately-slower/17301>\
**Category:** Performance\
**Tags:** package\
**Created:** [November 8, 2018, 10:36am UTC](https://discourse.julialang.org/t/when-i-import-gtk-library-my-code-became-immaediately-slower/17301 "2018-11-08T10:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsHitman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dshitman/32/5465_2.png) [@dsHitman](https://discourse.julialang.org/u/dsHitman)\
**Post date:** [November 8, 2018, 10:36am UTC](https://discourse.julialang.org/t/when-i-import-gtk-library-my-code-became-immaediately-slower/17301/1 "2018-11-08T10:36:04Z")

</div>

Hi, I have created a GUI whit Gtk, but it was so slowly. To make a test I have import the Gtk library (using Gtk) in a code, without using it, and the code immediately went slower. Anyone have an idea on why?

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [November 8, 2018, 10:38am UTC](https://discourse.julialang.org/t/when-i-import-gtk-library-my-code-became-immaediately-slower/17301/2 "2018-11-08T10:38:53Z")

</div>

Likely this: [https://github.com/JuliaGraphics/Gtk.jl/issues/325#issuecomment-398495499](https://github.com/JuliaGraphics/Gtk.jl/issues/325#issuecomment-398495499)

---

<div class="post-metadata">

**Author:** ![dsHitman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dshitman/32/5465_2.png) [@dsHitman](https://discourse.julialang.org/u/dsHitman)\
**Post date:** [November 8, 2018, 10:42am UTC](https://discourse.julialang.org/t/when-i-import-gtk-library-my-code-became-immaediately-slower/17301/3 "2018-11-08T10:42:12Z")

</div>

Thanks!
