• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

最佳实践:两种基于网络浏览器的刺激呈现方法,用于具有高分辨率时间要求的行为实验。

Best practices: Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements.

机构信息

University of Deusto, Bilbao, Spain.

University of Konstanz, Konstanz, Germany.

出版信息

Behav Res Methods. 2019 Jun;51(3):1441-1453. doi: 10.3758/s13428-018-1126-4.

DOI:10.3758/s13428-018-1126-4
PMID:30276629
Abstract

The Web is a prominent platform for behavioral experiments, for many reasons (relative simplicity, ubiquity, and accessibility, among others). Over the last few years, many behavioral and social scientists have conducted Internet-based experiments using standard web technologies, both in native JavaScript and using research-oriented frameworks. At the same time, vendors of widely used web browsers have been working hard to improve the performance of their software. However, the goals of browser vendors do not always coincide with behavioral researchers' needs. Whereas vendors want high-performance browsers to respond almost instantly and to trade off accuracy for speed, researchers have the opposite trade-off goal, wanting their browser-based experiments to exactly match the experimental design and procedure. In this article, we review and test some of the best practices suggested by web-browser vendors, based on the features provided by new web standards, in order to optimize animations for browser-based behavioral experiments with high-resolution timing requirements. Using specialized hardware, we conducted four studies to determine the accuracy and precision of two different methods. The results using CSS animations in web browsers (Method 1) with GPU acceleration turned off showed biases that depend on the combination of browser and operating system. The results of tests on the latest versions of GPU-accelerated web browsers showed no frame loss in CSS animations. The same happened in many, but not all, of the tests conducted using requestAnimationFrame (Method 2) instead of CSS animations. Unbeknownst to many researchers, vendors of web browsers implement complex technologies that result in reduced quality of timing. Therefore, behavioral researchers interested in timing-dependent procedures should be cautious when developing browser-based experiments and should test the accuracy and precision of the whole experimental setup (web application, web browser, operating system, and hardware).

摘要

网络是行为实验的重要平台,原因有很多(相对简单、无处不在、易于访问等)。在过去的几年中,许多行为和社会科学家使用标准的网络技术,无论是在原生 JavaScript 中还是在面向研究的框架中,都在进行基于互联网的实验。与此同时,广泛使用的网络浏览器的供应商一直在努力提高其软件的性能。然而,浏览器供应商的目标并不总是与行为研究人员的需求一致。虽然供应商希望高性能的浏览器能够几乎立即响应,并为了速度而牺牲准确性,但研究人员则有相反的权衡目标,希望他们基于浏览器的实验能够完全匹配实验设计和程序。在本文中,我们根据新的网络标准提供的功能,审查和测试了一些由网络浏览器供应商建议的最佳实践,以优化具有高分辨率定时要求的基于浏览器的行为实验中的动画。我们使用专门的硬件进行了四项研究,以确定两种不同方法的准确性和精度。结果表明,在关闭 GPU 加速的情况下,使用网络浏览器中的 CSS 动画(方法 1)会产生依赖于浏览器和操作系统组合的偏差。在最新版本的 GPU 加速网络浏览器上进行的测试结果表明,CSS 动画中没有帧丢失。使用 requestAnimationFrame(方法 2)而不是 CSS 动画进行的许多测试中也是如此,但并非所有测试都是如此。许多研究人员并不知道,网络浏览器的供应商实施了复杂的技术,导致定时质量降低。因此,对定时依赖程序感兴趣的行为研究人员在开发基于浏览器的实验时应该谨慎,并测试整个实验设置(网络应用程序、网络浏览器、操作系统和硬件)的准确性和精度。

相似文献

1
Best practices: Two Web-browser-based methods for stimulus presentation in behavioral experiments with high-resolution timing requirements.最佳实践:两种基于网络浏览器的刺激呈现方法,用于具有高分辨率时间要求的行为实验。
Behav Res Methods. 2019 Jun;51(3):1441-1453. doi: 10.3758/s13428-018-1126-4.
2
jsPsych: a JavaScript library for creating behavioral experiments in a Web browser.jsPsych:一个在网页浏览器中创建行为实验的 JavaScript 库。
Behav Res Methods. 2015 Mar;47(1):1-12. doi: 10.3758/s13428-014-0458-y.
3
Psychophysics in a Web browser? Comparing response times collected with JavaScript and Psychophysics Toolbox in a visual search task.网络浏览器中的心理物理学?在视觉搜索任务中比较使用JavaScript和心理物理学工具箱收集的反应时间。
Behav Res Methods. 2016 Mar;48(1):1-12. doi: 10.3758/s13428-015-0567-2.
4
Realistic precision and accuracy of online experiment platforms, web browsers, and devices.在线实验平台、网络浏览器和设备的真实精度和准确性。
Behav Res Methods. 2021 Aug;53(4):1407-1425. doi: 10.3758/s13428-020-01501-5. Epub 2020 Nov 2.
5
Reaction time effects in lab- versus Web-based research: Experimental evidence.实验室研究与基于网络的研究中的反应时间效应:实验证据。
Behav Res Methods. 2016 Dec;48(4):1718-1724. doi: 10.3758/s13428-015-0678-9.
6
JavaScript Access to DICOM Network and Objects in Web Browser.JavaScript 访问 Web 浏览器中的 DICOM 网络和对象。
J Digit Imaging. 2017 Oct;30(5):537-546. doi: 10.1007/s10278-017-9956-7.
7
Precise display time measurement in JavaScript for web-based experiments.在基于网页的实验中,使用 JavaScript 进行精确的显示时间测量。
Behav Res Methods. 2023 Apr;55(3):1079-1093. doi: 10.3758/s13428-022-01835-2. Epub 2022 May 17.
8
Gorilla in our midst: An online behavioral experiment builder.潜伏在我们中间的大猩猩:一个在线行为实验构建器。
Behav Res Methods. 2020 Feb;52(1):388-407. doi: 10.3758/s13428-019-01237-x.
9
The timing mega-study: comparing a range of experiment generators, both lab-based and online.时机大研究:比较一系列实验生成器,包括基于实验室的和在线的。
PeerJ. 2020 Jul 20;8:e9414. doi: 10.7717/peerj.9414. eCollection 2020.
10
Presentation and response timing accuracy in Adobe Flash and HTML5/JavaScript Web experiments.Adobe Flash和HTML5/JavaScript网络实验中的呈现与响应时间准确性。
Behav Res Methods. 2015 Jun;47(2):309-27. doi: 10.3758/s13428-014-0471-1.

引用本文的文献

1
Dropout analysis: A method for data from Internet-based research and dropR, an R-based web app and package to analyze and visualize dropout.失访分析:一种用于基于互联网研究数据的方法以及dropR,一个用于分析和可视化失访情况的基于R的网络应用程序和软件包。
Behav Res Methods. 2025 Jul 18;57(8):231. doi: 10.3758/s13428-025-02730-2.
2
Virtual Reality experiments in the field.虚拟现实领域实验
PLoS One. 2025 Apr 8;20(4):e0318688. doi: 10.1371/journal.pone.0318688. eCollection 2025.
3
One direction? Cultural aspects of the mental number line beyond reading direction.
一个方向?心理数字线的文化方面超越了阅读方向。
Psychol Res. 2024 Dec 23;89(1):37. doi: 10.1007/s00426-024-02038-4.
4
Probing sustained attention and fatigue across the lifespan.探究贯穿一生的持续注意力和疲劳。
PLoS One. 2024 Jul 17;19(7):e0292695. doi: 10.1371/journal.pone.0292695. eCollection 2024.
5
Meta-analysis in a digitalized world: A step-by-step primer.在数字化世界中的荟萃分析:一步步入门指南。
Behav Res Methods. 2024 Oct;56(7):1-21. doi: 10.3758/s13428-024-02374-8. Epub 2024 Apr 4.
6
Methodological considerations for behavioral studies relying on response time outcomes through online crowdsourcing platforms.通过在线众包平台依赖反应时间结果的行为研究的方法学考量。
Sci Rep. 2024 Apr 2;14(1):7719. doi: 10.1038/s41598-024-58300-7.
7
Can we measure individual differences in cognitive measures reliably via smartphones? A comparison of the flanker effect across device types and samples.我们能否通过智能手机可靠地测量认知测量中的个体差异?不同设备类型和样本的侧抑制效应比较。
Behav Res Methods. 2023 Jun;55(4):1641-1652. doi: 10.3758/s13428-022-01885-6. Epub 2022 Jun 16.
8
Precise display time measurement in JavaScript for web-based experiments.在基于网页的实验中,使用 JavaScript 进行精确的显示时间测量。
Behav Res Methods. 2023 Apr;55(3):1079-1093. doi: 10.3758/s13428-022-01835-2. Epub 2022 May 17.
9
Running Online Behavioral Experiments Using R: Implementation of a Response-Time Decision Making Task as an R-Shiny App.使用R语言运行在线行为实验:将反应时间决策任务实现为R-Shiny应用程序
J Cogn. 2022 Jan 7;5(1):9. doi: 10.5334/joc.200. eCollection 2021.
10
Remote Research Methods: Considerations for Work With Children.远程研究方法:与儿童合作的注意事项
Front Psychol. 2021 Oct 28;12:703706. doi: 10.3389/fpsyg.2021.703706. eCollection 2021.