Bun 1.4 ile Puppeteer'sız JSON API prototipi oluşturulduJSON API prototype built without Puppeteer on Bun 1.4Habere gitRead the article Türkçe (otomatik çeviri) English (automatic translation) |
ÖzetSummarySimon Willison, Bun 1.4'ün deneysel Bun.WebView'unda bir prototip JSON API'si göstererek, Puppeteer veya Playwright kullanmadan JavaScript değerlendirme ve ekran görüntüsü alma yetenekleri sunuyor.Simon Willison demonstrates a prototype JSON API in the experimental Bun.WebView of Bun 1.4, offering JavaScript evaluation and screenshot capabilities without using Puppeteer or Playwright. |
Neden ÖnemliWhy it mattersBun 1.4'ün çıkışı, boşta CPU kullanımında %500'e kadar azalma ve bellek tüketiminde %35 düşüşle önemli bir performans sıçramasını işaret ediyor. Bun.WebView, Bun ekosistemine yerel tarayıcı otomasyonu getirerek web kazıma ve test iş akışlarını basitleştirme potansiyeli taşıyor.The release of Bun 1.4 marks a significant performance leap, with idle CPU usage dropping by up to 500% and memory consumption decreasing by 35%. Bun.WebView brings native browser automation into the Bun ecosystem, potentially simplifying web scraping and testing workflows. |
Öne ÇıkanlarHighlights
|
EleştiriCritical takeVaat verici olmasına rağmen, prototip karmaşık sayfalar için Chrome'u çalıştırmak üzere nispeten büyük bir konteyner (192‑256 MB) gerektiriyor ve deneysel durumu üretim güvenilirliğini sınırlayabilir.While promising, the prototype requires a relatively large container (192‑256 MB) to run Chrome for complex pages, and its experimental status may limit production reliability. |