Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan S committed Aug 25, 2016
1 parent 03f960c commit 62eccc3
Show file tree
Hide file tree
Showing 138 changed files with 35,911 additions and 44 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: csharp
solution: mzLib.sln
install:
- nuget restore mzLib.sln
- nuget install NUnit.Console -OutputDirectory testrunner
script:
- xbuild /p:Configuration=TestAndReleaseNoThermo mzLib.sln
- mono ./testrunner/NUnit.ConsoleRunner.*/tools/nunit3-console.exe ./Test/bin/Release/Test.dll
59 changes: 59 additions & 0 deletions Benchmark.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
At compile time, date and time:
Thu 08/25/2016 14:29:21.84


At compile time, git show was:
03f960c47d2af5b1415d6b22fceea992d441817e


At compile time, git status was:
On branch master
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

modified: ../../../mzLib.sln
deleted: ../../../mzLib/Class1.cs
deleted: ../../../mzLib/Properties/AssemblyInfo.cs
deleted: ../../../mzLib/mzLib.csproj

Untracked files:
(use "git add <file>..." to include in what will be committed)

../../../.README.md.swp
../../../.travis.yml
../../
../../../LICENSE
../../../README.md
../../../Test/
../../../TestThermo/
../../../mzLib/Chemistry/
../../../mzLib/MassSpecFiles/
../../../mzLib/MassSpectrometry/
../../../mzLib/Proteomics/
../../../mzLib/Spectra/
../../../mzLib/UsefulProteomicsDatabases/

no changes added to commit (use "git add" and/or "git commit -a")


Starting benchmark BenchmarkFormula
Time for getting formulas: 00:00:00.0269268
Benchmark BenchmarkFormula finished

Starting benchmark BenchmarkFormula2
Time for creating and getting formulas: 00:00:03.1089110
Benchmark BenchmarkFormula2 finished

Starting benchmark BenchmarkTimeGettingElementFromPeriodicTable
Time for getting by atomic number: 00:00:02.9504046
Time for getting by atomic symbol: 00:00:05.4800163
Benchmark BenchmarkTimeGettingElementFromPeriodicTable finished

Starting benchmark BenchmarkGettingIsotopes
Time for getting isotopes1: 00:00:02.2002061 a = 60000000
Benchmark BenchmarkGettingIsotopes finished

Starting benchmark BenchmarkIsotopicDistribution
Time for generating isotopic distributions: 00:00:49.4847722 a = Chemistry.ChemicalFormula
Benchmark BenchmarkIsotopicDistribution finished
6 changes: 6 additions & 0 deletions Benchmark/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
</configuration>
111 changes: 111 additions & 0 deletions Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1B73064F-F8F8-44BE-9BDA-986A543DD72A}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Benchmark</RootNamespace>
<AssemblyName>Benchmark</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<OutputPath>bin\Debug\</OutputPath>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5.1">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5.1 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="show.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="status.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="buildDate.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mzLib\Chemistry\Chemistry.csproj">
<Project>{cbe368bb-fc84-458d-8099-87a63d17aa3b}</Project>
<Name>Chemistry</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>"C:\Program Files\Git\bin\git.exe" status &gt; "$(ProjectDir)\status.txt"
"C:\Program Files\Git\bin\git.exe" rev-parse HEAD &gt; "$(ProjectDir)\show.txt"
echo %25date%25 %25time%25 &gt; "$(ProjectDir)\buildDate.txt"</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading

0 comments on commit 62eccc3

Please sign in to comment.