M1 primary view: wx-rs patched+extended (Linux/GTK3 build, widget bridge), vendored wx 3.3.3 + asic-rs in thirdparty/, UI-SPEC table+KPIs+dialogs, build scripts
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: tests/benchmarks/datetime.cpp
|
||||
// Purpose: wxDateTime benchmarks
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2011-05-23
|
||||
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/datetime.h"
|
||||
|
||||
#include "bench.h"
|
||||
|
||||
BENCHMARK_FUNC(ParseDate)
|
||||
{
|
||||
wxDateTime dt;
|
||||
return dt.ParseDate("May 23, 2011") && dt.GetMonth() == wxDateTime::May;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user